WordPress.org

Ready to get started?Download WordPress

Forums

Blog title and tag line are missing? (2 posts)

  1. fikirbozan
    Member
    Posted 5 years ago #

    While i'm trying to upload my new theme to wordpress extent, they say "while reviewing your theme, we found 'Blog title and tag line are missing'" How can I add blog title and tag line? What do they mean?

    Here is the my header.php file:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

    <html xmlns="http://www.w3.org/1999/xhtml">
    <head profile="http://gmpg.org/xfn/11">

    <meta name="distribution" content="global" />
    <meta name="robots" content="follow, all" />
    <head profile="http://gmpg.org/xfn/11">
    <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
    <meta name="description" content="<?php bloginfo('description'); ?>" />
    <meta name="generator" content="WordPress <?php bloginfo('version'); ?>" />
    <meta name="language" content="en, sv" />

    <title><?php wp_title(''); ?><?php if(wp_title('', false)) { echo ' :'; } ?> <?php bloginfo('name'); ?></title>

    <link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" />
    <link rel="alternate" type="application/rss+xml" title="<?php bloginfo('name'); ?> RSS Feed" href="<?php bloginfo('rss2_url'); ?>" />
    <link rel="alternate" type="application/atom+xml" title="<?php bloginfo('name'); ?> Atom Feed" href="<?php bloginfo('atom_url'); ?>" />
    <link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
    <?php wp_head(); ?>
    </head>
    <body>

    <div id="page">
    <hr />

  2. @mercime
    Volunteer Moderator
    Posted 5 years ago #

    Most probably what they mean is that you're missing the following after <body> starts in your theme:

    <div class="blogtitle"><a href="<?php echo get_option('home'); ?>/"><?php bloginfo('name'); ?></a></div>
    <div class="description"><?php bloginfo('description'); ?></div>

Topic Closed

This topic has been closed to new replies.

About this Topic