Support » Plugin: Livemesh Addons for Elementor Page Builder » read more link to post carousel

  • Resolved pradeepphule


    Hi there,

    Is there any way to show read more link in post carousel below post excerpt.

    Any suggestion??


Viewing 1 replies (of 1 total)
  • Plugin Author livemesh


    Easy way to accomplish this by leveraging the filters/hooks provided by the plugin. Have the below code snippet in your (child) theme functions.php –

    add_filter('lae_posts_carousel_entry_excerpt', 'mytheme_modify_posts_carousel_entry_excerpt', 10, 3);
    function mytheme_modify_posts_carousel_entry_excerpt($excerpt, $post_id, $settings) {
        $read_more_text = __('Read More', 'livemesh-el-addons');
        $excerpt .= '<div class="lae-read-more">';
        $excerpt .= '<a class="lae-button" href="' . get_the_permalink($post_id) . '">' . $read_more_text . '</a>';
        $excerpt .= '</div>';
        return $excerpt;
Viewing 1 replies (of 1 total)
  • The topic ‘read more link to post carousel’ is closed to new replies.