Forums

Remove calendar from pages, not from posts (6 posts)

  1. dyerwrites
    Member
    Posted 3 years ago #

    I want to remove the calendar that keeps the date the pages have been updated/published.

    I want to keep the calendar that says when the blog posts have been added.

    How do I do that?

    Thanks for the help.

  2. esmi
    Theme Diva & Forum Moderator
    Posted 3 years ago #

    When you say "calendar", do you mean a line displaying a date/time? Or a full-blown monthly calendar. Examples on your own site might help here.

  3. dyerwrites
    Member
    Posted 3 years ago #

    My website is http://www.dyerwrites.com.

    By calendar I mean the little red calendar and the date beside it on this page, http://www.dyerwrites.com/about, for example.

    I want to keep it to show that I've updated blog posts.

    I don't want it on the other pages, though.

    Thank you.

  4. esmi
    Theme Diva & Forum Moderator
    Posted 3 years ago #

    Try editing page.php. Look for the line:

    <span class="date"><?php the_time("F jS, Y");?></span>

    Get rid of the <span class="date"> and </span>. That should remove the calendar icon from your pages.

  5. dyerwrites
    Member
    Posted 3 years ago #

    This is all the code I see in page.php

    '<?php get_header(); ?>
    <?php include('templates/page.php'); ?>
    <?php get_footer(); ?>'

    Should there be more?

  6. esmi
    Theme Diva & Forum Moderator
    Posted 3 years ago #

    Have a look at templates/page.php then.

Topic Closed

This topic has been closed to new replies.

About this Topic