Forum Replies Created

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

    (@rsramirez)

    Thanks! This is exactly the type of feedback I’m looking for. You might be right – I didn”t notice that since my pages and categories aren’t empty. If these lines guarded against empty cats/pages, I guess a side effect was restricting multiple calls, since when I removed the lines, I know can perform multiple calls.

    I’ll have to test if empty cats/pages show up; then this would be a drawback of my modification.

    Any other insight would be greatly appreciated.

    -rsramirez

    rsramirez

    (@rsramirez)

    i’m running into the same problem and searched the forums for this fix, so i suppose it hasn’t been addressed yet.

    i’ve come up with the following with the following workaround:

    in wp-includes/template-functions-category.php search for
    $extra_fields = 'cat_name, category_nicename, category_description,';

    and afterwards place the following:

    if ($child_of != 0) {
    $extra_fields = 'cat_name, category_nicename, category_description,category_parent,';
    }

    seems to work so far…

Viewing 2 replies - 1 through 2 (of 2 total)