Coding Diary, WordPress Tricks

Custom Read more text for each post

WordPress developers and users are quite familiar with the “Read more” text (or “Continue reading”, <!--more--> tag). But I believe that so many people don’t know how to have a custom read more text for each post without modifying the code. Too few article talks about it. My co-workers don’t know it too.

How to do that?

Very simple, instead of <!--more-->, use <!--more View detail--> (“View detail” is the custom text you want). I hope that this is useful for you.

Read more:
https://en.support.wordpress.com/more-tag/
https://codex.wordpress.org/Customizing_the_Read_More (search “Having a custom text for each post”)

Leave a Reply

Your email address will not be published. Required fields are marked *