• 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

Code for altering 'Read more' link not working

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 › Code for altering 'Read more' link not working

This topic is: not resolved

Tagged: get_the_content_more_link, read more, the_content_more_link

  • This topic has 2 replies, 2 voices, and was last updated 8 years, 3 months ago by gandrson.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • January 18, 2018 at 5:27 pm #215516
    gandrson
    Member

    Hi there-
    I've added the following code snippet to the functions.php file to change the text on the Read more tag:

    //* Modify the WordPress read more link
    add_filter( 'the_content_more_link', 'sp_read_more_link' );
    function sp_read_more_link() {
    return '[Continue Reading]';
    }

    For some reason, it isn't working on a site that I'm working on using Parallax Pro. It seems to work for everyone else based on what I've read 🙂

    https://stagingotha.hauntedmesadesign.com/otha-blog/
    January 18, 2018 at 5:34 pm #215517
    Brad Dalton
    Participant

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

    It depends on what you are trying to modify. You might need to use the first snippet which uses get_the_content_more_link


    Tutorials for StudioPress Themes.

    January 18, 2018 at 5:51 pm #215519
    gandrson
    Member

    Thanks Brad - I see the difference - switched it to the first snippet and it worked perfectly.
    Gretchen

  • Author
    Posts
Viewing 3 posts - 1 through 3 (of 3 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

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