Forum Replies Created
-
AuthorPosts
-
Solved thanks!
Wow this looks a bit difficult! I don’t have a local test server, I guess I would have to configure and install a MAMP but it seems like an awful lot of work for just one word.
Would it be possible to translate this by registering a string manually (or with get text), since, of course, it doesn’t appear on string translator?
Thanks!!
Nora
- This reply was modified 10 years, 9 months ago by norasp.
Hi Ismael
I placed this code on functions.php. I asssume it’s the php file situated under wp-content/themes/enfold/functions.php.
Like this
/* * register custom functions that are not related to the framework but necessary for the theme to run */ add_filter('avf_portfolio_sort_first_label', 'avf_change_portfolio_sort_first_label', 10, 1); function avf_change_portfolio_sort_first_label($first_item_name) { $first_item_name = __('Todo','avia_framework' ); return $first_item_name; } require_once( 'functions-enfold.php');
and also this
/* * register custom functions that are not related to the framework but necessary for the theme to run require_once( 'functions-enfold.php'); add_filter('avf_portfolio_sort_first_label', 'avf_change_portfolio_sort_first_label', 10, 1); function avf_change_portfolio_sort_first_label($first_item_name) { $first_item_name = __('Todo','avia_framework' ); return $first_item_name;}
But when I do so the web just disappears and I cannot access the admin panel or anything. Maybe I should place the code on the functions-enfold.php instead?
Thanks
Hello Ygit! I’ve modified the code from
$first_item_name = apply_filters('avf_portfolio_sort_first_label', __('All','avia_framework' ), $params);
to
$first_item_name = apply_filters('avf_portfolio_sort_first_label', __('Todo','avia_framework' ), $params);
so I uploaded it and nothing’s happening. I don’t know if I’ve changed it correctly or if something else I should change.
Help would be really appreciated!!
Nora
Hi there!
Thank you! I tried running codestyling ( I had already used it on another theme ) but Worpdress 3.8.1 seems to have a problem with admin permits and it doesn’t let me use the plugin. So until I fix this I was wondering if there’s a php file I can modify through the editor or through uploading some modified php file in Filezilla?
Thanks!
Nora
Hi there!!
Thank you very much I have been able to install string translation but I can’t seem to be able to translate the “All” category in the portfolio. I can translate the other ones but not that specific category and it doesn’t appear on the string translation.
I would really appreciate some help!
Nora
Hi Josue,
I think I figured out the problem. When I access the cached version of the web and then the source code <title> appears as “Untitled Document” so maybe google is still indexing the old code version instead of mine.
I don’t know if it has happened before, but I started this web this monday. Maybe it will take a while longer?
Greetings and thank you for your quick answer!
Nora Soler Pastor
Thank you Josue!
I’ll let you know if it works!
Nora
Thanks a lot!!
Solved a few so far, now I have to find the breadcrumb, search answer on the menu and the small information below the posts (date, author,etc.)
Hopefully with some patience and time I will achieve the complete transformation!
Thanks again!
-
AuthorPosts