Add comment number in read more link
-
Hello,
I would like to replace the “Read more” text from the_content(“Read more”);
By:
– “Read more” if there is no comment
– “Read more and the comment” if there is one comment
– “Read more more and the X comments” if there is more commentsI have tried:
the_content(“Read” . comments_number(‘more’, ‘more and the comment’, ‘more and the % comments’ ));
It shows “Read” a the bottom of the article with the link and “more and the 2 comments” at the top of the article with no link… so it does not works…
If someone can help me that would be great.
Thank you ??
Viewing 8 replies - 1 through 8 (of 8 total)
Viewing 8 replies - 1 through 8 (of 8 total)
- The topic ‘Add comment number in read more link’ is closed to new replies.