Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #610262

    Hi guys,

    is there any way to translate the “ALL” value on categories filter? I’m using WPML

    Thanks

    #610266

    Hi lorenzo_pulpolab!

    Please add following code to Functions.php file in Appearance > Editor

    add_filter('avf_masonry_sort_first_label','new_first_label');
    function new_first_label() {
    if(ICL_LANGUAGE_CODE=='ca'){
    $first_item_name = "New All Text";
    }
    return $first_item_name;
    }

    Cheers!
    Yigit

    #611495

    It does’t work, I guess it’s about ‘avf_masonry_sort_first_label’. Have a look to the page directly, you may be able to find what the problem is (link attached in ‘Private content’ section)

    Best regards,

    #611885

    It’s working with ‘avf_portfolio_sort_first_label’ ;)

    Have a good day

    #611891

    Hey!

    Glad you figured it out! :)

    Let us know if you have any other questions or issues and have a great day!

    Best regards,
    Yigit

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Translate filter category "ALL"’ is closed to new replies.