• Resolved Vatndal

    (@vatndal)


    Hi! I use the Duster theme and I have fixed everything the way I want, but there is one thing I just CAN’T figure out..!?

    How can I change the excerpt link “Continue Reading” on blog posts? I’ve tried EVERYTHING.. functions.php – content-single.php – content-link.php and every othet php file containing anything with excerpt in it. So now I need to ask here in the forum..

    Please, can anyone help me with this?

    Thanks.

Viewing 8 replies - 1 through 8 (of 8 total)
  • Thread Starter Vatndal

    (@vatndal)

    bump.. again

    Thread Starter Vatndal

    (@vatndal)

    Dont anyone know anything about this?

    bumping is against the forum rules – and is also very impolite and does not result in any faster responses.

    can you post a link to your site to illustrate what you have achieved so far?

    Thread Starter Vatndal

    (@vatndal)

    Ok. I haven

    Thread Starter Vatndal

    (@vatndal)

    t achieved anything yet. I’m trying hard, but can’t find any solution.

    have you looked into:

    content.php (line 40):

    <?php the_content( __( 'Continue reading <span class="meta-nav">&rarr;</span>', 'duster' ) ); ?>

    functions.php (line 200):

    function duster_continue_reading_link() {
    	return ' <a href="'. get_permalink() . '">' . __( 'Continue reading <span class="meta-nav">&rarr;</span>', 'duster' ) . '</a>';
    }

    this is all, as far as i can see.

    Thread Starter Vatndal

    (@vatndal)

    Yes, I have tried to change the ‘Contine reading’ to my desierd words, but it dosen’t seem to have any effect changing that on any php. page.

    So if anyone could help me find a solution I’ll be glad!

    Thread Starter Vatndal

    (@vatndal)

    Solved! Just add this code to your functions.php and it overrides the filter. Then just change to desierd text in the end.

    add_filter( 'the_content_more_link', 'my_more_link', 10, 2 );
    
    function my_more_link( $more_link, $more_link_text ) {
    	return str_replace( $more_link_text, 'Continue reading &rarr;', $more_link );
    }
Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Can't Change "Continue reading" Custom Excerpt Link?’ is closed to new replies.