Site logo

[Resolved] How to add 3 dots at the end of excerpt

Home Forums Support [Resolved] How to add 3 dots at the end of excerpt

Home Forums Support How to add 3 dots at the end of excerpt

Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #1548124
    Sima

    How to add … at the end of excerpts before read more?

    #1549139
    David
    Staff
    Customer Support

    Hi there,

    the ellipses ( 3 dots ) are the default behaviour of the automatic excerpt.
    Are you adding a manual excerpt ?

    Share a link to your site so i can see the issue.

    #1550231
    Sima

    No. I am not adding a manual excerpt but the 3 dots is not displayed.

    #1550371
    Leo
    Staff
    Customer Support

    Hmm that’s weird.

    Can you disable all plugins except GP Premium for me to take a closer look?

    Thanks 🙂

    #1550379
    Sima

    done

    #1550389
    Leo
    Staff
    Customer Support

    And the issue is resolved?
    https://www.screencast.com/t/qEiUnMEKHZ

    #1550535
    Sima

    thanks 🙂

    #1550543
    Sima

    I now noticed that this is due to the below code that I am using in order to convert the read more button to text:
    if ( ! function_exists( ‘generate_custom_blog_excerpt_more’ ) ) :
    /**
    * Prints the read more HTML
    */
    add_filter( ‘excerpt_more’, ‘generate_custom_blog_excerpt_more’, 100 );
    add_filter( ‘the_content_more_link’, ‘generate_custom_blog_excerpt_more’, 100 );
    function generate_custom_blog_excerpt_more( $more ) {
    $generate_settings = wp_parse_args(
    get_option( ‘generate_blog_settings’, array() ),
    generate_blog_get_defaults()
    );
    return ‘

    ‘;
    }
    endif;

    #1550715
    Leo
    Staff
    Customer Support

    I now noticed that this is due to the below code that I am using in order to convert the read more button to text:

    Not sure if I fully understand. The read more is text by default and there is an option in the customizer to turn it into a button.

    Can you remove that code first?

    #1550717
    Sima

    I did and it is working. thanks

    #1550727
    Leo
    Staff
    Customer Support

    No problem 🙂

Viewing 11 posts - 1 through 11 (of 11 total)
  • You must be logged in to reply to this topic.