I am using a custom database query to fetch posts.
In the post I have a break tag, which is displayed as <!--more-->
in the database wp_posts table, but I can't get it to output like I would if I used wp query
. It is basically ignored.
i tried using apply_filters
like so, but to no avail:
<?php echo apply_filters("the_content", $post->post_content); ?>
I don't get either the "read more" anchor or the "read more" span tag in the post's content.
How can I get it with my custom query?