• Skip to main content
  • Skip to forum navigation

StudioPress

  • Shop for Themes
  • My StudioPress

Forum navigation

  • Home
  • General Genesis Discussions
  • StudioPress Themes
  • Genesis Blocks
    • Genesis Blocks
    • Genesis Custom Blocks
  • Retired Themes
  • FAQs
  • Forum Rules
  • Internationalization and Translations
  • Forum Bugs and Suggestions
  • Forum Log In

Are You Using The WordPress Block Editor?

Genesis now offers plugins that help you build better sites faster with the WordPress block editor (Gutenberg). Try the feature-rich free versions of each plugin for yourself!

Genesis Blocks Genesis Custom Blocks

How can I add the "Read More" link to excerpts?

Welcome!

These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.

Log In
Register Lost Password

Community Forums › Forums › Archived Forums › Design Tips and Tricks › How can I add the "Read More" link to excerpts?

This topic is: resolved

Tagged: excerpts, Sample Theme

  • This topic has 9 replies, 6 voices, and was last updated 9 years, 11 months ago by handsun.
Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • July 6, 2013 at 11:38 am #49544
    henridelbosque
    Member

    Hello people. I am working with the sample child theme but i have a question. I am using excerpts but i want to add a "read more" link at the end of it. Is there a way to do it?

    Here is my sitie: http://www.tuvitalidad.com

    July 6, 2013 at 1:45 pm #49548
    RobG
    Member

    Have you try inserting it using your WordPress editor...


    To speed up the process please post the link to the website in question.

    We recommend using Firebug to view source codes http://getfirebug.com/

    RobGoss WordPress Developer
    We build WordPress websites for your business or personal goals
    http://www.robgoss.com / Follow me Twitter / https://twitter.com/robgoss

    July 6, 2013 at 3:19 pm #49555
    henridelbosque
    Member

    Sorry if I didnt make it clear. What i need is to add a read more link at the end of every excerpt automatically without using the 'more tag' in the posts editor.

    July 6, 2013 at 11:20 pm #49602
    Summer
    Member

    There is a tutorial at Studiograsshopper that's come in handy for me when tweaking the excerpt (I prefer to use the manual excerpts, and have on occasion needed to add a "Read More")

    http://www.studiograsshopper.ch/code-snippets/customising-the_excerpt/


    WordPress / Genesis Site Design & Troubleshooting: A Touch of Summer | @SummerWebDesign
    Slice of SciFi | Writers, After Dark

    July 6, 2013 at 11:53 pm #49603
    Brad Dalton
    Participant

    Pretty much exactly the same as what you'll find in the official StudioPress Code Snippets. http://my.studiopress.com/snippets/post-excerpts/

    https://gist.github.com/studiopress/5700336


    Tutorials for StudioPress Themes.

    July 7, 2013 at 9:28 am #49634
    henridelbosque
    Member

    Worked as Summer said. Thank you very much 🙂

    July 7, 2013 at 11:16 am #49652
    Summer
    Member

    Brad, the Studio Press page never included any snippets that worked with manual excerpts, and the tutorial at Studiograsshopper was one of the few resources to highlight the distinction between automatic and manual excerpts early on, and to write snippets that would work for either method.

    Plus, there's no confusion about "will that only work with Genesis themes" for newcomers.

    I love Studio Press resources as much as anyone else here, but sometimes there's a tunnel vision towards solutions that rivals the old Steve jobs Reality Distortion field 🙂


    WordPress / Genesis Site Design & Troubleshooting: A Touch of Summer | @SummerWebDesign
    Slice of SciFi | Writers, After Dark

    November 14, 2014 at 8:36 pm #131580
    colleengreene
    Member

    Thank you, Summer! I've been searching for a solution for hours. The other tutorials all recommend a code block that was not working on the Sample child theme. This worked perfect. And you are correct....the StudioPress code snippets do NOT do the same thing, and do not work for manual excerpts (at least not on the Sample child theme).

    November 15, 2014 at 10:02 am #131608
    Brad Dalton
    Participant

    For hand crafted excerpts added manually in the Excerpt meta box, here's another solution


    Tutorials for StudioPress Themes.

    July 9, 2015 at 8:36 am #158898
    handsun
    Participant

    I added both these snippets to functions.php (Whitespace Pro) but got nothing back, no read more and no 50 words, any ideas?
    I also tried this which I found on wordpress.org https://codex.wordpress.org/Excerpt

    function new_excerpt_more( $more ) {
    	return ' <a class="read-more" href="'. get_permalink( get_the_ID() ) . '">' . __('Read More', 'your-text-domain') . '</a>';
    }

    http://milamfh.com/?s=Makayla


    Clean affordable water by Kinetico

  • Author
    Posts
Viewing 10 posts - 1 through 10 (of 10 total)
  • The forum ‘Design Tips and Tricks’ is closed to new topics and replies.

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2025 WPEngine, Inc.

Products
  • Create a Site with WP Engine
  • Shop for Themes
  • Theme Features
  • Get Started
  • Showcase
Company
  • Brand Assets
  • Terms of Service
  • Accptable Usse Policy
  • Privacy Policy
  • Refund Policy
  • Contact Us
Community
  • Find Developers
  • Forums
  • Facebook Group
  • #GenesisWP
  • Showcase
Resources
  • StudioPress Blog
  • Help & Documentation
  • FAQs
  • Code Snippets
  • Affiliates
Connect
  • StudioPress Live
  • StudioPress FM
  • Facebook
  • Twitter
  • Dribbble