Community Forums › Forums › Archived Forums › General Discussion › add read more link to posts
- This topic has 5 replies, 2 voices, and was last updated 8 years, 10 months ago by
Victor Font.
-
AuthorPosts
-
January 30, 2017 at 7:44 pm #200289
Inquinim
MemberHi,
I want a "read more" button at the bottom of each of my posts on the blog page.
Do I have to modify the loop in order to do this? Or does Genesis have an action or filter I can use?Appreciate any help!
January 31, 2017 at 3:34 am #200296Victor Font
ModeratorWhat do you mean by "blog" page? Are you talking about the archive page or a single post? The WordPress read more link displays automatically if you are displaying excerpts or content limited summaries on the blog page. If you want read more in the middle of a single post, you use the WordPress more shortcut
Regards,
Victor
https://victorfont.com/
Call us toll free: 844-VIC-FONT (842-3668)
Have you requested your free website audit yet?January 31, 2017 at 10:04 pm #200349Inquinim
MemberHi Victor,
I'm talking about the archive page. For some reason, none of my posts show a read more link. The posts are set to show the excerpt in Genesis settings and I've added an excerpt to one of the posts and the others have excerpts generated from the content.
I've looked through Genesis' archive.php and loops.php pages but didn't see anything about a read more link.
EDIT: I loaded up the Genesis Sample Theme on different site and it too doesn't show any read more links at all.
How does one go about adding them in? Customising the loop...?
February 1, 2017 at 7:23 am #200361Victor Font
ModeratorRead more is not generated by Genesis. This is a WordPress function that can be applied to the WordPress "the_excerpt" and "the_content_limit" filters. There's nothing in Genesis you can change unless your child theme author has removed the WordPress filter actions, in which case, you would probably fine the code in functions.php. If you post a link to your site, we might be able to help you further.
In the meantime, please review this article it may help point you in the right direction: https://victorfont.com/how-to-change-the-wordpress-read-more-text/
Regards,
Victor
https://victorfont.com/
Call us toll free: 844-VIC-FONT (842-3668)
Have you requested your free website audit yet?February 2, 2017 at 10:37 pm #200481Inquinim
MemberYeah, that's why I was surprised it wasn't there. I thought maybe Genesis removed it by default.
The link you posted solved the issue! Is this functionality not enabled by default?
Thanks!
February 3, 2017 at 5:38 am #200492Victor Font
ModeratorBy default, the WordPress read more is just an ellipses without a link. It can be hard to see. My code adds the link.
Regards,
Victor
https://victorfont.com/
Call us toll free: 844-VIC-FONT (842-3668)
Have you requested your free website audit yet? -
AuthorPosts
- The forum ‘General Discussion’ is closed to new topics and replies.