Quote:
Originally Posted by Angry Jew Cat
Code:
<?php if (is_home('')) : ?>
include this shit only on index page
<?php endif; ?>
<?php if (is_category('category-one') ) : ?>
include this shit only on category with category slug "/category-one/"
<?php endif; ?>
conditional includes are much more flexible than just these examples and you can lookup more info on codex.wordpress.org
|
but then it still shows up on page 1,2,3 etc
then i tried this and almost had it, but nothing shows
Code:
<?php if (is_home ('') and is_page ('')) : ?>
include this shit only on index page
<?php endif; ?>