• 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

Focus theme – read more 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 › Focus theme – read more link

This topic is: not resolved

Tagged: custom category page header text

  • This topic has 6 replies, 3 voices, and was last updated 12 years, 6 months ago by hawaiiguy.
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • June 6, 2013 at 9:30 pm #44469
    Lise
    Member

    Hi anyone,

    I have installed and customized the focus theme on a client's site and on this page, which is the category in the menu, http://destinationweddingdetails.com/category/real-destination-weddings  we need the 'read more link' within the [...]

    I don't know how to make it happen.  The following is already in the functions.php

    /** Modify the WordPress read more link */
    add_filter( 'the_content_more_link', 'custom_read_more_link' );
    function custom_read_more_link() {
    return '<a class="more-link" href="' . get_permalink() . '">Read More</a>';
    }

    Thanks in advance

    Lise

    June 7, 2013 at 5:45 am #44495
    rfmeier
    Member

    Hello,

    Try using the WordPress 'excerpt_more' filter.

    /* functions.php */
    function new_excerpt_more( $more ) {
    	return ' <a class="read-more" href="'. get_permalink( get_the_ID() ) . '">Read More</a>';
    }
    add_filter( 'excerpt_more', 'new_excerpt_more' );

    The above was pulled from the WordPress documentation. http://codex.wordpress.org/Function_Reference/the_excerpt

    I hope this helps.


    Ryan Meier – Twitter

    June 7, 2013 at 8:22 am #44530
    Lise
    Member

    Thanks Ryan, I will try.  I was under the impression that it would be in genesis, so I didn't go look in the codex.

    Thanks again

    Lise

     

    June 7, 2013 at 8:32 am #44536
    Lise
    Member

    Actually Ryan, I fixed it another way...I was going to copy the code you gave me in my evernote, and that's where I noticed I had already something relating to that.

    "To make sure that the category pages listing each post has the Read More link, go to genesis settings, content archives, set to "display post content' and then set the limit of charaters to 300 and it will show up."

    And it works!

    Have a nice weekend

    Lise

    June 7, 2013 at 8:33 am #44537
    rfmeier
    Member

    Awesome. Glad you found a solution!


    Ryan Meier – Twitter

    June 7, 2013 at 9:42 am #44542
    Lise
    Member

    Thanks for your help Ryan

    Lise

    June 30, 2013 at 10:44 pm #48620
    hawaiiguy
    Member
    This reply has been marked as private.
  • Author
    Posts
Viewing 7 posts - 1 through 7 (of 7 total)
  • The forum ‘General Discussion’ 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