A collection of useful snippets to help when customising a Wordpress Search Results Page.
- WordPress Plugins
This snippet of code shows you how to change the structure of your WordPress URL’s from /your-post-slug to /blog/your-post-slug without changing other post types URL, by creating a rewrite rule and modifying the output of the_permalink() and get_permalink().
This article explains how to change Wordpress’s output of wp_nav_menu() by creating a custom menu walker to output only a section of one of your wordpress menus.
This article explains how-to create a custom post status, populating the post status drop down menu with your status giving you the ability to change post status from the wordpress post editor seciton.
Want to stop a certain plugin from being updated by a client, maybe the last release of the plugin before a major update change.
Using get_the_content() instead of the_content() function in your theme, to modify the content before displaying it on the website but the output is different when using the_content(). WordPress get_the_content() does not run its formatting functions.