Viewing 3 replies - 1 through 3 (of 3 total)
  • You don’t navigate directly to a category template file. It’s applied automatically to the relevant category listing page – in this case, the category with the id 3. So just use the standard link to that category.

    However, if you’re using WP as a CMS, you might want to consider sticking to Pages and child Pages. With custom page templates, if necessary.

    Thread Starter cowanservices

    (@cowanservices)

    What would the standard link to category 3 be? Also, what if I added a slug, so category 3 should now be category_about.php. Shouldn’t I be able to go directly to that page?

    Also, the information on the home page is coming from category 4 instead of uncategorized content.

    https://lovekidneys.com/beta/

    Thanks in advance.

    Lisa

    What would the standard link to category 3 be

    https://lovekidneys.com/beta/?cat=3
    The middle link on your top nav menu: “About Kidney Disease”

    Shouldn’t I be able to go directly to that page?

    The key word to remember here is “template”. The php files in your theme are frameworks for your content, They’re not meant to be accessed directly.

    Also, the information on the home page is coming from category 4 instead of uncategorized content.

    Then move it to the appropriate category.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Category Theme Template Not Working’ is closed to new replies.