• 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

Genesis Featured Posts, zero content and "…"

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 › Genesis Featured Posts, zero content and "…"

This topic is: resolved

Tagged: genesis featured posts

  • This topic has 4 replies, 2 voices, and was last updated 10 years, 10 months ago by CleanPageDom.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • July 8, 2015 at 9:19 am #158790
    CleanPageDom
    Participant

    Hi there

    Trying to display a list of Featured Posts using the widget. I want to show a CSS-ed "read more" button but no content.

    I've selected "Show Content", set "Content Limit" to 0 and then added a custom "Read More…" text ("GET THE DEAL!").

    But I'm still left with the "..." before the button, which usually comes at the end of the content excerpt. Is there a way to get rid of this? I'm trying to edit the featured-post-widget.php but can't see where the "..." is getting stuck in.

    Page here: http://www.cleanpagedevelopment.co.uk/toweroffun/?page_id=9

    Any help would be great. Thanks
    Dom


    Let’s build a website together…

    http://www.cleanpagedevelopment.co.uk/toweroffun/?page_id=9
    July 8, 2015 at 9:33 am #158794
    Genesis Developer
    Member

    add this in your functions.php file

    add_filter('get_the_content_more_link', 'custom_read_more_link');
    add_filter('the_content_more_link', 'custom_read_more_link');
    function custom_read_more_link( $more ) {
    return '';
    }

    Download Genesis Featured Posts Combo Widget | Simple Grid Layouts Plugin for Posts, CPTs and terms
    You can request new tips/help.

    July 8, 2015 at 2:47 pm #158836
    CleanPageDom
    Participant

    Hi there

    Thanks for the help. This removes the button as well, though. Can I adapt that in some way to include a link to the relevant post? So, for example, the first on the list would be:

    "Weekday Entry & Meal Deal £6
    Get The Deal"

    I just want to get rid of that initial "..." which I guess is added to the end of the excerpt.

    Dom


    Let’s build a website together…

    July 8, 2015 at 8:53 pm #158862
    Genesis Developer
    Member

    Remove the previous one and try this new code

    add_filter('get_the_content_more_link', 'custom_read_more_link');
    add_filter('the_content_more_link', 'custom_read_more_link');
    function custom_read_more_link( $more ) {
    return '<a href="'.get_permalink().'">' . __('Get The Deal', 'child_theme')  . '</a>';
    }

    Download Genesis Featured Posts Combo Widget | Simple Grid Layouts Plugin for Posts, CPTs and terms
    You can request new tips/help.

    July 21, 2015 at 1:08 pm #160016
    CleanPageDom
    Participant

    Hey there

    Sorry for not getting back sooner. This worked perfectly. Much appreciated.

    Dom


    Let’s build a website together…

  • Author
    Posts
Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Genesis Featured Posts, zero content and "…"’ 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

© 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