Viewing 6 replies - 16 through 21 (of 21 total)
  • Thank you very much for your reply. I am a newbie and just learning, that is 1 reason I chose WordPress. I do not know how to get into the header.php source code. Could you please let me know.

    Thank you in advance.

    Thank you. I am in the header php template and this is my source code.

    <?php
    /**
     * The header template
     *
     * @package wplook
     * @subpackage BlogoLife
     * @since BlogoLife 1.0
     */
    ?>
    <?php global $options;
    foreach ($options as $value) {
    	if (isset($value['id']) && get_option( $value['id'] ) === FALSE && isset($value['std'])) {
    		$$value['id'] = $value['std'];
    	}
    	elseif (isset($value['id'])) { $$value['id'] = get_option( $value['id'] ); }
    }?>
    <!DOCTYPE html>
    <html <?php language_attributes(); ?>>
    <head>
    <meta charset="<?php bloginfo( 'charset' ); ?>" />
    <title><?php global $page, $paged;
    	wp_title( '', true, 'right' );
    	// Add the blog description for the home/front page.
    	$site_name = get_bloginfo( 'name', 'display' );
    	if ( $site_name && ( is_home() || is_front_page() ) )
    		echo " $site_name";
    	// Add a page number if necessary:
    	if ( $paged >= 2 || $page >= 2 )
    		echo ' | ' . sprintf( __( 'Page %s', 'wplook' ), max( $paged, $page ) );
    	?></title>
    <?php wplook_meta_description();?>
    
    <meta name="keywords" content="<?php echo $wpl_meta_keywords; ?>" />
    <link rel="shortcut icon" href="<?php echo $wpl_favicon_url; ?>" />

    Would it be correct to delete <?php wplook_meta_description();?>

    Nigel.

    [Moderator Note: Please post code or markup snippets between backticks or use the code button. Or better still – use the pastebin. As it stands, your code may now have been permanently damaged/corrupted by the forum’s parser.]

    Problem resolved .

    In the header php I deleted <?php wplook_meta_description();?>

    WordPress7..thank you very much for your help. ??

    thank you ??

    This is my header (Retro Theme)

    <!doctype html>
    
    <!-- Html -->
    <html <?php language_attributes(); ?>>
    
    <!-- Head -->
    <head>
    
    	<!-- Charset -->
    	<meta charset="<?php bloginfo('charset'); ?>">
    
    	<!-- Viewport -->
    	<meta name="viewport" content="width=<?php echo get_theme_option('viewport'); ?>">
    
    	<!-- Page title -->
    	<title><?php wp_title(''); ?></title>
    
    	<!-- Profile -->
    	<link rel="profile" href="https://gmpg.org/xfn/11" />
    
    	<!-- Favourites icon -->
    	<link rel="shortcut icon" href="<?php echo get_theme_option('favicon'); ?>">
    
    	<!-- CSS -->
    	<link type="text/css" href="<?php bloginfo('stylesheet_url'); ?>?v=<?php echo get_theme_version(); ?>" rel="stylesheet" />
    	<link type="text/css" href="<?php echo get_stylesheet_directory_uri(); ?>/user.php?v=<?php echo get_theme_version(); ?>" rel="stylesheet">
    
    	<!-- Pingback -->
    	<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
    
    	<!-- WP head -->
    	<?php wp_head(); ?>
    
    </head>
    
    <body <?php body_class(); ?>>
    
    <!-- BEGIN HEADER -->
    <div id="header">
    
    	<div class="section_inn">
    
    		<div id="menu">
    
    			<ul id="nav" class="nav">
    				<li class="first">
    					<a>/#about_section"><?php echo retro_filter( get_theme_option('about_label') ); ?></a>
    
    				<li class="second">
    					<a>/#portfolio_section"><?php echo retro_filter( get_theme_option('portfolio_label') ); ?></a>
    
    				<li class="third">
    					<a>/#blog_section"><?php echo retro_filter( get_theme_option('blog_label') ); ?></a>
    
    				<li class="fourth">
    					<a>/#contact_section"><?php echo retro_filter( get_theme_option('contact_label') ); ?></a>
    
    			<div class="clr"></div>
    
    		</div><!-- end div #menu -->
    
    		<?php if ( get_theme_option('logo') ) : ?>
    
    		<!-- Logo -->
    		<div id="top_logo">
    			<a>/#home_section"><img src="<?php echo get_theme_option('logo'); ?>" alt="" /></a>
    		</div>
    
    		<?php endif; ?>
    
    		<div class="clr"></div>
    
    	</div><!-- end div .section_inn -->
    
    	<div class="clr"></div>
    
    </div>
    <!-- END HEADER -->

    As you can see where <title></title> is correct but in Google search my header tags are not displaying it just says my site name….can this be resolved??

    [Moderator Note: Please post code or markup snippets between backticks or use the code button. Or better still – use the pastebin. As it stands, your code may now have been permanently damaged/corrupted by the forum’s parser.]

    hello

    Can anybody suggest me.In view source the title and meta are generated good but in google search the site is not found.Event my site has pr1 the none pagerank site shows on first page of google search for keyword post free ads online.

    Here is my website Post free ads online

Viewing 6 replies - 16 through 21 (of 21 total)
  • The topic ‘[Plugin: WordPress SEO by Yoast] Title and description not in search result’ is closed to new replies.