Read more link tips in Wp

1 . Some time read more link not working in the_content() to fix this problem we can apply this procedure .

< ?php
global $more; // Declare global $more (before the loop).
$more = 0; // Set (inside the loop) to display content above the more tag.
the_content("More...");
?>

2. if u don’t want to show the read more link and want show the full content the we need to do following thing

< ?php
global $more; // Declare global $more (before the loop).
$more = 1; // Set (inside the loop) to display all content, including text below more.
the_content();
?>

Leave a Reply

Page 1 of 1712345NextLast »