Theme supportCategory: GeneralRemove "Read more" completely
Deepak asked 2 years ago

I really appreciate your response to my previous question.
I tried using the code you sent but it does not seem to work. Is there a way I can simply remove the (more..) completely.
Thank you! again

Leave a Reply

1 Answers
PCoffee Staff answered 2 years ago

Read the article in the codex:
There are different ways to do that.
The article suggests:
If the_content() isn’t working as you desire (displaying the entire story when you only want the content above the <!-more->Quicktag, for example) you can override the behavior with global $more.

global $more; // Declare global $more (before the loop).
$more = 0; // Set (inside the loop) to display content above the more tag.

You should put that code in the index.php and/or category.php before the

if ( have_posts() ) :

Leave a Reply

Your Answer

15 + 18 =