• I am working on this site for a client and she’s requested I set it up where there are automatic H1 type headers on each of the separate pages (“resources”, “getting started”, “about”, “contact”) With the same title as the page itself.

    How would I go about doing that? Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • that depends a little bit on where this h1 is supposed to show.

    general – in page.php:

    <h1><?php echo $post->post_title; ?></h1>

    or if it is already in the loop:

    <h1><?php the_title(); ?></h1>

    Thread Starter elusivephoto

    (@elusivephoto)

    Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Headers on Pages’ is closed to new replies.