Skip to content
This repository has been archived by the owner on Dec 17, 2021. It is now read-only.

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

Closed
samikeijonen opened this issue Jun 13, 2014 · 1 comment
Closed

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

samikeijonen opened this issue Jun 13, 2014 · 1 comment
Labels

Comments

@samikeijonen
Copy link

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
Copy link
Member

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants