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.
Weather in WordPress with Dark Sky
Extend your WordPress website with access to weather data from Forecast.io with this helper class.
Programmatically Add Images to Media Library
Use this little function to add images to Programmatically Add Images to Media Library in WordPress.
Limit Navigation Sub-Menu Rendering Levels in WordPress
Use a simple custom walker to limit navigation sub-menu levels in WordPress, without removing the menu entries.
Connect Gravity Forms File Upload to ACF Gallery Field
A bit of code to connect Gravity Forms to ACF Gallery field for front-end file uploads.
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.