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 […]
Filter the wp_categories_dropdown function by a specific post type.
Extend your WordPress website with access to weather data from Forecast.io with this helper class.
Use this little function to add images to Programmatically Add Images to Media Library in WordPress.
Use a simple custom walker to limit navigation sub-menu levels in WordPress, without removing the menu entries.
A bit of code to connect Gravity Forms to ACF Gallery field for front-end file uploads.
This little snippet allows you to selectively remove a post type (like pages) from the search results, without inadvertently excluding other post types.