Make the Continue Reading Post Link a Nofollow Link

  • Danielpdx



    How do I make the continue reading link of a post a nofollow link?

    Thanks in advance



    Syahir Hakim


    Add this to your child theme’s functions.php file:

    function graphene_continue_reading_link() {
    global $in_slider;
    if (!is_page() && !$in_slider) {
    $more_link_text = __( 'Continue reading »', 'graphene' );
    return '</p><p><a class="more-link block-button" href="'.get_permalink().'" rel="nofollow">'.$more_link_text.'</a>';

Viewing 2 posts - 1 through 2 (of 2 total)

  • You must be logged in to reply to this topic.