• Resolved SomniumLucidus

    (@somniumlucidus)


    Hey,

    First and foremost, thanks for this very useful plugin!

    I need to delete the ellipsis (…) at the end of the excerpts, or to make them invisible, at least. At first this looked like an easy job for CSS, but sadly it can’t target the ellipsis.

    I looked into the code, but I can’t find where the trailing dots come from.

    Any help, please?

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Tajam

    (@tajam)

    Hi, the ellipsis is from WordPress excerpt function. You can use excerpt_more filter to change it. Please try this code in functions.php of your theme/child theme:

    add_filter(
    	'excerpt_more',
    	function( $more ) {
    		return '';
    	}
    );
    Thread Starter SomniumLucidus

    (@somniumlucidus)

    Thanks, but I just added the snippet to the functions.php file of my child theme, but that didn’t make the ellipsis disappear. It didn’t break anything either, but the ellipsis are still there…

    Plugin Author Tajam

    (@tajam)

    Do you have a live url with this problem?

    Thread Starter SomniumLucidus

    (@somniumlucidus)

    Yep: https://xenarthrans.org/journal/published-issues/

    The two journal covers at the top are managed by the plugin.

    Plugin Author Tajam

    (@tajam)

    Please try the code again with priority higher than 10, for example:

    add_filter(
    	'excerpt_more',
    	function( $more ) {
    		return '';
    	},
    	20
    );
    Thread Starter SomniumLucidus

    (@somniumlucidus)

    It worked! Thank you very much! =)

    I’m gonna leave a positive review for the plugin (I see I hadn’t done so yet).

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Get rid of ellipsis’ is closed to new replies.