WordPress.org

Ready to get started?Download WordPress

Forums

Highwind
Add subtitle (4 posts)

  1. Asakasan
    Member
    Posted 11 months ago #

    Hi there, i was wondering if it's possible to add post subtitles for this theme.

    I tried by using subtitle plugins, but they're not working with WP 3.6, so I think i must add some code.

    Can you help me?

    Thank you so much.

  2. jameskoster
    Member
    Theme Author

    Posted 11 months ago #

    This isn't something that the theme should be handling. There are LOTS of subtitles plugins. I'd try some of those :-)

  3. Asakasan
    Member
    Posted 11 months ago #

    I tried most of them a week ago ;)

    But none of them seem to work, maybe because they're not updated, i don't know.

  4. AJ
    Member
    Posted 10 months ago #

    Use this: http://wordpress.org/plugins/wp-subtitle/

    Open: Content.php (This is for posts. Even better is to add it to your child-theme.)

    Find (two occurrences):
    <h1 class="post-title" data-text="<?php the_title(); ?>"><?php the_title(); ?></h1>

    Add after it:
    <h6 class="sub-title"> <?php the_subtitle(); ?> </h6>

    Do the same in: content-page.php (This is for pages. Also add it to your child theme.)

    Now edit your pages and posts and fill in the sub-title box.

    Cheers

Reply

You must log in to post.

About this Theme

About this Topic

Tags