Navigation


List Custom Post Type Categories

The following will list the categories of a custom post type.

Code Credit to: http://www.paulund.co.uk/display-categories-of-a-custom-post-type


How to add a search form

Here is how to add a search form in WordPress. You can use the following code and it will load the default search box:

Or, you can use the following to customize your own search box


Display All Posts in a Drop Down

The following snippet will display all the WordPress posts in a dropdown list.


Add Elements to the Built in Menu

If you want to add an html element such as a span or strong tag to your native WordPress menu in or navigation here is a snippet for that. The following code replaces or modifies your existing code that links to your menu

For custom menus replace “Menu Name” […]