Tagged: 

Viewing 14 posts - 1 through 14 (of 14 total)
  • Author
    Posts
  • #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!

    #136134

    Hi,

    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">  &rarr;</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"> &rarr;</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

    #136135

    Hi

    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

    #136136

    I got almost all, except “Read more”. I changed “read more” in other files, but unsuccessfully. Any other ideia?

    Thanks so much!

    #136137

    Hey,

    “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">  &rarr;</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"> &rarr;</span></a></div>' :

    Regards,

    Ismael

    #136138

    Yes Ismael, I changed “read more” where you indicated, but doesn’t work.

    What could it be?

    Thanks!

    #136139

    Hey,

    Can you post a link to the page with the “Read More” text ?

    Regards,

    Ismael

    #136140

    I’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?

    #136141

    Claudernest, you have change the folder permission in your ftp program.

    #136142

    Hi 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!

    #136143

    Hey,

    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

    #136144

    I’m having trouble to find te “you are here” file as well, what steps should exacly need to be taken?

    Thanks in advance

    #136145

    If 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.

    #136146

    Thanks! changed it..

Viewing 14 posts - 1 through 14 (of 14 total)

The topic ‘Change Language’ is closed to new replies.