Is there a has_more_tag() method or equivalent?

I need to determine if the current post has a “more” tag. I’m currently using

$pos=strpos($post->post_content, '<!--more-->');

Am I missing a built in method similar to has_excerpt()?

4 s
4

Quite simply put: there is no built in function that does the same thing as your code above.

Bonus content: More tag tricks

Leave a Comment