Title: Sub heading wrong position
Last modified: August 20, 2016

---

# Sub heading wrong position

 *  Resolved [Hivey](https://wordpress.org/support/users/hivey/)
 * (@hivey)
 * [13 years, 7 months ago](https://wordpress.org/support/topic/sub-heading-wrong-position/)
 * Sub heading is showing below author name and post date. It is also in bold and
   not regular or italic font.
 * Any help is appreciated.
 * [http://wordpress.org/extend/plugins/subheading/](http://wordpress.org/extend/plugins/subheading/)

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

 *  Thread Starter [Hivey](https://wordpress.org/support/users/hivey/)
 * (@hivey)
 * [13 years, 7 months ago](https://wordpress.org/support/topic/sub-heading-wrong-position/#post-3182483)
 * I forgot to add web site [http://www.hackneyhive.co.uk](http://www.hackneyhive.co.uk)
 * _[[No bumping](http://codex.wordpress.org/Forum_Welcome#No_Bumping), thank you.]_
 *  Plugin Author [Steve](https://wordpress.org/support/users/stvwhtly/)
 * (@stvwhtly)
 * [13 years, 7 months ago](https://wordpress.org/support/topic/sub-heading-wrong-position/#post-3182489)
 * Hi,
 * Which method have you used to integrate sub headings?
 * If you opted for the automatic display method, it may not appear in exactly the
   right position based on the theme you are using.
 * I would recommend using the manual integration method if possible, as stated 
   in the FAQs section titled “How can I stop subheadings appearing in places I 
   don’t want them to?”
 * [http://wordpress.org/extend/plugins/subheading/faq/](http://wordpress.org/extend/plugins/subheading/faq/)
 *  [zondar](https://wordpress.org/support/users/zondar/)
 * (@zondar)
 * [13 years, 7 months ago](https://wordpress.org/support/topic/sub-heading-wrong-position/#post-3182494)
 * [@hivey](https://wordpress.org/support/users/hivey/),
 * I see what you mean – where your subtitle appears, it doesn’t even look like 
   a subheading.
 * I just spent a couple hours trying to sort out vertical alignment for the Subheading
   plugin – there’s a big gap between it and the byline; no amount of Firebugging
   will reveal the cause.
 * With regret, had to give up and install Subtitle 360, which delivers nice tight
   spacing; if you’re not dependent on h5 or h6 styles, you can specify in the (
   tiny!) index.php file and alter the CSS in style.css for your theme.
 * NB: Also tried:
    KIA Subtitle: Didn’t display correctly.Poor documentation. The
   Subtitle: Didnt work. Poor documentation. Visual Subheading: Promising but quirky.
   HTML code shows up on a feature image slider. (!)
 * Clients don’t pay for endless tweaking, so the plugins that work well first time
   are the ones we recommend.
 *  Thread Starter [Hivey](https://wordpress.org/support/users/hivey/)
 * (@hivey)
 * [13 years, 7 months ago](https://wordpress.org/support/topic/sub-heading-wrong-position/#post-3182495)
 * Zondar are you the developer of this other plugin?
 *  Thread Starter [Hivey](https://wordpress.org/support/users/hivey/)
 * (@hivey)
 * [13 years, 7 months ago](https://wordpress.org/support/topic/sub-heading-wrong-position/#post-3182496)
 * Steve will try to figure it out, but I’m no techie and totally lost.
 *  [zondar](https://wordpress.org/support/users/zondar/)
 * (@zondar)
 * [13 years, 7 months ago](https://wordpress.org/support/topic/sub-heading-wrong-position/#post-3182497)
 * [@hivey](https://wordpress.org/support/users/hivey/),
 * Ha, Developer ?!
    No, I’m a writer and editor thrown in the deep end when our
   PHP guy went off to your part of the world, and I also look after some sites 
   he worked on.
 * WP has come a long way in a couple of years but the weak link is half-baked or
   obsolete plugins (not meaning ‘Subheading’) that can use up hours of valuable
   time, and should be deleted from the WP supository.
 *  Plugin Author [Steve](https://wordpress.org/support/users/stvwhtly/)
 * (@stvwhtly)
 * [13 years, 7 months ago](https://wordpress.org/support/topic/sub-heading-wrong-position/#post-3182498)
 * Hiya,
 * I’m assuming that you were using the the automated method of displaying subheadings?
   If this is the case, the plugin uses the ‘the_content’ filter to prepend the 
   subtitle before the content of the post (or page) with the tags defined on the
   settings page.
 * The only way to ensure that the subheadings appear exactly where (and how) you
   would like is to edit the theme template and call ‘the_subheading’ function from
   there:
 * `<?php if (function_exists('the_subheading')) { the_subheading('<p>', '</p>');}?
   >`
 * You should then disable the auto append option on the settings page.
 * Regarding the ‘big gap’, this was probably a result of the tags used to surround
   the subheading. Altering the tag or adding additional styles could have resolved
   this layout issue.
 * Does this point you in the right direction?
 *  Plugin Author [Steve](https://wordpress.org/support/users/stvwhtly/)
 * (@stvwhtly)
 * [13 years, 7 months ago](https://wordpress.org/support/topic/sub-heading-wrong-position/#post-3182499)
 * [@zondar](https://wordpress.org/support/users/zondar/)
 * I actually believe this plugin to be far superior to subtitle 360, as subheading
   should be able to provide the same functionality – and more – of that plugin.
 * With regards to your question in the support forum for subtitle 360, you asked
   why this didn’t work:
 * `<?php if (function_exists('the_subtitle')){ the_subtitle('<p style="fontsize:
   12px;font-style: italic;font-weight:bold;color:#000000">','</p>'); }?>`
 * Using subheading you could have used:
 * `<?php if (function_exists('the_subheading')) { the_subheading('<p style="fontsize:
   12px;font-style: italic;font-weight:bold;color:#000000">', '</p>'); } ?>`
 * All you would have to do is disable the auto append setting.
 *  [zondar](https://wordpress.org/support/users/zondar/)
 * (@zondar)
 * [13 years, 7 months ago](https://wordpress.org/support/topic/sub-heading-wrong-position/#post-3182500)
 * [@steve](https://wordpress.org/support/users/steve/),
 * Good to see a developer looking after his product – prompt response is appreciated.
   
   Yes, your plugin does have some plus points – namely config options and styling
   is easy to change, as above.
 * With ‘Subheading’ installed the second example you quoted worked fine, but when‘
   Subtitle 360’ (and modified code; example1) was tested, the modified styling 
   did not show up on the post.
 * We use Genesis on all sites, with Simple Hooks plugin which makes things really
   easy. So the snippet above just gets pasted into the ‘show after title’ box.
 *  [davidwkeen](https://wordpress.org/support/users/davidwkeen/)
 * (@davidwkeen)
 * [13 years ago](https://wordpress.org/support/topic/sub-heading-wrong-position/#post-3182501)
 * Okay, I’m lost here. I’m a novice when it comes to code. I would like the subhead
   to appear immediately after the title and before the date and author. What file
   should I be pasting
 * > <?php if (function_exists(‘the_subheading’)) { the_subheading(‘<p>’, ‘</p>’);}?
   > >
 *  into?

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

The topic ‘Sub heading wrong position’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/subheading_f4f4f4.svg)
 * [SubHeading](https://wordpress.org/plugins/subheading/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/subheading/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/subheading/)
 * [Active Topics](https://wordpress.org/support/plugin/subheading/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/subheading/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/subheading/reviews/)

 * 10 replies
 * 4 participants
 * Last reply from: [davidwkeen](https://wordpress.org/support/users/davidwkeen/)
 * Last activity: [13 years ago](https://wordpress.org/support/topic/sub-heading-wrong-position/#post-3182501)
 * Status: resolved