Forum Replies Created

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

    (@cerf)

    It works perfectly.

    Good work, Enfold with Polylang works great!

    Thanks

    Thread Starter cerf

    (@cerf)

    Hi this is the reply of Enfold author.

    Hi!

    If you want to remove the taxonomy from the category list on the top of a blog post you can use this code:

    add_filter(‘avf_exclude_taxonomies’, ‘avia_exclude_tax’, 10, 3);
    function avia_exclude_tax($tax,$post_type,$id){
    $tax[] = ‘following_users’;
    return $tax;
    }
    to remove it. Just insert the code at the very bottom of your child theme functions.php or paste it into enfold/functions.php if you don’t use a child theme. Replace “following_users” with the name of the taxonomy you don’t want to show in the category/term list. If you don’t know which taxonomy causes the output please ask the Polylang plugin author for more information.

    Thanks

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