Here's a tip and a question in one...
I use this bit of code quite a lot:
...which is all you need if you want to hard code some content into the home page which will not appear on any other page which uses the same template.Code:<?php if (is_home()) : ?> <h1>title</h1> <p>content</p> <?php endif; ?>
That works fine but it doesnt stop the content appearing on the other "older posts" pages. Does anyone know how or what codex i need to ensure that content only displays on the very top page?
For people that havent got that into hard coding on wordpress check this out: Conditional Tags wordpress Codex
Submit Your Article
Forum Rules

Reply With Quote