This code snippet ensures that non-logged in users only see a holding page on your site. This assumes that the holding.php file exists in your theme folder – if not, the standard template hierarchy applies. Continue reading
Sometimes, you need to add shortcodes to a Text Widget. Fortunately you can do this easily by adding the do_shortcode function to the widgets by using a filter that you can hook into to do this. Continue reading
Adding a custom loop in order to load content from a different area of WordPress is fairly straight forward. For example, on a page you could load in some posts, another page or content from a Custom Post Type. You can do this inside another loop, or completely independently. To add a new loop, you need to create a new WP_Query. Continue reading
I’m working on a series of useful tutorials, when they’re available you’ll be able to find them here.