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()?
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()?
Quite simply put: there is no built in function that does the same thing as your code above.
Bonus content: More tag tricks