Support » Themes and Templates » Pages Appear As Posts

  • Hello:
    I have a new blog that I’m working on (http://www.atthespeedofme.com).

    I’ve played around with several themes so far. My problem is that I’m trying to create Pages, but each Page (ie About Me) includes the post date and a post category listing.

    Is there a way for me to fix this? Thanks so much.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Have a look at your theme files – inside your current theme folder you will probably find a document called ‘page.php’ – this is the file used to display ‘Pages’ (NOT POSTS!) – if you don’t have one you can usually just duplicate ‘index’php’ (depending on your theme), rename it ‘page.php’ and save and upload it to your server.

    Then just delve into the code and if you don’t want the date (and it shouldn’t show category if it is a page anyway) just look for something that looks like this:

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

    and

    Posted in <?php the_category(', ') ?>

    … then just delete these out of your new ‘page.php’ file and you should be sorted!

    JUST REMEMBER TO BACKUP YOUR THEME FIRST!! Have a go, you are going to find it very hard to break anything if you just stick to modifying theme files!

    Oh, you may also find this link helpful as it outlines what files get used where:

    http://codex.wordpress.org/Template_Hierarchy

    Much obliged, Ninjaboy. I’ll play around later and let you know how it turns out. Don’t think it’ll be that difficult, but good to know where to look.

    Thanks for the advice; works. Not sure if I’ll keep the theme, but at least I know what to do now.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Pages Appear As Posts’ is closed to new replies.