Skip to content

The WordPress Plugin Boilerplate 101: How to Get Started

Since the inception of WordPress plugins many years ago not a lot has changed in the way we write them. There's a main plugin file with a header followed by the Wild West basically. Apart from using hooks, there is no standardized way of making plugins. In this article, we'll look at one possible solution - WordPress Plugin Boilerplate. It is meant to be a starting point for plugin development, an object oriented way of creating a standardized plugin.

(read more)

Here’s How to Retrieve Any Post You Want With WP_Query

featured image

If you’ve built simple themes in the past, chances are the need to retrieve posts on your own didn’t arise. After all, WordPress loads the most recent 10 posts on the main page and the correct posts on archive pages. What about more complex scenarios? What if you would like a sitemap of sorts and you want to list all your posts and pages ordered by date?

(read more)