• Bellow is my header.php and my webpage is aiche.osu.edu.
    Thank you!!

    <?php ?>
    <!DOCTYPE html>
    <html <?php language_attributes(); ?>>
    <head>
    <meta charset="<?php bloginfo( 'charset' ); ?>" />
    
    <title><?php global $page, $paged; wp_title( '|', true, 'right' ); bloginfo( 'name' ); $site_description = get_bloginfo( 'description', 'display' );?></title>
    
    <link rel="profile" href="http://gmpg.org/xfn/11" />
    <link rel="stylesheet" type="text/css" media="all" href="<?php bloginfo( 'stylesheet_url' ); ?>" />
    <link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>" />
    
    <link rel="stylesheet" type="text/css" media="all" href="<?php bloginfo( 'template_url' ); ?>/forms.css" />
    
    <?php wp_head(); ?>
    
    </head>
    
    <body>
    <div id="container">
    
    <div id="header">
    
    	<?php wp_nav_menu(); ?>
    
    </div>
Viewing 2 replies - 1 through 2 (of 2 total)
  • Moderator Jose Castaneda

    (@jcastaneda)

    THEME COFFEE MONKEY

    You’re using bloginfo( 'name' ) and wp_title.

    Best thing to really do is actually filter the wp_title

    Something like:

    add_filter( 'wp_title', 'my_site_doc_title', 10, 2 );
    function my_site_doc_title( $title, $sep ){
        $title .= get_bloginfo( 'name', 'raw' );
        return $title;
    }

    Do keep in mind that is a simple example, but you get the idea. 🙂

    Thread Starter AlejandraGF

    (@alejandragf)

    Thank you for your response!, but I am very new to this, Could you give me any more specifics? I’ll keep on reading and see if I can change this

    Thanks!,
    Ale

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Help, Doubled Title Site Description’ is closed to new replies.