Plugin Author
Chouby
(@chouby)
I a word is badly translated, then you should be able to change it with the plugin codestyling localization.
following the categories on the post I have these strings: “italiano” [or “English” if the post is in english] and something like “pll_53223caaa2692”
Your theme displays all taxonomies associated with a post when it should display only *public* taxonomies. You should ask the theme author how to hide the non-public taxonomies.
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
Plugin Author
Chouby
(@chouby)
So this should do what you need:
add_filter('avf_exclude_taxonomies', 'avia_exclude_tax', 10, 3);
function avia_exclude_tax($tax,$post_type,$id){
$tax = array_merge($tax, array('language', 'term_language', 'post_translations', 'term_translations'));
return $tax;
}
Thread Starter
cerf
(@cerf)
It works perfectly.
Good work, Enfold with Polylang works great!
Thanks
I’m unfortunately having a terrible time trying to get these two to play nice together. Not sure what I need to do but everytime I try something new or start a fresh to get the language installed it just leaves me with blank pages.
Any Ideas what that might be??
Ive got Enfold installed and then trying to set up an English German site.
Greetings
I am using the Enfold theme and I have trouble to use your plugin now on.
This was not an issue before , i have been using this plugin and Enfold theme for last couple of years without any issues. Unfortunately this problem started appearing recently.
Can you take a look at both EN and FR pages (they are completely the same in structure)
http://via.movewebsite.net/
http://via.movewebsite.net/fr/accueil/
Any Ideas how to solve this problem
Best David