LUCiD GRAFiX Logo

Tutorial
YouTube RSS Feed
Search

TUTORIAL

How to add a Read More link in WordPress and limit the word count

Written by Posted on February 18th, 2014 No Comments
Share This

Today, we are going to go over how to add a Read More link in WordPress and also limit the word count in the excerpt.

These are two essential snippets that are needed to add to your functions.php that allow you to add a link to the excerpt and a word limit.

1. Read More!

I added a class so it could be targeted with CSS, you can also change it from “Read More!” to what ever is appropriate for what your doing.

2. Excerpt Word Limit.

I have it set to 30 words but you can change it to what ever you see fit, If you want more info check out the WordPress Codex on excerpts.

Happy Coding!

About

Hi, my name is Eric Young. I’m a web designer who has worked in the IT industry since 2000. I love blogging and making the web a better place. If I'm not here I'm probably playing Gears of War. LOL

Related Articles You Might Enjoy!

Change Wordpress Avatar size Change WordPress Avatar size
goodfeed How to add custom post types to your feed
Custom Fields in WordPress Basic Custom Fields in WordPress
Leave a comment

Leave a Reply