How to Test and Interpret WordPress Site Performance with Jon Brown — Do Go Chasing Waterfalls
I use a few premium WordPress plugins regularly as part of my work. Rather than rely on keeping the licence key in the database (via the relevant plugin’s WordPress admin settings screen), I generally prefer to add the licence key as a constant to a (non git committed) wp-config.php file. This way I don’t have […]
Once you start developing more with WordPress you’ll probably find yourself using add_filter to add, modify or remove data. When modifying some text you might do something like the following simple example. View the code on Gist. Sometimes you’ll want to remove text too. View the code on Gist. However, you might not be aware (or […]
You might find yourself in the situation where you need to get the menu items for a particular WordPress menu without grabbing the whole menu markup (for example, the nav part) itself or maybe you just want get the menu items data to output in your loop elsewhere. Render the menu items without the nav In […]
Sometimes you know that you want a WordPress menu associated with a particular menu location, but you don’t know for sure which menu is associated with that location. To find out which menu it is (I typically want to know the slug) you can do something like the following. View the code on Gist.