Tagged Questions
0
votes
1answer
42 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
2answers
59 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
675 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
214 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 ...