WordPress.org

Support

Support » How-To and Troubleshooting » [Resolved] Category pointing to wrong template

[Resolved] 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 ‘[Resolved] Category pointing to wrong template’ is closed to new replies.
Skip to toolbar