WordPress.org

Ready to get started?Download WordPress

Forums

Pages Appear As Posts (4 posts)

  1. Velanche
    Member
    Posted 6 years ago #

    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.

  2. ninjaboy
    Member
    Posted 6 years ago #

    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

  3. Velanche
    Member
    Posted 6 years ago #

    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.

  4. Velanche
    Member
    Posted 6 years ago #

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

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags