wecobble / Subtitles

Add subtitles into your WordPress posts, pages, custom post types, and themes. No coding required. Simply activate Subtitles and you're ready to go.
http://wordpress.org/plugins/subtitles/
GNU General Public License v2.0
117 stars 186 forks source link

Doesn't seem to work with function single_post_title. #2

Closed samikeijonen closed 10 years ago

samikeijonen commented 10 years ago

If I change this

https://github.com/samikeijonen/mina-olen/blob/master/content.php#L7

to <?php the_title( '<h1 class="entry-title">', '</h1>' ); ?>

this, subtitles works just fine. It's no big deal but just wondering.

philiparthurmoore commented 10 years ago

I'm not hooking onto single_post_title, which is why this is happening. From the function single_post_title():

$title = apply_filters( 'single_post_title', $_post->post_title, $_post );

I'll look into getting this fixed.