• How do I hide the date on my template for inner pages? I want them on my home page but I would like them off on the inner pages.

Viewing 8 replies - 1 through 8 (of 8 total)
  • inner pages as in single.php?

    just comment the code out.

    <!--<?php the_time('F jS, Y') ?>-->

    Thread Starter jpconcepts

    (@jpconcepts)

    Ok I’m new to WordPress and after getting frustrated with the Blix theme and the Default theme, I decided to base my theme off the classic and so far it’s turning out great. The classic theme does not have the single.php page though. Any clues on how to add this?

    Copy index.php to single.php.

    Just to clarify…

    Copy the entire contents of your index.php and rename it single.php. Open it up and comment out the date tag andn save. Upload this new template to YOURCURRENT THEME via FTP

    Now all posts will use this single.php template for “inner pages” as in single post view, without date showing.

    Edit: Huh? I only typed FTP – there’s no url anywhere to be seen. What gives?

    Ahhhh.. A full stop magically changed simple words into a URL. Well, I deleted the fullstop and all is safe in the world once more. Interesting.

    Thread Starter jpconcepts

    (@jpconcepts)

    Ok I did this but it still uses the index.php for single post. How do I tell it to use the single.php?

    Thread Starter jpconcepts

    (@jpconcepts)

    Anyone?

    Thread Starter jpconcepts

    (@jpconcepts)

    I’m not trying to be a pain in the butt, but I’ve had some post on this site that have gone unanswered and I don’t want this post to be unanswered.

    Try this plugin:
    http://guff.szub.net/2005/07/21/post-templates-by-category/

    description: Use custom single post templates for specified categories

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Hiding the Date’ is closed to new replies.