Need to customize your read more link, maybe add a button instead of a text link or modify your post excerpts? Regardless of which theme you’re using, you’ll find the solution here.
Update : You can now use the genesis_more_text filter to modify the read more link text.
We’ll take a look at modifying the read more link, more tag and post excerpts, for all WordPress themes.
And you’ll also learn how to easily move the read more link to its own line as well as add a button to it.
In this tutorial, we’ll take a look at different custom code examples which:
- Customize the read more link when using the WordPress More Tag
- Modify the read more link when using the Content Limit on the Content Archives
- Change the length of the post excerpts
- Display Read More Link On Separate Line
- Add a button to the read more link
Customize The WordPress More Link
Modify The Read More Link Text
Change The Excerpt Length
You can also customize the excerpt length conditionally.
Note: Genesis users will need to have selected to display post excerpts in the Content Archives rather than a content limit for the above code snippets to work.
Move The Read More Link To Its Own Line
Add Button To Read More Link
Display Different Link Based On Category
This code will display different read more link text based on the category the posts are assigned to. Simple change the category i.d’s to suit your needs.
Hi Brad,
I would like to modify the blog/category page entry image links. Any ideas on how can I could do that.
Below an example from Genesis Epik theme. I would like to add an ID or class inside the “a href” tag.
Membership will give you that solution
Your help with displaying a different read more link text based on category works beautifully. Thank you! Now how do I display different read more link text for different categories? Example: on category 1: unique text, on category 2: different unique text, the rest of the categories Read More.
Hi Brad!
Is there a way that I can override the setting of Content Archives into a specific template?
For example, my default Content Archive “Displays post content” but in a specific Archive template, I want to show Excerpt rather than the post content. Do you have a snippet where I can use it for my specific template?
james
Should be able to find the answer here James but do let me know if you don’t http://wpsites.net/web-design/set-post-content-limits-for-home-blog-archive-pages/
You may need to change the conditional tag.
I want to still get the “break” however get NO words.