How to disable search function

How can I remove search function (website.com/?s=) in WordPress? Add this script to your functions file or plugin: <?php /** * Redirect Search to … [+]

How to get a parent page name

Is there an easy way to retrieve the name of the parent page of a WordPress page? Add this code to your plugin or functions file: <?php /** * Get … [+]

Redirect 404 Error to another page

How can I redirect all or part of the error pages to another page? Website will generate a “404 Not Found” web page when a user attempts … [+]

Remove all comments in source code

How can I remove all comments from source code? Whether for performance reasons (less lines of code) or confidentiality reasons (hiding commented … [+]

Minify HTML output

How can I minify my html code? Minification strips a code file of all data that isn’t required in order for the file to be executed. Minified files … [+]

Remove panels from the dashboard

How can I remove panels from the WordPress Dashboard? To remove all panels, add this code to your functions.php file /** * Remove all panels from … [+]