• dyerwrites

    (@dyerwrites)


    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.

Viewing 5 replies - 1 through 5 (of 5 total)
  • esmi

    (@esmi)

    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.

    Thread Starter dyerwrites

    (@dyerwrites)

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

    By calendar I mean the little red calendar and the date beside it on this page, https://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.

    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.

    Thread Starter dyerwrites

    (@dyerwrites)

    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?

    Have a look at templates/page.php then.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Remove calendar from pages, not from posts’ is closed to new replies.