• 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 Coding

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 Coding

This topic is: not resolved

Tagged: Read more coding

  • This topic has 2 replies, 2 voices, and was last updated 11 years, 11 months ago by steffie.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • January 1, 2014 at 3:44 am #82452
    steffie
    Member

    Hi

    I currently have a read more link on my posts (using the excerpt) using the Jane theme. The creator of these theme has provided the following code to put a "Read more" link

    //* Change the WordPress read more link
    function new_excerpt_more($more) {
           global $post;
    	return '<a class="moretag" href="'. get_permalink($post->ID) . '">...... Read the full story </a>';
    }
    add_filter('excerpt_more', 'new_excerpt_more');

    but I would like to have a link like the one at the end of these excerpts on this blog: http://luckylucille.com/. I have no coding experience at all, so any help would be greatly appreciated.

    Hoping someone can assist.

    thanks

    Stephanie

    http://sewacrookedline.com
    January 1, 2014 at 12:17 pm #82508
    nutsandbolts
    Member

    I don't love the way the ellipsis is part of the link... Try this instead:

    //* Change the WordPress read more link
    function new_excerpt_more($more) {
           global $post;
    	return '... <br /><br /><a class="moretag" href="'. get_permalink($post->ID) . '">Read the full story</a>';
    }
    add_filter('excerpt_more', 'new_excerpt_more');

    Andrea Whitmer, Owner/Developer, Nuts and Bolts Media
    I provide development and training services for designers • Find me on Twitter and Google+

    January 1, 2014 at 4:38 pm #82551
    steffie
    Member

    Thanks nutsandbolts,

    That worked like a charm... 🙂

    Also I have been trying to move the post meta to sit under the post title but can't for the life of me work this one out either.
    I have tried using simple edits but that is not working with my theme (saw all the posts that other people were having issues with this as well), so have disabled it. I have worked out how to change the author and date, but when I put in categories, it gives me another line with Filed under...

    I would like to have : By [post_author] on [post_date] in [post_categories]. I will also like [post_comments] to sit beside the " Read full story" line.

    I am getting the hang of css but the above stuff is way above my head.

    Again, any help would be appreciated.

    cheers

    Stephanie

  • 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