I need to
hide post headlines in PAGES
but
display post headlines in POSTS (single post and multi post)
I achieved this by using
Code:
display:none
To discriminate between posts and pages I will need to apply this CSS to the HTML element that aplies only to headlines in Pages
I can see code (below) this in functions.php but can't quite work out how the final class and id of a POST versus a PAGE headline will appear
Can anyone help me? - Thanks
Code:
<?php /* Post Container starts here */ if ( function_exists('post_class') ) { ?> <div <?php if ( is_page() ) { post_class('post'); } else { post_class(); } ?> id="post-<?php the_ID(); ?>"> <?php } else { ?> <div class="<?php echo ( is_page() ? 'page ' : '' ) . 'post" id="post-'; the_ID(); ?>"> <?php } ?>