Site logo

[Resolved] Adding Subtitle beneath Post Titles

Home Forums Support [Resolved] Adding Subtitle beneath Post Titles

Home Forums Support Adding Subtitle beneath Post Titles

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1682201
    talwhite

    Hello,

    I’m attempting to add a subtitle field beneath post titles.

    My first thought was to use the WordPress Plugin:
    https://wordpress.org/plugins/wp-subtitle/

    And then add their code as and Element Hook to appear beneath a post title (with PHP activated in the Element):

    PHP Code:
    do_action( ‘plugins/wp_subtitle/the_subtitle’, array(
    ‘before’ => ‘<p class=”subtitle”>’,
    ‘after’ => ‘</p>’,
    ‘post_id’ => get_the_ID(),
    ‘default_value’ => ”
    ) );

    Unfortunately adding the above element/hook/PHP code didn’t work.

    What are your suggestions?

    Thank you,

    Tal White

    #1682519
    Leo
    Staff
    Customer Support

    Hi there,

    Can you give this plugin a shot?
    https://wordpress.org/plugins/kia-subtitle/

    Looks like it’s more recent than the one you found.

    #1683548
    talwhite

    Works great – thank you!

    #1683570
    Leo
    Staff
    Customer Support

    No problem 🙂

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.