Answer the question
In order to leave comments, you need to log in
Why doesn't cropping an article with the_content() function in Wordpress work?
There is an article in the text of which is <!--more-->
.
Next I output the_content(); but the text is not cut off, but also displays the <!--more-->
code:
global $more;
while ( have_posts() ) : the_post();
$more = 0;
the_content( '[more..]', true);
endwhile;
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question