Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #197089

    Hello!

    I need some help hiding some items showing in the category taxonomy below a blog post title, and cannot find where it is being set.

    The page is here if you want to see what I am referring to:

    http://www.mosfoundation.org/barbados-turtles/

    So, below is the copy of the lines from below the photo in the post and I have bolded the two elements that I need to remove. They are actually the users who have touched the post and they do not show in the category list for the post. I really do not want any users to ever show, other than the by and the authors name. Any ideas on how to hide these?

    Barbados Turtles

    November 29, 2013/0 Comments/in Featured Blog, News, Sustainability CapeHorn, MOSF /by MOSFoundation

    Thanks,

    Dave

    #197097

    Okay, I was able to fix it. I was using the wrong taxonomy id. If anyone has a comprehensive list of them, please share.

    Just add the following to the bottom of your functions.php in your child theme.

    /*—————————————————————————————————–
    masks the user id’s showing behind the categories list disappear
    ——————————————————————————————————-*/

    add_filter(‘avf_exclude_taxonomies’, ‘avia_exclude_tax’, 10, 3);
    function avia_exclude_tax($tax,$post_type,$id){
    $tax[] = ‘following_users’;
    return $tax;
    }

Viewing 2 posts - 1 through 2 (of 2 total)
  • The topic ‘Need some help hiding some fo the taxomamy below a blog post title.’ is closed to new replies.