[resolved] Category pointing to wrong template (2 posts)

  1. slb535
    Posted 4 years ago #

    I am stymied. I have a category template. All of my category pages are pointing to the correct template except for one.

    Correct Template: http://crowisland36pto.org/category/programsevents/
    (note big TESTING in left grey sidebar)

    Not Correct Template: http://crowisland36pto.org/category/parents_resources/

    I can't even figure out which template that other one is pointing to. I don't have any custom category templates. (I have two single custom templates but not within this category)

    A related problem -- the single page it's pointing to seems to be incorrect as well.
    this should have the featured image on the right side and it doesn't.

    Again the only time these issues are occurring are with this one category.

    While I'm not necessarily expecting an answer, can anyone advise on a way to figure out what's going on? I would be very grateful.

  2. slb535
    Posted 4 years ago #

    Figured it out. It was because of this text at the top of my category page:

    if (file_exists(TEMPLATEPATH."/single-$currentcat".".php")) {
    } else {

Topic Closed

This topic has been closed to new replies.

About this Topic