Code-Snippet

Change Default WordPress Logout URL to a Custom URL

WordPress themes and plugins output default logout URLs in many parts of your website like contents, comments, widgets, etc. You might want to replace or customize the output of the default logout URL if you have custom access rules for your WordPress login page. There’s a filter available in WordPress core called logout_url to make […]

How to Add Code Snippets to a WordPress Site?

In our WordPress tutorials, we often ask users to add code snippets to the WordPress site. You may find it difficult to do this task especially if you are not experienced at adding code snippets. A small mistake can crush your website and it can have a heavy price. In this tutorial, we’ll teach you […]

Replace Default WordPress Login URL w/ a Custom URL

WordPress themes and plugins output default login URL wp-login.php in many parts of your website like contents, comments, widgets, etc. You might want to replace or customize the output of the default login URL, especially if you have a custom login URL for your WordPress site. There’s a filter available in WordPress core called login_url […]

How to Remove Yoast SEO Meta Tags from Page(s)?

Yoast SEO is the most popular WordPress SEO plugin. This plugin adds meta tags on a page to optimize the page on different platforms like Search Engines, Facebook, Twitter, etc. Those meta tags actually decide how your website looks on those different platforms. Although every meta tag has unique functionality, sometimes you might want to […]

How to Make Admin Comments Become Authors in WordPress?

If you’re a WordPress administrator, you should hide your username. This is the best security practice not to allow anyone to steal admin username. WordPress assign admin posts/pages and comments with an HTML class. That’s why, you shouldn’t publish posts/pages and admin comments under admin account. It increases the risk that hackers will gain admin […]