Close

Account

Documentation

Forum

Menu

Continue reading link in handmade excerpt

  • Post count: 5
    Leendert
    July 23, 2015 at 12:41 am #13110

    Hi,

    when I create a handmade excerpt I don’t see the “continue reading” link below my excerpt. Take a look: http://www.superfooods.nl/blog
    Looked around and found the following code in “themes-functionality.php”. Do I need to change anything there?

    Thanks,
    Leendert
    /*** excerpt setup ***/

    function jeg_excerpt_masonry_length () {
    return 30;
    }

    function jeg_excerpt_length( $length )
    {
    return 50;
    }

    if ( ! function_exists( ‘jeg_continue_reading_link’ ) )
    {
    function jeg_continue_reading_link() {
    return ‘ ‘ . __( ‘Continue reading <span class=”meta-nav”>→</span>’, ‘jeg_textdomain’ ) . ‘‘;
    }
    }

    function jeg_auto_excerpt_more( $more ) {
    return ‘ …’ . jeg_continue_reading_link();
    }

    function jeg_continue_reading_link() {
    return ‘ ‘ . __( ‘Continue reading <span class=”meta-nav”>→</span>’, ‘jeg_textdomain’ ) . ‘‘;
    }

    function jeg_custom_excerpt_more( $output ) {
    if ( has_excerpt() && ! is_attachment() ) {
    $output .= jeg_continue_reading_link();
    }
    return $output;
    }

    add_filter( ‘excerpt_length’, ‘jeg_excerpt_length’ );
    add_filter( ‘excerpt_more’, ‘jeg_auto_excerpt_more’ );

    Post count: 5998
    Adek
    July 23, 2015 at 5:00 am #13119

    Hi Leendert,

    Just want to make sure. What you mean with create a handmade excerpt on above?

    Thank you

    Post count: 5
    Leendert
    July 23, 2015 at 6:13 am #13124

    Hi Dek,

    I mean the field from wordpress when creating a post and write your own excerpt.

    Thanks,
    Leendert

    Post count: 5998
    Adek
    July 27, 2015 at 2:56 am #13161

    Hi Leendert,

    Unfortunately, on Jkreativ we’re using custom excerpt that will override default excerpt. You will need to make some change in there to make it works. You may need to hire someone or you can use our Custom Service here.

    Thank you

You must be logged in to reply to this topic.