• On some templates (like WordPress Classic, for instance) Pages have the date and also the default category on them. How do I remove date and category from Pages?

    Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • You have to dig into the php for the page in question. You’ll see the call in the php for the date or the category. I see you’re using a customized style based on a style based on a style. So…I’d not be able to tell you which file to look in.

    If you are referring to an actual page, like one you create, as opposed to a single-post page, it could be in a file called page.php.

    All depends on how the theme is set up. You might want to contact the creator.

    Thread Starter Gymshoes

    (@gymshoes)

    Thanks for the reply! The style I’m using isn’t the one I’m asking about…I’m working on a style for another site. I’ll probably just end up going with a theme that already doesn’t display the date and category.

    If a Page displays category, date and other stuff that is meant for posts… it means Pages are displayed by the index.php file. See Template_Hierarchy.
    If you want a different look – you should create another template file in the theme, called page.php and WP will know to use it when displaying Pages. Start with saving your index.php as page.php and edit out/add to make as you’d like it.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Removing Date and Category from Pages ?’ is closed to new replies.