• 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

Continue Reading Link

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 › General Discussion › Continue Reading Link

This topic is: resolved

Tagged: blog page, get_the_content_more_link, get_the_excerpt

  • This topic has 3 replies, 2 voices, and was last updated 3 years, 2 months ago by Brandon1.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • November 29, 2019 at 10:55 am #495119
    Brandon1
    Participant

    On the Blog Page, after the blog excerpt I am trying to add a link that says Continue Reading. I added the following to the PHP, however I missing something...

    //* Modify the Genesis content limit read more link
    add_filter( 'get_the_content_more_link', 'maker_read_more_link' );
    function maker_read_more_link() {
    return 'CONTINUE READING';
    }

    http://iowanutrition.com/blog/
    November 30, 2019 at 9:45 am #495135
    Brad Dalton
    Participant

    The code varies depending on whether you're using the content limit or excerpt on Genesis > Theme Settings > Content Archives.

    If using the excerpt, use code like this.

    If using the content limit setting, your code should work. The Blog page template has know been removed from Genesis so not sure how you have setup your blog page.


    Get Help – Book Consultation.

    November 30, 2019 at 9:48 am #495136
    Brad Dalton
    Participant

    You can use this solution to setup a blog page in any Genesis child theme.


    Get Help – Book Consultation.

    November 30, 2019 at 12:58 pm #495137
    Brandon1
    Participant

    That worked. Thank you!

  • Author
    Posts
Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Continue Reading Link’ is closed to new replies.

CTA

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

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2023 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