• 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

Manual Excerpts Read More – Smart Passive Income Pro Theme

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 › Manual Excerpts Read More – Smart Passive Income Pro Theme

This topic is: resolved

Tagged: custom, Excerpt, Smart Passive Income Pro Theme

  • This topic has 1 reply, 2 voices, and was last updated 6 years, 2 months ago by Susan.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • January 8, 2017 at 6:55 pm #199034
    Ozias
    Participant

    I have a mixture of Automatic Excerpts and Manual Excerpts. Posts without a manual excerpt work as I believe they should (an auto-generated excerpt from the post content is displayed trimmed down to the default of 55 words). In order to display a read more link to the post on these auto-generated excerpts, I added this code to the functions.php file:

    function new_excerpt_more( $more ) {
    	return ' <a href="'. get_permalink( get_the_ID() ) . '">' . __('View Deal...', 'your-text-domain') . '</a>';
    }
    add_filter( 'excerpt_more', 'new_excerpt_more' );

    I would like to begin creating manual excerpts, however, I am unable to produce a read more link at the end of the excerpt linking to the post.

    This can be seen here: http://www.lasvegasdeals.vegas/promotions/show-deals/all-shook-up-las-vegas-deals/
    Where the first post doesn't have a read more link (the post has a manual excerpt) and the second post does have a read more link (the post has an automatic excerpt).

    Any help is greatly appreciated.

    Thanks

    http://www.lasvegasdeals.vegas/promotions/show-deals/all-shook-up-las-vegas-deals/
    January 10, 2017 at 11:26 am #199116
    Susan
    Moderator

    I am closing this, as you have marked it resolved. If you are still having issues, please start a new thread.

  • Author
    Posts
Viewing 2 posts - 1 through 2 (of 2 total)
  • The topic ‘Manual Excerpts Read More – Smart Passive Income Pro Theme’ 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