Support » Themes and Templates » How to add tagline to theme

  • Chris Head


    I am using a Child of the Simple-Style-Responsive theme. This theme does not have any coding for a tagline and I have been trying to add it without success.
    I have done various mods to the header.php file but get very bizarre results none of which are any good.
    I have searched the forums but I have not been able to find any information that is directly related to what I am trying to do. I have downloaded and installed the WordPress SEO plugin but have had no luck with that either.

    Any help appreciated; I just need to be pointed in the right direction!



Viewing 2 replies - 1 through 2 (of 2 total)
  • Scott Fennell


    Chris Head


    Hi Scott

    Thanks for the reply. I am able to display the tag line but it appears in the top left hand corner of the page. Initially I included the code in a functions.php to get the tag line displaying as above and then went to a header.php as below:

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "">
    <html xmlns="">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>Untitled Document</title>
    	<body oncontextmenu="return false;">
    <!-- start header -->
    <div id="header">
    <div class="box">
    	<!-- logo -->
        <div id="logo">
        	<div><span><a>" title="<?php bloginfo('title'); ?>"><?php if ( get_option( 'photography_logo' ) <> "" ) { ?><img src="<?php echo get_option( 'photography_logo' ); ?>" alt="logo" /><?php } else { ?><?php bloginfo('title'); ?><?php } ?></a></span></div>
    		<div class="description">
    			<?php bloginfo('description'); ?>
        <!-- logo -->
    <!-- end header -->
    <!-- start navigation -->
    <div id="navigation">
    	<?php wp_nav_menu (array ( 'theme_location' => 'main-nav-menu') ); ?>
    	<?php dropdown_menu (array ( 'theme_location' => 'main-nav-menu') ); ?>

    All this achieves is to have the all the slide photos display at once on the screen, the menu and the Title and Tag line are displayed from the top left of the page with the menu cascading down, expanded.
    I have tried various other combinations of code but this is the closest I have come so far.

    My site is

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How to add tagline to theme’ is closed to new replies.