Forums

[resolved] Pages and Categories Problem (3 posts)

  1. threedogmoon
    Member
    Posted 3 years ago #

    Hello all. I'm having a problem with how pages are handled regarding the default category.

    I don't really want pages categorized, but when I create a page it is automatically thrown into the default category for posts(Film Photography in this case). This doesn't make sense for pages like a contact page or about page. Is there any solution to this problem?

    My site is threedogmoon.com and you can see what I mean if you click on any page. I suspect a coding change on the index.php file for my theme could fix it, but I have no idea how to make that change. Thanks!

  2. moshu
    Member
    Posted 3 years ago #

    Yeah. Your page template (page.php) should NOT have those things displayed. Bad code on behalf of the theme author.

    If you don't have a page.php template file - save your theme's index.php as page.php and edit/delete as you want it. WP will acknowledge its presence and will use it for Pages.
    See also Template_Hierarchy

  3. threedogmoon
    Member
    Posted 3 years ago #

    Thank you so much, that worked perfectly. Now the posts have the categories, author, and date...and the pages have none of that info. The help was very much appreciated!

    Anthony

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.