get_posts and <!–more–> tag not working.
-
I’m using get_posts(); on a custom page (it’s using a template page and marked as my home page).
Unfortunately <!–more–> is not working.
I’ve tried:
– setup_postdata($post);
– $wp_query->is_single = false; at the top of the file.
– $wp_query->is_page = false; at the top of the file.So how do I get <!–more–> to work with my custom loop?
Thanks.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘get_posts and <!–more–> tag not working.’ is closed to new replies.