WordPress.org

Ready to get started?Download WordPress

Forums

Transposh WordPress Translation
Transposh problems with site's title (4 posts)

  1. leftfooted
    Member
    Posted 1 year ago #

    after i installed this plugin the function <?php bloginfo('name');?> doesnt show my blog's name... after i installed this plugin, this function display word "week" instead of my blogs name.
    i dont know how to fix this?
    also i cant set this plug in to display flags, it shows names of the languages instead flags.
    please help me, thanks in advance.

    http://wordpress.org/extend/plugins/transposh-translation-filter-for-wordpress/

  2. Ofer Wald
    Member
    Plugin Author

    Posted 1 year ago #

    Well, the first part is nothing that I can relate to, what happens when you try editing?

    And regarding flags, when you placed the widget, it is configurable.

  3. leftfooted
    Member
    Posted 1 year ago #

    when i use this function for site's

    <title><?php
    if(is_home()) {
    echo bloginfo('name').' - Home';
    } elseif(is_category()) {
    echo 'Browsing the Category ';
    wp_title(' ', true, '');
    } elseif(is_archive()){
    echo 'Browsing Archives of';
    wp_title(' ', true, '');
    } elseif(is_search()) {
    echo 'Search Results for "'.$s.'"';
    } elseif(is_404()) {
    echo '404 - Page got lost!';
    } else {
    bloginfo(‘name’); wp_title('-', true, '');
    }
    ?></title>

    title its not showing my site's name which is UGE. it shows word "week" instead UGE.
    i call the plugin with this function <?php if(function_exists("transposh_widget")) { transposh_widget(array(), array('title' => 'Translation', 'widget_file' => 'flags/tpw_flags.php')); }?>

  4. Ofer Wald
    Member
    Plugin Author

    Posted 1 year ago #

    My guess regarding the blogname is that somehow it has been translated in that way. I think that you should probably just wrap your blog name with a no_translate span, although I am quite aware this really is not right in the title tag in html

    eg:

    echo '<span class="no_translate">bloginfo('name').'</span> - Home';

    I guess I need a better solution for this...

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.