Support » Fixing WordPress » Category pointing to wrong template

Viewing 1 replies (of 1 total)
  • Figured it out. It was because of this text at the top of my category page:

    if (file_exists(TEMPLATEPATH.”/single-$currentcat”.”.php”)) {
    include(TEMPLATEPATH.”/single-$currentcat”.”.php”);
    } else {

Viewing 1 replies (of 1 total)
  • The topic ‘Category pointing to wrong template’ is closed to new replies.