Support » Plugin: Ceceppa Multilingua » Site Title/Tagline not translating with my theme.

  • Resolved joshisanonymous


    I’m using the theme Grey Opaque and the translated site title/tagline doesn’t get translated. It shows the translation on mouse-over but not for just the normal display.

    I have no idea how to manual edit themes but I found the following in the header.php file for the theme and I’m hoping there’s something that can be changed to make the translation of the title/tagline work properly:

    	 * Print the <title> tag based on what is being viewed.
    	global $page, $paged;
    	wp_title('|', true, 'right');
    	// Add the blog name.
    	// Add the blog description for the home/front page.
    	$site_description = get_bloginfo('description', 'display');
    	if($site_description && (is_home() || is_front_page())) {
    		echo " | $site_description";
    	// Add a page number if necessary:
    	if($paged >= 2 || $page >= 2) {
    		echo ' | ' . sprintf(__('Page %s', 'grey-opaque'), max($paged, $page));

    What could be going on here?

Viewing 12 replies - 1 through 12 (of 12 total)
  • Plugin Author Alessandro Senese


    I tested your code and works correctly for me…
    What is your website address?

    The title and tagline appear in English regardless of the language but some part of it is working because the mouse-over for the title in French gives a translation.

    Plugin Author Alessandro Senese


    Can you past the code inside ‘<div id=”branding” role=”banner”>’?
    Probabily you can find it in “header.php”

    Certainly. I found it in functions.php:

    if(!function_exists('greyopaque_set_branding')) {
    	function greyopaque_set_branding() {
    		$heading_tag = (is_home() || is_front_page()) ? 'h1' : 'div';
    		echo '
    		<div id="branding" role="banner">
    			<' . $heading_tag . ' id="site-title">
    					<a href="' . home_url('/') . '" title="' . esc_attr(get_bloginfo('name', 'display')) . '" rel="home">' . get_bloginfo('name') . '</a>
    			</' . $heading_tag . '>
    			<div id="site-description">' . get_bloginfo('description') . '</div>
    		</div><!-- #branding -->';
    	if(isset($array_GreyOpaqueOptions['show-branding']) && $array_GreyOpaqueOptions['show-branding'] == 'on') {
    		add_action('greyopaque_header', 'greyopaque_set_branding');
    Plugin Author Alessandro Senese


    I found the solution….
    Add the paramter ‘display’ to function get_bloginfo… replace:

    ‘ . get_bloginfo(‘name’) . ‘


    ‘ . get_bloginfo(‘name’,’display’) . ‘


    <div id=”site-description”>’ . get_bloginfo(‘description’) . ‘</div>


    <div id=”site-description”>’ . get_bloginfo(‘description’, ‘display’) . ‘</div>

    That did the trick. Thanks! Glad I can use your plugin since none of the others like it even came close to working well for me.


    I have a problem with the translation of the site description, but I’m not sure the problem is the same. I can see the option in the plugin settings, and I change the text. Seems to be fine, no error. But if I go back to the same settings, I find that the short description is the same as the original version, ie, the one in the main language.
    If I translate the name of the site, I can see it properly.

    My site is


    Plugin Author Alessandro Senese


    Which theme are you using?

    It’s Techozoid Fluid

    Plugin Author Alessandro Senese


    It’s the same problem of the other user…
    You have to modify the line #105 of “header.php” from:

    /”><?php bloginfo( ‘name’ ); ?>


    /”><?php bloginfo( ‘name’, ‘display’ ); ?>

    if you do not know how to do contact me here and I’ll send the modified file



    Problem solved. You are right it was the same problem, but I didn’t have to change the #105 line, but the same you said in the previous posts.

    Just in case somebody asks in the future, I paste here that piece of code:

    <?php } else {
    /”><?php bloginfo( ‘name’ ); ?>
    if ( is_single() || is_page() || ($post_type == ‘forum’ || $post_type == ‘topic’ || $post_type == ‘reply’) ) {
    echo “</span>”;
    } else {
    echo “</h1>”;
    if ( is_single() & of_get_option( ‘blog_title_text’, ‘single’ ) == “single” ) {
    $description = “” . get_bloginfo( ‘name’, ‘display’ ) . ““;
    } else {
    $description = get_bloginfo( ‘description’, ‘display’ );
    if ( !empty( $description ) ) {
    <span class=”description”><?php echo $description; ?></span>
    <?php }
    </div><!–end headerimg–>
    </div><!–end headerimgwrap–>

    Thanks for your help. Your work is awesome.


    Plugin Author Alessandro Senese


    You’re welcome 🙂

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘Site Title/Tagline not translating with my theme.’ is closed to new replies.