I decided to use the Advanced Custom Fields Gallery field to show some images on a specific post type. Easy enough, but I wanted to set the featured image from the first gallery image, as there’s a performance hit involved … Continued
A woman’s right to choose is a cause I’m passionate about. These slides from WordCamp London 2015 describe why and how the Abortion Support Network – an organisation I volunteer for – helps Irish and Northern Irish women obtain terminations in … Continued
A little late, but here’s the link to my slides from WordCamp Birmingham 2015.
I’m sure you could also do this with pre_get_posts, but this works nicely, replacing post_class() within the article block. Could also be done with CSS :first-child of course.
The below is a collection of functions to alter address formatting in Gravity Forms. The built-in format isn’t very helpful if you’re in the UK, so this changes the labels and allows a “UK/Ireland” choice to be made in the … Continued
I prefer not to duplicate code, so this gist allows for moving DOM elements on window resize, at 768px.
A LESS mixin to calculate a width with a defined margin, vendor prefixed. Add a fallback in absolute size or %.
For this particular WordPress project, I needed to create a custom meta data field for users with Advanced Custom Fields, to allow them to upload their profile photo. I then created a team page, and wanted an easy way for … Continued
Any questions or things I misunderstood, please email or tweet! Here are the slides: DRY Theme Development