While working on an eCommerce project the design called for using Font Awesome icons for the Grid/List Toggle button. If you aren’t familiar with James Koster‘s plugin, it’s great – I highly recommend it. What I needed was a way to modify the basic toggle button output. The output wasn’t initially filterable, so I submitted […]
Category (Taxonomy) Dropdown Filtered By Post Type
Filter the wp_categories_dropdown function by a specific post type.
A Better Way to Exclude Pages from Search Results
This little snippet allows you to selectively remove a post type (like pages) from the search results, without inadvertently excluding other post types.