• 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

Read More Button

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 › Read More Button

This topic is: not resolved
  • This topic has 2 replies, 3 voices, and was last updated 12 years, 8 months ago by Davinder Singh Kainth.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • November 20, 2012 at 2:46 am #802
    prajwaldesai
    Member

    Hi,

    I want to add read more button to my posts.Currently on my site the read more button is shown but in brackets. I want my read more button to look like this : example http://www.onlineteflacademy.com/

    My website link : http://prajwaldesai.com. i am using a corporate child theme.

    November 20, 2012 at 8:19 pm #1026
    Len
    Participant

    Hi prajwaldesai

    It looks like you're using the Content Limit (as opposed to excerpts) to display content. If you view source, you'll see a line of text, part of which reads ...

    class="more-link">[Read more...]

    Now we know what CSS selector to target - it is the a.more-link

    All you need to do is add the following to the style.css file ...

    a.more-link {
    your styling rules
    }

    For instance ...

    a.more-link {
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    background-color: #e96a2a;
    border-radius: 3px;
    color: #fff !important;
    float: right;
    font-size: 13px;
    font-weight: normal;
    padding: 8px 12px 6px;
    text-align: center;
    text-decoration: none;
    }

    This will give you a button that has a slightly rounded border (3px), a background colour (#e96a2a), a font colour (#fff), it floats right, has a font size of 13px with a normal weight, a padding of 8px-top, 12px-sides and 6px-bottom, the text is centered and there is no text decoration.

    a.more-link:hover {
    background-color: #444;
    text-decoration: none;
    }

    When you hover over the button the background colour will change to #444 (dark grey) and no text-decoration.

    Use your imagination and style it however you want. 🙂

    To get rid of the brackets add the following to your theme's functions.php file ...

    /** Modify the Genesis content limit read more link */
    add_filter( 'get_the_content_more_link', 'corporate_read_more_link' );
    function corporate_read_more_link() {
    return '... <a class="more-link" href="' . get_permalink() . '">Read More ...';
    }

    This will give you Read More followed by 3 dots. Insert whatever you want there.

    Always make a backup of your files before editing them so you can revert if you make a mistake.

    November 20, 2012 at 11:34 pm #1067
    Davinder Singh Kainth
    Member

    To remove Read More... just add following code to functions.php file


    // Remove read more - basicWP.com
    add_filter( 'get_the_content_more_link', 'child_read_more_link' );
    function child_read_more_link() {
    return '';
    }

    source - http://www.basicwp.com/remove-read-more-link-posts-genesis/


    Sunshine PRO genesis theme
    Need Genesis help? Davinder @ iGuiding Media | My Blog | Fresh Genesis Themes

  • 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

© 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