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
When you need to add a shortcode to a Text Widget, you may find that this appears literally rather than showing the shortcode content.
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.