Doesn't seem to work with function single_post_title.
samikeijonen opened this issue · comments
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.
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.