This snippet of code is very useful when creating sub navigation in WordPress. It allows you to check if a page is a child of a specific page.
- WordPress Plugins
Using get_the_content() instead of the_content() function in your theme, to modify the content before displaying it on the website but the output is different when using the_content(). WordPress get_the_content() does not run its formatting functions.
The Events Calendar plugin developed by modern tribe is brilliant plugin that can be used to manage all sorts of event on a WordPress website. This article will demonstrate how to query custom post types using the Events Calendar Plugin.
When developing a single page website, allowing the client to customise each individual section of the page by editing them as sub-page. Once this was working, a problem appeared when testing the search box by all these pages showing up in the results. This article will explain how to tailor WordPress search results.