Tagged: Language
-
AuthorPosts
-
August 18, 2013 at 11:27 pm #28011
I would like to change language in post “Read more” and “in” category and “by” author. I would like to also change in breadcrumb “you are here”
Where I can find this files to change by hand?
I asked earlier about language change but could not change with the plugin.
Thanks!
August 19, 2013 at 2:26 am #136134Hi,
You can use this plugin:
http://wordpress.org/plugins/codestyling-localization/
You can also manually change them.
Read more” and “in” category and “by” author
Edit includes > loop-index.php, find this codes:
$current_post['content'] = $blog_content == "content" ? get_the_content(__('Read more','avia_framework').'<span class="more-link-arrow"> →</span>') : get_the_excerpt();
$current_post['content'] = $blog_content == "excerpt_read_more" ? $current_post['content'].'<div class="read-more-link"><a href="'.get_permalink().'" class="more-link">'.__('Read more','avia_framework').'<span class="more-link-arrow"> →</span></a></div>' :and this:
if(!empty($cats))
{
echo '<span class="blog-categories minor-meta">'.__('in','avia_framework')." ";
echo $cats;
echo '</span><span class="text-sep">/</span>';
}
echo '<span class="blog-author minor-meta">'.__('by','avia_framework')." ";
the_author_posts_link();
echo '</span>';The text “you are here” can be found on framework > php > class-breadcrumb.php
echo '<p class="breadcrumb"><span class="breadcrumb_info">'.__('You are here:','avia_framework').'</span> <a href="'.get_bloginfo('url').'">';
'before' => '<span class="breadcrumb-title">' . __( 'You are here:', 'avia_framework' ) . '</span>',
Regards,
Ismael
August 19, 2013 at 12:49 pm #136135Hi
Looking to translate in french some wording here and there, I tried this plugin, but it didin’t work.
I couldn’t find where was “You are here”, to start with in the edit pages.
Thanks for help
Claude
August 20, 2013 at 3:04 am #136136I got almost all, except “Read more”. I changed “read more” in other files, but unsuccessfully. Any other ideia?
Thanks so much!
August 20, 2013 at 3:35 am #136137Hey,
“Read More” text is located on includes > loop-index.php, find this code:
$current_post['content'] = $blog_content == "content" ? get_the_content(__('Read more','avia_framework').'<span class="more-link-arrow"> →</span>') : get_the_excerpt();
$current_post['content'] = $blog_content == "excerpt_read_more" ? $current_post['content'].'<div class="read-more-link"><a href="'.get_permalink().'" class="more-link">'.__('Read more','avia_framework').'<span class="more-link-arrow"> →</span></a></div>' :Regards,
Ismael
August 21, 2013 at 1:57 am #136138Yes Ismael, I changed “read more” where you indicated, but doesn’t work.
What could it be?
Thanks!
August 21, 2013 at 5:31 am #136139August 21, 2013 at 3:09 pm #136140I’m sorry to interfere in your discussion again, but trying to change “you are here”, I’ve got no access in framework.php…..
Any help available?
August 22, 2013 at 1:28 am #136141Claudernest, you have change the folder permission in your ftp program.
August 22, 2013 at 2:59 am #136142Hi Ismael!
I really didn’t get changed “Read more”, though I changed “Read more” in others files.
My version was bug, and then I update. But there are some bugs in new version, for example the socket/footer is bigger than old.
The link is http://www.bfm.adv.br/
Thank you so much for your help!
August 23, 2013 at 2:57 am #136143Hey,
Please download the theme again. I think there is a corrupted file. Deactivate all your plugins.
Also, go to Enfold > General Settings > Responsive Layout > select “Responsive Layout Large (Max width: 1210px)” then save changes.
Regards,
Ismael
August 25, 2013 at 1:57 pm #136144I’m having trouble to find te “you are here” file as well, what steps should exacly need to be taken?
Thanks in advance
August 26, 2013 at 5:59 am #136145If you want to change the “You are here” text open up wp-contentthemesenfoldfunctions-enfold.php and replace
if($breadcrumb) $additions .= avia_breadcrumbs(array('separator' => '/', 'richsnippet' => true));
with
if($breadcrumb) $additions .= avia_breadcrumbs(array('separator' => '/', 'richsnippet' => true, 'before' => '<span class="breadcrumb-title">' . __( 'You are here:', 'avia_framework' ) . '</span>'));
and instead of “You are here” insert your custom text.
August 26, 2013 at 6:28 pm #136146Thanks! changed it..
-
AuthorPosts
- The topic ‘Change Language’ is closed to new replies.