I need to know "if my post have more tag then i will show "some div", else if there is no "full post(no "read more")" then dont show "some div"
i'm not using excerpt.
I need to know "if my post have more tag then i will show "some div", else if there is no "full post(no "read more")" then dont show "some div"
i'm not using excerpt.
In a loop this should work:
<?php
if (strpos($post->post_content, '<!--more-->')) {
echo 'this post has the more';
}
?>This work only with "excerpt". But not with tag "more"(
Oops, seems everything works! Thanks.
This topic has been closed to new replies.