I want to check if a post contains the <!– more –> tag. At the moment I’m using a quite dissatisfying solution:
if (strpos(get_the_content('^&^&'), '^&^&') > 0)
since I have to retrieve the post from the DB again. Isn’t there any function or global variable indicating that the post uses the more tag?
- The topic ‘Check for more tag’ is closed to new replies.