Support » Themes and Templates » Changing text and tag line on header

  • I’m using a basic twenty-ten word press theme. I’ve been using it only for a blog, and I’m changing it over to a web site that I’m using the one column, one sidear template to create the static pages for. I want to use the same header image througout the web, but I only want the current site title and the current tag line on the blog pages. I want to put some simple text on the current header image, and have that header image appear on all pages, both the static web pages and the blog pages. Don’t know a lot about working with the code, but willing to learn. Any help is appreciated.

Viewing 1 replies (of 1 total)
  • Michael


    Forum Moderator

    link to your site?

    conditional tags

    probably is_home()

    wrap an if statement around the code for the site title and tag line;

    in header.php:
    starts with this line:
    <?php $heading_tag = ( is_home() || is_front_page() ) ? 'h1' : 'div'; ?>

    and ends with this line:
    <div id="site-description"><?php bloginfo( 'description' ); ?></div>

    also, be aware that twenty ten will be overwritten with the next upgrade;

Viewing 1 replies (of 1 total)
  • The topic ‘Changing text and tag line on header’ is closed to new replies.