Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #508068

    Hi there,

    I am using Polylang plugin for multilingual website. This plugin has their own types and taxanomies, which are shown in a message as soon as I publish ‘categories’. Obviously the theme displays non public taxonomies.

    Can you let me know what I can do to ‘switch off’ the taxonomies which are not public?

    Thanks & regards,
    Monique

    #508526

    Hi Monique!

    we need to inspect the elements in question. Can you show us a link where we can see what you are talking about please?

    Regards,
    Andy

    #508592

    Hi Andy,

    In the (child) theme I’ve now switched on the Blog Post Categorie in Blog Layout.
    You can see an example at: http://vdts.net/nieuwe-website/.
    You can see an image highlighting the two category elements caused by Polylang at: http://vdts.net/screen_print.jpg.

    Hope that will be of help!?

    Regards,
    Monique

    #509304

    Hey!

    unfortunately this non public taxonomies have no custom css class, so it won’t be easy for us to hide it. We recommend to use WPML plugin instead, as it is fully compatible with Enfold. Contact plugin’s author for support about it polylang plugin.

    Cheers!
    Andy

    #510705

    Hi Andy,

    My client wanted an easy multi language plugin for their small website.

    I contacted the plugin developer and they were able to help me with additional code. They also advised me how you could change the theme code in case you would be interested to definitely fix this issue.

    You can replace:

    
    $excluded_taxonomies =  apply_filters('avf_exclude_taxonomies', array('post_tag','post_format'), get_post_type($the_id), $the_id);
    

    by:

    
    $excluded_taxonomies = array_merge( get_taxonomies( array( 'public' => false ) ), array('post_tag','post_format') );
    $excluded_taxonomies = apply_filters('avf_exclude_taxonomies', $excluded_taxonomies, get_post_type($the_id), $the_id);
    

    Just for your information :-)

    You can close this topic.

    Have a nice day,
    Monique

    #510959

    Hey!

    glad you could fix it! I reported the solution to Kriesi. Thanks a lot!
    Let us know in a new ticket if you have some more questions related to the theme. We are happy to assist you.

    Best regards,
    Andy

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘Non public taxonomies’ is closed to new replies.