Trouble with is_home command
-
Hello I’m having trouble using this command (and a couple variations i tried) to add content to only the front page of my blog via index.php (posts not static page). No matter what i try, the content always ends up on every page.
<?php if (is_home()) : ?>
Homepage only content
<?php endif; ?>Have used this with other blogs fine but not working well for me with Twenty Thirteen. Any advice would be helpful.
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘Trouble with is_home command’ is closed to new replies.