Forums

/?cat= links not filtering... (7 posts)

  1. joaociocca
    Member
    Posted 1 year ago #

    I have no idea what's happening on my blog installation. A friend told me to check it out, no /?cat= link will work - and so, no category plugin will work either.

    Check out http://www.proveisso.net/ and http://www.proveisso.net/?cat=3, it shows up exactly the same thing. If anyone need, a list of installed plugins is available at http://www.proveisso.net/?page_id=443 - the only plugin not showing is "creative commons license widget"

    Any ideas?

  2. alchymyth
    The Sweeper
    Posted 1 year ago #

    what is the code of your themes category.php?
    (please paste the code into a http://wordpress.pastebin.com/ and post the link to it here)

    (or whatever template shows the category pages: http://codex.wordpress.org/Template_Hierarchy )

  3. joaociocca
    Member
    Posted 1 year ago #

    there is no category.php file on my theme. at least none that I could find.

    (edit) Checking out the hierarchy you linked, it seems that is the problem. Since the theme doesn't have a category.php, it shows archive.php...

  4. esmi
    Theme Diva & Forum Moderator
    Posted 1 year ago #

    Then your issue will be in your theme's archive.php file.

  5. joaociocca
    Member
    Posted 1 year ago #

    The archive.php should have some kind of "if is_category", since category.php doesn't exist? (no, I haven't checked it yet)

  6. esmi
    Theme Diva & Forum Moderator
    Posted 1 year ago #

    No. WP is designed to fall back to archive.php if there is no category.php template. To over ride this, you'd need to create a category.php template file. An easy way to start is to simply make a copy of archive.php and rename the copy category.php. Then start editing the new template file.

    Reviewing Category_Templates might help if you want to develop your new template file.

  7. joaociocca
    Member
    Posted 1 year ago #

    I'll look into it! Thanks Theme Diva ;)

Topic Closed

This topic has been closed to new replies.

About this Topic