• Resolved ilona_divinity

    (@ilona_divinity)


    Does anyone know how to get rid of the date appearing on the page when I make a post/page?

    I have quickly put up a post (as the homepage) But it shows the date – I don’t want this as it isn’t being used for a blog but an information site – with the pages being updated if anything, not dated updates.

    I don’t want the date showing but not sure what to get rid of to disable this.

    Cheers for any advice ??

Viewing 4 replies - 1 through 4 (of 4 total)
  • You mention page here, but I suspect you mean the date for the POST…

    If you look in the file being used — index.php or category.php, depending upon how you are getting to it – you can comment out the part calling the date by placing // in front of //the_time or by wrapping the entire line with php comments

    <?php /*?>commented out stuff here<?php */?>

    This is the bit that adds the time and author in the default theme… if you are using a custom theme, it could look different than this, but look for these functions.

    <small><?php the_time('F jS, Y') ?> <!-- by <?php the_author() ?> --></small>

    Thread Starter ilona_divinity

    (@ilona_divinity)

    Yes I did mean post lol, I have used a post under a category for the home page – and your advice worked a treat! It has disappeared ??

    I just added // infront of the_time

    Thank you very much.

    you are welcome! BTW, please mark your post here as resolved.

    Thread Starter ilona_divinity

    (@ilona_divinity)

    Haha cheers again, I had noticed that before but wasn’t sure how to do it – just found out. Cheers!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Viewing the date when making a post’ is closed to new replies.