WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Getting Tagline to Appear in Pool Theme (11 posts)

  1. skeezicks
    Member
    Posted 6 years ago #

    I'm using the Pool theme. It seems to serve my purposes as a first-time blogger, but it doesn't appear to have a mechanism to show my tagline. I've searched in all the template files for Pool and can't find the string 'bloginfo' (I believe that's the one to look for).

    Is it a simple matter to get the tagline to appear in the header below the title?

    Like, do I just add a line or something?

    What file would I edit?

    BETTER YET, maybe somebody knows offhand of a theme like Pool that does show a tagline. I've tried all the default themes (Blix, Default, Classic, Ocadia, etc.) but they all leave out something.

    I'd try other themes but I'm stuck with WP 2.0.2 and I'm afraid I'll booger my blog by installing a theme designed for a later version of WP.

    Help anyone?

  2. Bodhipaksa
    Member
    Posted 6 years ago #

    It should just be a case of looking in header.php for something like this:

    <?php bloginfo('name'); ?>

    (it may be within h1 tags).

    Then underneath it you'd put:

    <?php bloginfo('description'); ?>

    You might want to put it in h2 tags, p tags, and/or assign it some kind of class or id so that you can style it the way you want.

  3. skeezicks
    Member
    Posted 6 years ago #

    I didn't see anything like
    <?php bloginfo('description'); ?>
    in the header.php file so I assume that's the reason I don't see my tagline in the blog's header.

    I can insert the line into the file, I guess it would go somewhere in here?:

    <head profile="http://gmpg.org/xfn/11">
    	<meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
    
    	<title><?php bloginfo('name'); ?><?php wp_title(); ?></title>
    
    	<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="Shortcut Icon" href="<?php echo get_settings('home'); ?>/wp-content/themes/pool/images/favicon.ico" type="image/x-icon" />
    	<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>

    Thanks for your help!

  4. Not quite - look for this line:

    <h1><a href="<?php echo get_settings('home'); ?>"><?php bloginfo('name'); ?></a></h1>

    And add the line after it

  5. skeezicks
    Member
    Posted 6 years ago #

    Thanks, that did the trick! I appreciate the help. I'll also fiddle around a bit with the code to see if I can format it with the H2 style.

    Thanks again!

  6. skeezicks
    Member
    Posted 6 years ago #

    Well, the problem is back. Shouldn't have left to walk the dog, I guess. No more tagline.

    I verified that the online file header.php is the same as it was when the tagline appeared.

    I'm stumped.

  7. Bodhipaksa
    Member
    Posted 6 years ago #

    I'm always puzzled when people ask for help but decline to let us see the site in question. It would help if we could take a look. Where's your site?

    It would also be handy if you posted the code so we can see what you actually did.

  8. skeezicks
    Member
    Posted 6 years ago #

    I'm sorry - I often post the site uri but sometimes I don't think to. The website is http://www.springvalleyhoa.org and the blog is http://springvalleyhoa.org/blog.

    Here's the code as it is now, with the changes. I did note the lack of a </body> tag, don't know if that makes a difference. Also, I tried another theme (Bernie-v-10) and while my tagline appears there, none of the images are displayed. I left a post in the Themes forum 23 hours ago but so far no replies. Anyway, here is the code:

    <body>
    <div id="content">
    
    	<div id="header" onclick="location.href='<?php echo get_settings('home'); ?>';" style="cursor: pointer;">
    		<h1><a href="<?php echo get_settings('home'); ?>"><?php bloginfo('name'); ?></a></h1>
    <strong><!-- ADDED FOLLOWING LINE ON 20070916 TO GET TAGLINE TO APPEAR IN HEADER --!>
    <?php bloginfo('description'); ?></strong>
    	</div>
    
    	<div id="pages">
    			<div class="alignleft">
    				<ul>
    				<li><a href="<?php echo get_settings('home'); ?>">Blog</a></li>
    				<?php wp_list_pages('title_li='); ?>
    				</ul>
    			</div>
    
    			<div id="search">
    				<form id="searchform" method="get" action="<?php echo bloginfo('home'); ?>">
    					<input type="text" name="s" id="s" size="20" value="search in blog..." />
    				</form>
    			</div>
    	</div>
    
    <!-- end header -->
  9. Bodhipaksa
    Member
    Posted 6 years ago #

    Well, the code here is from a different theme from the one that's displaying on your blog at the moment, so it's hard to make a comparison between the code and what's showing. Can you switch the theme back?

    The closing body tag is probably in a different template -- at least I hope it is!

  10. skeezicks
    Member
    Posted 6 years ago #

    Thanks for your help and interest; however, since I managed to get a different template working and since that template has what I need (and more, actually), I think I'll just close this thread rather than chance it by making another change.

  11. Ruzie
    Member
    Posted 5 years ago #

    Hello... Previously I set my tagline under the Setting, then under General, I just typed the tagline to describe my blog and that will appears on the brower. However, now with WordPress 2.6, only my blog title appear instead of my tagline. I've tried to change the tagline many times without any success.

    If this can't be done, will you let me know how do I change my WordPress to 2.5?

    Appreciate your help very much.

    http://savvyhomemaker2u.com/

Topic Closed

This topic has been closed to new replies.

About this Topic