WordPress.org

Ready to get started?Download WordPress

Forums

Positioning custom quicktag subtitles (1 post)

  1. jivyb
    Member
    Posted 7 years ago #

    I've set up a custom quicktag for subtitles according to the instructions here: http://wordpress.org/support/topic/38785?replies=6

    The custom quicktag allows me to insert <div class="subtitle">this is my subtitle</div>

    I then styled the css for the #subtitle

    But this inserts the subtitle as part of the <?php the_content(''); ?>

    and I'd like to be able to have <?php the_subtitle(); ?> so I can put it under the <?php the_title(); ?> in the template

    Is it possible to have a quicktag and be able to create a function for it to position it in the template where I want?

Topic Closed

This topic has been closed to new replies.

About this Topic