Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #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
    see figure 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
    see figure

    Thanks guys

    • This topic was modified 10 years, 9 months ago by cerf.
    #237773

    Hi 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,
    Ismael

    #237815

    Hi,

    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

    #237828

    Hi, 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.
    #238326

    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.

    Regards,
    Peter

    #238363

    This 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

    #238394

    Hey!

    Great :)

    Cheers!
    Peter

Viewing 7 posts - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.