Support » Themes and Templates » Please Help with Tagline in Header

  • Please help me insert the right code to display the tag line in my header. The theme I use only displays the title. The theme is called Army of Darkness. Here is the code. Thanks for the help. 🙂

    <head profile=”http://gmpg.org/xfn/11″>
    <title><?php bloginfo(‘name’); ?><?php wp_title(); ?></title>
    <meta http-equiv=”Content-Type” content=”text/html; charset=<?php bloginfo(‘charset’); ?>” />
    <meta name=”generator” content=”WordPress <?php bloginfo(‘version’); ?>” /> <!– leave this for stats please –>

    <style type=”text/css” media=”screen”>
    @import url( <?php bloginfo(‘stylesheet_url’); ?> );
    </style>
    <link rel=”alternate” type=”application/rss+xml” title=”RSS 2.0″ href=”<?php bloginfo(‘rss2_url’); ?>” />
    <link rel=”alternate” type=”text/xml” title=”RSS .92″ href=”<?php bloginfo(‘rss_url’); ?>” />
    <link rel=”alternate” type=”application/atom+xml” title=”Atom 0.3″ href=”<?php bloginfo(‘atom_url’); ?>” />
    <link rel=”pingback” href=”<?php bloginfo(‘pingback_url’); ?>” />
    <?php wp_get_archives(‘type=monthly&format=link’); ?>
    <?php //comments_popup_script(); // off by default ?>
    <?php wp_head(); ?>
    </head>
    <body>
    <div id=”rap”>

    <div id=”masthead” onclick=”location.href='<?php bloginfo(‘url’); ?>’;” style=”cursor: pointer;”>
    </div>

    <div id=”header”>
    <h1 id=”blogtitle”>
    “><?php bloginfo(‘name’); ?>

    </h1>
    </div>
    <LINK rel=”SHORTCUT ICON” href=”favi.ico”>
    <!– GoStats JavaScript Based Code –>
    <script type=”text/javascript” src=”http://gostats.com/js/counter.js”></script>
    <script type=”text/javascript”>_gos=’gostats.com’;_goa=712413;
    _got=5;_goi=1;_goz=0;_gol=’free geoip’;_GoStatsRun();</script>
    <noscript><a target=”_blank” title=”free geoip”
    href=”http://gostats.com”><img alt=”free geoip”
    src=”http://gostats.com/bin/count/a_712413/t_5/i_1/counter.png”
    style=”border-width:0″ /></noscript>

Viewing 3 replies - 1 through 3 (of 3 total)
  • Please help me add my tagline to my Header.
    The Theme is called Army of Darkness.
    It only displays the Title.
    Where do I put this code?
    <?php bloginfo('description'); ?>

    <!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">
      <title><?php bloginfo('name'); ?><?php wp_title(); ?></title>
      <meta http-equiv="Content-Type" content="text/html; charset=<?php bloginfo('charset'); ?>" />
      <meta name="generator" content="WordPress <?php bloginfo('version'); ?>" /> <!-- leave this for stats please -->
    
      <style type="text/css" media="screen">
       @import url( <?php bloginfo('stylesheet_url'); ?> );
      </style>
      <link rel="alternate" type="application/rss+xml" title="RSS 2.0" href="<?php bloginfo('rss2_url'); ?>" />
      <link rel="alternate" type="text/xml" title="RSS .92" href="<?php bloginfo('rss_url'); ?>" />
      <link rel="alternate" type="application/atom+xml" title="Atom 0.3" href="<?php bloginfo('atom_url'); ?>" />
      <link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
      <?php wp_get_archives('type=monthly&format=link'); ?>
      <?php //comments_popup_script(); // off by default ?>
      <?php wp_head(); ?>
     </head>
     <body>
    <div id="rap">
      <a></a>
     <div id="masthead" onclick="location.href='<?php bloginfo('url'); ?>';" style="cursor: pointer;">
    </div>  
    
       <div id="header">
        <h1 id="blogtitle">
         <a>"><?php bloginfo('name'); ?>
         </a>
        </h1>
       </div>
    <LINK rel="SHORTCUT ICON" href="favi.ico">
    <!-- GoStats JavaScript Based Code -->
    <script type="text/javascript" src="http://gostats.com/js/counter.js"></script>
    <script type="text/javascript">_gos='gostats.com';_goa=712413;
    _got=5;_goi=1;_goz=0;_gol='free geoip';_GoStatsRun();</script>
    <noscript><a target="_blank" title="free geoip"
    href="http://gostats.com"><img alt="free geoip"
    src="http://gostats.com/bin/count/a_712413/t_5/i_1/counter.png"
    style="border-width:0" /></noscript>
    <!-- End GoStats JavaScript Based Code -->

    You can put it in your theme’s header.php file, just after your <h1> tag.

    Cool. Thanks for the help.
    Now I need to turn it white and align it left under the title.
    This is how it looks now:

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Please Help with Tagline in Header’ is closed to new replies.