Title: Reverse headers
Last modified: August 24, 2016

---

# Reverse headers

 *  [Karel17](https://wordpress.org/support/users/karel17/)
 * (@karel17)
 * [11 years ago](https://wordpress.org/support/topic/reverse-headers/)
 * Hi,
 * – Could not find this topic anywhere, if this is asked before, please direct 
   me to that question –
 * I am trying to reverse the H1 and H2 headers, for there is no standard H1 on 
   a (Single) page. There are [workarounds](http://www.fathomdelivers.com/blog/seo/wordpress-seo-secret-switching-post-h1-h2-tags/)
   which are not that recent and do not apply to the Hueman theme, see below.
 * So, anyone idea’s to reverse the H1 and H2?
 * Kind regards
 * The described approach is looking for a this code in the Single.php, which is
   not present. _<h1 class=”sitename”>Website Title</h1>
    <h2 class=”sitedesc”>Website
   Description</h2>

Viewing 5 replies - 1 through 5 (of 5 total)

 *  [bdbrown](https://wordpress.org/support/users/bdbrown/)
 * (@bdbrown)
 * [11 years ago](https://wordpress.org/support/topic/reverse-headers/#post-6070548)
 * Hi Karel17. The site title and site description are set in header.php. The site
   title is set by calling function alx_site_title(). The default theme configuration
   sets the website title as an <h1> and the website description as a <p> on the
   home page. On a single post page the site title is changed to a <p> and the post
   title is an <h1>.
    Hope that helps.
 *  Thread Starter [Karel17](https://wordpress.org/support/users/karel17/)
 * (@karel17)
 * [11 years ago](https://wordpress.org/support/topic/reverse-headers/#post-6070555)
 * Thanks for the quick reply. However the site title is not an H1
 * See the default settings below.
 * “<div class=”page-title pad group”>
 *  <h2>page title</h2>”
 * So, that does not seem to work. Do you have any other solutions?
    Thanks in advance!
   🙂
 *  [bdbrown](https://wordpress.org/support/users/bdbrown/)
 * (@bdbrown)
 * [11 years ago](https://wordpress.org/support/topic/reverse-headers/#post-6070560)
 * That’s the page title which is displayed in the center “heading” bar, between
   the sidebar headings, above the content area. The site title, which is in the
   header, is an <h1> on the home page.
 *  Thread Starter [Karel17](https://wordpress.org/support/users/karel17/)
 * (@karel17)
 * [11 years ago](https://wordpress.org/support/topic/reverse-headers/#post-6070680)
 * Also true, sorry that I am a bit unclear. On a single page, there does not seem
   to be an <h1>. The post title is an H2, and not an H1 as you say.
 * I haven’t adjusted the CSS so that could not be the problem. Also tried multiple
   places for the menu (top, header, footer) also made no difference.
 * However I see that you have managed to get H1 on every page on [this site](http://alxmedia.se/code/).
   Could you please tell me how you did it?
 * Edit: the posts do have an H1, just the pages don’t.
 *  [bdbrown](https://wordpress.org/support/users/bdbrown/)
 * (@bdbrown)
 * [11 years ago](https://wordpress.org/support/topic/reverse-headers/#post-6070686)
 * The site you referred to is the author’s theme web site. I don’t know what customizations
   he did there. On the default theme I’m guessing (because I didn’t write the theme)
   that the page title is an h2 so that it doesn’t override, or conflict with, an
   h1 that the user could put in the content. If you want to change the default 
   configuration you could copy file /inc/page-title.php to a child theme and modify
   the page title tag for the specific page types.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Reverse headers’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/hueman/3.7.27/screenshot.png)
 * Hueman
 * [Support Threads](https://wordpress.org/support/theme/hueman/)
 * [Active Topics](https://wordpress.org/support/theme/hueman/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/hueman/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/hueman/reviews/)

 * 5 replies
 * 2 participants
 * Last reply from: [bdbrown](https://wordpress.org/support/users/bdbrown/)
 * Last activity: [11 years ago](https://wordpress.org/support/topic/reverse-headers/#post-6070686)
 * Status: not resolved