Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #17251

    Hello,

    I need to know how to delete or translate the phrase “Continue reading →” button after each excerpt in the portfolio. I was reviewing other treads in the forum, but really did not find any answer

    #94732

    Hey!

    Open up brightboxincludesloop-portfolio.php and remove following code:

    echo '<a class="more-link" href="'. get_permalink().'">'.__('Read more','avia_framework').'</a>';

    You can also stick with the read more button and replace “Read more” with your custom text/caption.

    Best regards,

    Peter

    #94733

    Hi Peter,

    Removing this line, stop dating the button perola phrase “continue reading” keeps coming.

    You can see that apararece http://www.filarmonicajovendecolombia.org text at the end of the sentence continue reading and ends with the button. I need to eliminate or translate the phrase.

    Thanks

    #94734

    I checked the code in includes/helper-templates.php and I can’t find a reference to “continue reading”:

    if(!$additional_loop->post->post_excerpt || $data['value'] == $this->post_id)
    {
    $content = get_the_content(__('Read more','avia_framework'));
    $content = apply_filters('the_content', $content);
    $content = str_replace(']]>', ']]>', $content);
    }
    else
    {
    $content = apply_filters('the_excerpt', get_the_excerpt());
    $content .= '<p><a class="more-link" href="'.get_permalink().'">'.__('Read more','avia_framework').'</a></p>';
    }

    Maybe a plugin outputs the “continue reading link/text” by using the content filter/hook?

    #94735

    Hi, Dude, i have resolved the issue, it was a call from a plugin i was using.

    Thanks for the help

    #94736

    Hey,

    Glad you fixed it.

    Regards,

    Ismael

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

The topic ‘How to remove Continue reading →’ is closed to new replies.