• Resolved andyt1980

    (@andyt1980)


    Hi,
    Is there a way to add a read more text link just after the ‘…’ like you can with the Generatepress Blog settings. I use WP Show Posts on the homepage but use GP Blog settings for the main blog page and would like to keep everything looking consistent throughout the site.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Tom

    (@edge22)

    Hi there,

    If you add some read more text within the “Read more text” field in the “Content” section of your list settings, a link should appear.

    Let me know if that doesn’t work ??

    Thread Starter andyt1980

    (@andyt1980)

    Yeh I knew about that but it adds it as a button below the text, I just want it immediately after the ‘…’, this is the default position in the GP Blog settings.

    Plugin Author Tom

    (@edge22)

    In that case, try this:

    add_filter( 'wpsp_ellipses', 'tu_add_more_link' );
    function tu_add_more_link() {
        return sprintf( 
            '... <a href="%s">Read more</a>',
            get_permalink()
        );
    }

    Let me know ??

    Thread Starter andyt1980

    (@andyt1980)

    Perfect, thank you!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Read More Link’ is closed to new replies.