26
Jun

How to update the plugin manually

At Barn2, we continually work to improve our plugins. This includes adding new features, bug fixes, and ensuring compatibility with new versions of WordPress and WooCommerce.…

Read More →

19
Jun

How to change the submit button to a <button> element

By default, the plugin uses a <input type="submit" /> element for the category password login form's submit button. If you want to change this for a…

Read More →

24
Mar

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 →

17
Aug

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
13
Dec

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 →

23
Dec

Plugins: modify or write from scratch?

We're often contacted by clients who've found a WordPress plugin that almost meets their needs, but just needs a few changes to make it work in…

Read More →