Querying posts by custom field using Advanced Custom Fields

Advanced Custom Fields is obviously a great plugin, but there are one or two things with it's API that could be made easier. For example, in…

Read More →


How to create a ‘fake’ WordPress post on the fly

Recently, while making updates to our WooCommerce Private Store plugin, I needed to find a way to create a WordPress page in code which doesn't exist…

Read More →


How to display a random post in WordPress – alternative method

Whilst making some small improvements to our website recently, I came across a small problem displaying a random post in WordPress. Background Our website has a custom…

Read More →

Read More
Screenshot showing how to disable comments by default in WordPress

How to disable comments by default for new pages in WordPress

Whilst developing our first WordPress theme, I came across a small problem regarding the 'Allow comments' option for Pages (not Posts or other post types). The…

Read More →