Support » Plugin: SubHeading » [Plugin: SubHeading] Paragraph in subheading.

  • Resolved cgoldt



    I’m using subheading, and it works quite well!
    I just have a problem with inserting paragraphs.

    I tried inserting <br /> and <p>, even \n – but after publishing the post, it disappears. If I’m inserting any other html tag it works (like <a href></a>, <em>, <b> etc.)…

    Any help out there??
    Thanks a lot,

    BTW: <span style="color:#999999;"></span> doesn’t work either.

Viewing 4 replies - 1 through 4 (of 4 total)
  • nobody? 😐

    hmm, this shouldn’t be so complicated for people who know how the plugin works. 36flavours maybe??


    A subheading is more like a like rather than an excerpt, therefore the default formatting operations are carried out on the text entered (such as stripping certain HTML tags).

    You can wrap the value when outputting the subheading using something similar to the following:

    <?php if (function_exists(‘the_subheading’)) { the_subheading(‘<p>’, ‘</p>’); } ?>

    If I had more time, I would suggest adding an option / setting to the plugin allowing HTML to be entered.

    – Steve

    Hi Steve!

    Thanks for your answer!
    I would like to insert <br /> within the subheading, not wrapping it in a <p> for example. So that means, there is no possibility to do this with the plugin? Strangly it works with the other html-tags like links and bold.


    Thanks again.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Plugin: SubHeading] Paragraph in subheading.’ is closed to new replies.