Support » Fixing WordPress » How can i remove the calendar icon from my posts/pages?

Viewing 7 replies - 1 through 7 (of 7 total)
  • A link to where the theme can be downloaded will help. Thanks.

    also, another question is, how can i only have SOME of the pages show under “pages” in the right sidebar, and not ALL of them?

    the same questions applied for in the header. i’d really just like to have SOME of the things show up there, but not every single one.

    In your theme’s index.php file you would delete this line to get rid of the calendar icon as you call it.

    <?php the_time('M'); ?><br /><span class="day"><?php the_time('d'); ?></span></div>

    and to get rid of the “Posted under”, delete:

    Posted under <?php the_category(', '); ?>

    Getting rid of ‘some’ of the Pages in your sidebar would require using the exlcude= parameter for the template tag, wp_list_pages(). So, in your theme’s sidebar.php file, change
    <?php wp_list_pages('title_li='); ?>
    <?php wp_list_pages('exclude=7,8&title_li='); ?>
    the above excludes page ID 7 and 8.

    And of course for Pages in the header, look at header.php and the use of wp_list_pages there.

    Editing Files
    Stepping Into Templates
    Stepping Into Template Tags

    Please make a backup of your files before changing things.

    i think for what i want to do, it might make more sense to ONLY INCLUDE the pages i want on both the sidebar and header rather than have to EXCLUDE the ones i don’t want. how can i do that?

    also….i removed those two sections from the theme’s index.php file, but it didn’t remove the calendar icon, nor the “posted under.” why might it not have? i definitely selected “update” after making the changes, and confirmed the pieces of code were gone.

    anybody on this one?

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘How can i remove the calendar icon from my posts/pages?’ is closed to new replies.