Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter Bob

    (@bobschecter)

    Oh my, even on the top level category, it will not allow you to revert back to the default. You can change it to other page templates, but you cannot get back to the default.

    Sorry, this one is a FAIL.

    You have to edit wp-content/plugins/custom-category-template/category_template.php

    Find:

    if ( isset( $_POST['cat_template'] ) &&  $_POST['cat_template'] != 'default' ) {

    Replace With:

    $cat_meta = get_option( "category_templates");
    $cat_template_name = $cat_meta[$term_id];
    if ( isset( $_POST['cat_template'] ) &&  $_POST['cat_template'] != $cat_template_name ) {

    Then it will work properly.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: Custom Category Template] Not with sub categories’ is closed to new replies.