Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #301567

    Hi,

    When use Portfolio Gird to show my products, there is a good function that can Display Excerpt and Title below the preview image, i only want to show the Excerpt, don’t show the Title, so i choose “only excerpt”, but there is no link in the excerpt, means in the portfolio gird page, when click the excerpt, there is no link to each portfolio. But if show Title, it have links. So, my question is can i add the link to the excerpt just like the title?

    Please help me.

    Best regards,

    Tommy

    #301892

    Hi Tommy,

    Open /config-templatebuilder/avia-shortcodes/portfolio.php and look for line 471:

    $output .= !empty($excerpt) ? "<div class='grid-entry-excerpt entry-content' ".avia_markup_helper(array('context'=>'entry_content','echo'=>false, 'id'=>$the_id, 'custom_markup'=>$custom_markup)).">".$excerpt."</div>" : '';
    

    Replace it by this:

    $output .= !empty($excerpt) ? "<div class='grid-entry-excerpt entry-content' ".avia_markup_helper(array('context'=>'entry_content','echo'=>false, 'id'=>$the_id, 'custom_markup'=>$custom_markup))."><a href='".$title_link."'>".$excerpt."</a></div>" : '';
    

    Regards,
    Josue

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.