Cutline Theme Support Forums » Tips & Tricks

Change Header title to name of post or page

(4 posts)
  • Started 4 years ago by jeff010501
  • Latest reply from ethanbrian

  1. jeff010501
    Member

    to start off the top of the page has teh name of your blog and description and inthe code there a H1 tag. I wnted to optimize each page an post so at the top would show them and the keyword im targeting would be h1 tagged not the name og my blog.

    headover to the header inthe theme editor and look for this

    <div id="container">
    <div id="masthead">
    <h1>"><?php bloginfo('name');?></h1>
    <h3><?php bloginfo('description'); ?></h3>

    change: <?php bloginfo('name');?> to: <?php the_title(); ?>

    but now i want to figure out how to keep a static name title for the front page/ index.

    Posted 4 years ago #
  2. jane42
    Member

    Am building a site using WordPress as a CMS and would be interested in how to do this too.

    That is:

    - have a page header <h2> display at top of page above text in main content area

    - vs. the page title (also the page slug)

    - while still keeping the page title/slug as-is, so they show in the Pages sidebar list (vs. the longer header)

    This would be sooo helpful. Anyone?

    Posted 4 years ago #
  3. Everything is very open and very clear explanation of issues. It contains truly information. Your website is very useful. Thanks for sharing. Looking forward to more! 

    Posted 1 year ago #
  4. ethanbrian
    Member

    Jane42 - "Am building a site using WordPress as a CMS and would be interested in how to do this too.

    That is:

    - have a page header <h2> display at top of page above text in main content area

    - vs. the page title (also the page slug)

    - while still keeping the page title/slug as-is, so they show in the Pages sidebar list (vs. the longer header)

    This would be sooo helpful. Anyone?"

    Blogging With Wordpress [] Hype About Gowalla Dreamwalker Square

    Posted 1 year ago #

RSS feed for this topic

Reply

You must log in to post.