I’ve had a look around already but couldn’t find an answer to this. Is there […]
Tag: page-template
Create built-in pages without creating actual pages
For example: site.com/contact (or site.com/?page=contact if not using permalinks) when someone goes to that page […]
How do I add a body class to specific pages?
Here is what I have so far in my functions.php. add_filter(‘body_class’,’cp_new_body_classes’); function cp_new_body_classes($classes) { if( […]
WordPress keeps fetching the archive page instead of the template page
I have a template set up and I’ve created a page in WordPress and have […]
using the loop with a custom table
I have a table in my WordPress db called wp_featuredposts. How can I make a […]
Adjust which tempalte a page uses with a function?
I know if I had a page that had a permalink such as /stories/ then […]
How can I dynamically load another page template to provide an alternate layout of the posts?
I have a page that displays posts (4 on each row), with a thumbnail image […]
Adding the Admin Bar to a page with a custom template
I created a stripped-down page template to use for my landing pages. But I must […]
How to get taxonomy term of the current page and populate queries in the template
I’ve been stumbling around trying to figure out how to get a specific taxonomy term […]
How to override Category rendering mechanism
Currently for every category there is a separate template (category-1.php, category-2.php, etc..), in my case […]
No More Posts Available.
No more pages to load.