• Hi Support,
    Please help me hide the youzify_media and yzfes_media in the blog category because it shows in the Front end when choosing a taxonomy. I cannot delete them because the photos of the social media users will show in the Media Library which will be difficult to manage.

Viewing 15 replies - 1 through 15 (of 18 total)
  • Plugin Support Youzify

    (@kainelabsteam)

    Hello @alonagomez

    Thanks for reaching us

    Please try this snippet to hide it

    https://gist.github.com/KaineLabs/6191edb60ca9f5baba37216179b4505f#file-yzc_hide_media_category_from_wordpress-php

    Best Regards, KaineLabs Team.

    Thread Starter alonagomez

    (@alonagomez)

    I put the snippet in bp-custom.php and it do not work. Both youzify_media and yzfes_media in the post categories are visible in the back and front end. Please help me to fix it.

    Plugin Support Youzify

    (@kainelabsteam)

    Hello @alonagomez

    After add the snippet, you need to delete those categories manually from Menu Posts >> Categories.

    Best Regards, KaineLabs Team.

    Thread Starter alonagomez

    (@alonagomez)

    If I delete the 2 categories then the social media photos show in the Media Library and become difficult to manage. How we can fix this issue?

    • This reply was modified 2 years, 2 months ago by alonagomez.
    Plugin Support Youzify

    (@kainelabsteam)

    Hello @alonagomez

    Sorry, I really don’t understand. Can you explain it why deleting those categories will make media photos show in the Media Library and become difficult to manage? As the media that uploaded via Youzify environment is not stored on the Media Library.

    Best Regards, KaineLabs Team.

    Thread Starter alonagomez

    (@alonagomez)

    I did not change any configuration of Youzify and after deleting the 2 categories all photos are in the Media Library including from Youzify users.

    Thread Starter alonagomez

    (@alonagomez)

    Here are Youzify photos in the Media Library after deleting the 2 categories.

    https://www.yogile.com/xw2015pfjqz#21t

    Plugin Support Youzify

    (@kainelabsteam)

    Hello @alonagomez

    May I know what Youzify version do you use? As we fixed it in the last version/

    Best Regards, KaineLabs Team.

    • This reply was modified 2 years, 2 months ago by Youzify.
    Thread Starter alonagomez

    (@alonagomez)

    I am using the latest but still don’t work. After deleting the category it shows again after posting a photo in the Activity. Can we just hide it using CSS in the Front and Back End?

    Plugin Support Youzify

    (@kainelabsteam)

    Hello @alonagomez

    I just have an answer from our developer team. Actually, the youzify_media category is required to run media system on Youzify environment. Unfortunately, the categories that show on the back-end (admin dashboard) can not be removed.

    However, you can remove it that show on the front-end by using snippet I sent you previously.

    Best Regards, KaineLabs Team.

    Thread Starter alonagomez

    (@alonagomez)

    Hi, I just need to remove it in the front end but unfortunately the snippet do not remove it in the Taxonomy. Please check the Select Taxonomy on the URL below and fix it. Thanks.

    https://lenikiko.blog/add-blog/

    Plugin Support Youzify

    (@kainelabsteam)

    Hello @alonagomez

    I can see that you are using a front-end submission to publish a blog. Actually, it will require a new snippet to synced with another 3rd party plugin.

    Unfortunately the Free version limited for this. If you consider purchase a PRO version, you can submit a request regarding this via our Premium Support Forum and our agents will assist and create you a new snippet to achieve this.

    Best Regards, KaineLabs Team.

    Thread Starter alonagomez

    (@alonagomez)

    It is not related to the plugin. In the Blog page Category taxonomy the youzify_media still show. Just help me hide it using CSS. I can’t do it using display: none. Refer to https://pinoyequalizer.com/blogs/

    Plugin Support Youzify

    (@kainelabsteam)

    Hello @alonagomez

    Please try this snippet

    add_filter( 'list_terms_exclusions', 'yoursite_list_terms_exclusions', 10, 2 );
    function yoursite_list_terms_exclusions( $exclusions, $args ) {
            return $exclusions . " AND t.slug NOT IN ( 'youzify_media' )";
    }

    How to Add Custom PHP Snippet?

    Best Regards, KaineLabs Team.

    Thread Starter alonagomez

    (@alonagomez)

    Thanks it worked.

Viewing 15 replies - 1 through 15 (of 18 total)
  • The topic ‘Hide youzify & yzfes media in the Posts Categories’ is closed to new replies.