Code Snippets

Extending your Genesis theme with add_theme_support

If you build WordPress themes you’ll already be familiar with enabling features using add_theme_support. This function provides an easy means to enable optional features on a per theme basis – WordPress’ custom logo, custom background, title tag support and many more. It can also be used to extend your theme with custom functionality, and that’s […]

How to filter the FacetWP Google Maps options

This morning I was helping to work out some issues with a site using FacetWP and came across a useful filter contained within the Facet WP Google Maps addon. Documentation for the Google Maps addon is a little sparse at the moment, so I thought it would be helpful to highlight the facetwp_map_init_args filter, which […]