Add subtitle (4 posts)

  1. Asakasan
    Posted 1 year 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
    Theme Author

    Posted 1 year 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
    Posted 1 year 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
    Posted 1 year 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.


Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic