I want to show some description of my blog post at home page and a read more link when user will click that link it will redirect to post detail page. I am using the_content('Read More...') function. Now how can i give character limit that how many character i want to display at home page. Please help.

Recommended Answers

All 2 Replies

Use 'the_excerpt()' function and you need to insert the content in the excerpt field at wordpress back-end.

visit W4 post list Create post list based on category or with categories, sort list by newest, popular etc, jQuery show/hide effect while listing posts with category.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.