-
AuthorPosts
-
March 14, 2014 at 12:42 pm #237568
Hi all,
I’m using the Polylang plugin with Enfold theme and all works fine!
I have only 2 issues:
– the text in the “Enfold combo widget” is wrong in italian: “Populare” instead of “Popolare” and in the footer I have this problem
or on my website http://besos.pw/amici/– following the categories on the post I have these strings: “italiano” [or “English” if the post is in english] and something like “pll_53223caaa2692” . I would like to hide them
Thanks guys
- This topic was modified 10 years, 9 months ago by cerf.
March 14, 2014 at 6:47 pm #237773Hi cerf!
1.) Please use this plugin: http://wordpress.org/plugins/codestyling-localization/
Go to Tools > Localization and select “Themes”. Then search for “Enfold” in the list and select your language (italian) and click the “create po-file” button. Click on “Rescan” to search for all text strings. Afterwards click on “Edit” and translate the required strings from the “avia_framework” textdomain.
2.) I can’t see any example of the second issue above. Please post a link to the actual page with the said strings.
Regards,
IsmaelMarch 14, 2014 at 8:57 pm #237815Hi,
1) I can’t find the voices “Recent” and “Popular” to replace…
2) http://besos.pw/2014/03/12/besos-fablab-pisa-amore-prima-vista/
and this is the result if click on the code http://besos.pw/?taxonomy=post_translations&term=pll_5322ec3d716a9
I think this is something related to taxonomy created by polylang to create a link between the default post and the traslated one.Thaaanks
March 14, 2014 at 9:27 pm #237828Hi, the Polylang author reply to my question:
http://wordpress.org/support/topic/polylang-and-enfold?replies=2#post-5342352
Regards
- This reply was modified 10 years, 9 months ago by cerf.
March 16, 2014 at 5:00 pm #238326Hi!
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.
Regards,
PeterMarch 16, 2014 at 6:59 pm #238363This resolves my problem:
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; }
Good work, Enfold with Polylang works great!
Thanks
March 16, 2014 at 9:27 pm #238394Hey!
Great :)
Cheers!
Peter -
AuthorPosts
- You must be logged in to reply to this topic.