Viewing 7 replies - 1 through 7 (of 7 total)
  • You have to edit the single.php if you want the date to be removed from Post page. or page.php if its a Page.
    You can find something like <?php the_time(‘l, F jS, Y’) ?> (Depends on the template and date format.)
    Just remove that.

    With the help of the Template Hierarchy article, determine what Template is displaying your single posts (likely single.php) and then delete the template tag, the_time() (or the_date()).

    Related:
    Stepping Into Template Tags
    Stepping Into Templates

    Okay, while I was dozing, see that tamilsweet got there…

    Hi,

    To remove date and time you have to edit page.php file of the theme and remove date from that file..for further details you can get here:

    [spam link moderated]

    Thanks,

    Shane G.

    Thread Starter Heather

    (@heatherw_01)

    Would that remove the date from all pages though?

    I only want to remove it from one page.

    Yes, if you change your default page template, then that would delete it from all pages. To delete it form one page, you’ll need to create a new page template, remove it from that template, and then use that new template for the page without the date.

    Thread Starter Heather

    (@heatherw_01)

    I can’t quite figure out how to do this.

    If I need to create a new default page template, I haven’t got a clue how to do this.

    Isn’t there an easier way of removing the date from a single page?

    Thread Starter Heather

    (@heatherw_01)

    Sorted it!

    I created a new page.php and a new pagewithoutdate.php (I am using inove theme)

    All is great now!

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘How to remove date from 1 page’ is closed to new replies.