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.
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
Thanks, work good.
What will hapend whan I will update theme?
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
Thanks,
What parameter I need to insert to show the page /post title
exemple: $first_item_name = “[PAGE TITLE]”;
Regards,
Segev.
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
Exactly!
Thanks.
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