Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #428740

    Hello,

    In the portfolio > sort by categories the word “ALL” is not translated and shown in english.

    How can I translate or change it?

    Thanks, Segev.

    #428824

    Hi segevmo!

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

    add_filter('avf_portfolio_sort_first_label','new_first_label');
    function new_first_label() {
    $first_item_name = "New All Text";
    return $first_item_name;
    }

    Cheers!
    Yigit

    #429059

    Thanks, work good.

    What will hapend whan I will update theme?

    #429064

    Hi!

    It will be overwritten. You can use a child theme to avoid that. You can download pre-built child theme here – http://kriesi.at/documentation/enfold/downloads/

    Regards,
    Yigit

    #430127

    Thanks,

    What parameter I need to insert to show the page /post title

    exemple: $first_item_name = “[PAGE TITLE]”;

    Regards,

    Segev.

    #430552

    Hey!

    Please try as following

    
    add_filter('avf_portfolio_sort_first_label','new_first_label');
    function new_first_label() {
    $first_item_name = get_the_title();
    return $first_item_name;
    }

    Regards,
    Yigit

    #430964

    Exactly!

    Thanks.

    #430967

    Hey!

    You are welcome, we are always happy to help :)
    For your information, you can take a look at Enfold documentation here – http://kriesi.at/documentation/enfold/
    And if there are features that you wish Enfold had, you can request them and vote the requested ones here – https://kriesi.at/support/enfold-feature-requests/
    For any other questions or issues, feel free to post them here on the forum and we will gladly try to help you :)

    Have a great weekend!

    Cheers!
    Yigit

Viewing 8 posts - 1 through 8 (of 8 total)
  • The topic ‘Translate the word "ALL" in portfolio’ is closed to new replies.