0
votes
0answers
50 views

Wordpress Page doesn't load the template selected

I've created a new page called Work and I've added it on the navigation bar; after that I've created a file called work.php in which I want to style the page mentioned above. The problem is that the ...
0
votes
0answers
23 views

WP Template Hierarchy - Need help choosing the correct templates

Please see this image to get a better understanding of what I would like to achieve. Please pay attention to point #3 and #4 (notice the permalink structure). The "Homepage" is static ...
0
votes
1answer
77 views

Using index.php as page template

When you put a name at the top of your index.php like: <?php /* Template Name: Blog Template */ ?> it will work for front-page and it will also create a new page template. I'm wondering if ...
1
vote
1answer
142 views

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'); ...
1
vote
1answer
3k views

Is there a default template file for child pages / subpages?

This seems like a very simple question. I'm looking for something like sub-page.php or page-child.php where I can do some different things on the child pages of my theme. They are different enough ...
0
votes
1answer
356 views

anchor tag in header not working on other pages except the home page

I have a anchor tag that wraps around my logo image that takes you back to the home page using the following <a href="<?php bloginfo('url'); ?>"><img src="<?php ...