WordPress.org

Ready to get started?Download WordPress

Forums

Please Help with Tagline in Header (3 posts)

  1. grantrl78
    Member
    Posted 6 years ago #

    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 -->
  2. seomartin
    Member
    Posted 6 years ago #

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

  3. grantrl78
    Member
    Posted 6 years ago #

    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:
    http://i6.photobucket.com/albums/y226/grantrl78/align.jpg

Topic Closed

This topic has been closed to new replies.

About this Topic