• Hey there!

    I’m trying to translate a site with “Attitude” theme to Latvian language, but I am having problem with the “read more” button “By” “Theme by”, “Powered by:”. Everything else is translated. In forum I found that people were able to do it using this path: Theme Options/Advance Option/Excerpt Options.

    But I do not have such an option there. [IMG]https://i60.tinypic.com/bgrxw4.jpg[/IMG]

    Is it possible only for the pro version?

    I also have tried translating it using polylang plugin and .po and .mo files with no luck.

    Any help with this issue would be really apreciated!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter Jurgis Locmelis

    (@jurgis-locmelis)

    Hey again!

    I have translated the rest wit poedit but “read more”, and before post author “by” still remain. Poedit dosen’t find them as strings and I can’t find the string in php files. Am I missing something very simple? Or is it done on purpose so that the theme can’t be fully localized and people would buy pro version?

    Hope to hear from someone because I have spent several hours going through old forum posts and trying to solve this small issue.

    Thread Starter Jurgis Locmelis

    (@jurgis-locmelis)

    So I found that I have localized both “Read more” and “By” but they don’t display when I change the language. Should I change something in the code? Or overwrite it in child theme?

    This is the code I would like to change.

    echo '<a class="readmore" href="' . get_permalink() . '" title="'.the_title( '', '', false ).'">'.__( 'Read more', 'attitude' ).'</a>';

    I have tried adding combining it with this code but with no luck, I am no good in php so any help would be much apreciated. `<?php
    $currentlang = get_bloginfo(‘language’);
    if($currentlang==”en-US”):
    ?>
    <div>Content in English</div>
    <?php else: ?>
    <div>Content in Spanish (or other language)</div>
    <?php endif; ?>`

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Dosen't show Excerpt Options’ is closed to new replies.