Web Designing, Web Development, Website Design, Website Development, SEO

0091 98233 72069

COGS: CUSTOMISED, OPTIMISED, GENERALISED WEB DESIGN & WEB DEVELOPMENT SOLUTIONS

the_content not responding to the “more tag” outside of WP

when used setup_postdata() , the_content ignore more tag

the more tag does not work on custom queries like that.

You can set the global $more variable to either 1 or 0 to turn the more functionality on or off. Do this right before your call to the content:

global $more;
$more = 1;
the_content();

0 means turn on
1 means turn off