• 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 Responsive Slider – Remove Ellipses

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 › Genesis Responsive Slider – Remove Ellipses

This topic is: not resolved

Tagged: ellipses, responsive slider, the_content_limit

  • This topic has 5 replies, 2 voices, and was last updated 8 years, 4 months ago by leepettijohn.
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • November 7, 2014 at 10:53 am #130815
    leepettijohn
    Member

    Can someone please help me remove the ellipses after the end of the content limit?

    http://ffdev5.net/
    November 7, 2014 at 1:11 pm #130840
    mickmel
    Member

    It looks like this is already fixed, yes?

    November 7, 2014 at 2:33 pm #130849
    leepettijohn
    Member

    No, they are still there at the end of the excerpt on the slide text.

    November 10, 2014 at 8:36 am #131056
    leepettijohn
    Member

    Still having so much trouble with this and I can only assume it's fairly simple.

    These are the links to the solutions I've tried and to no avail.

    http://wpspeak.com/wordpress-excerpts/
    https://wordpress.org/support/topic/how-to-remove-the-from-the-excerpt#post-1000123
    https://wordpress.org/support/topic/remove-three-dots-after-content-limit

    These are the ellipses I'm trying to get rid of.

    November 12, 2014 at 7:33 am #131284
    leepettijohn
    Member

    I thought I figured out how to do this by using a filter on the_content_limit but it can't find the ellipses to replace.

    I even added code to try and find it instead of replacing.

    I've tried

    • &hellip
    • [&hellip]
    • …
    • […]

    Nothing is working!!!

    add_filter( 'the_content_limit', 'remove_ellipsis' );
    function remove_ellipsis( $text ) {
    	$ellipwhere = strpos($text,'…');
    	$nohellip = str_replace('…', 'HERE',$text);
        return $nohellip ;
    }

    Could really use some help, please!!!

    November 12, 2014 at 12:15 pm #131320
    leepettijohn
    Member

    Hi. Me again. OK I figured out how to do it but it overrides the settings in the Slider Settings which I'm not too happy about, but at least I found a work around.

    add_filter( 'get_the_content_more_link', 'new_read_more_link' );
    function new_read_more_link() {
    	return '<a class="more-link" href="' . get_permalink() . '">Learn More</a>';
    }
    

    Just make sure you remove the [...] from the return or add in anything else you want.

    Hope this helps someone else.

    Cheers.

  • Author
    Posts
Viewing 6 posts - 1 through 6 (of 6 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

© 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