I’m really confused with index.php, home.php and front-page.php. In many cases even though I had […]
Tag: template-hierarchy
is_archive() content being shown instead of is_category()
My Issue: If I browse to http://mysite/category/mycategory, the if (is_category()) content isn’t displayed, the if(is_archive()) […]
What is the point of using archive.php instead of index.php?
Dumb Questions Ahead: If index.php and archive.php are practically the same thing, what’s the point […]
Single page site with history.js
I’m developing a single page site that shows each page on the front page, like […]
CPT Template Not Showing – Getting 404
I’m developing a Custom Post Type plugin, which works fine in dev. Now that I’ve […]
Custom Post Type Plugin: Where Do I Put The Template?
I’m writing a custom post type plugin. Part of it I’m outputting to the template […]
What should I put on my index.php?
I had covered basically all the pages listed in the Template Hierarchy: 404_template archive_template author_template […]
How can a Theme Contain no Header File or Footer File?
Some themes that I have seen such as the (famous) thesis or even a few […]
is_home() returns TRUE on page template
I’m wondering why my link: http://localhost/?page_id=3433 returns TRUE on is_home() usage: if(is_home()){ var_dump(is_home()); die(‘test’); } […]
Categories Template Assistance
I have found a tutorial online for creating a custom categories template for my archived […]
No More Posts Available.
No more pages to load.