Forum Replies Created

Viewing 6 replies - 1 through 6 (of 6 total)
  • @coppoc
    Hi !
    Have you tried to change the code as I specified above ?
    May be, by default, that could solve your pb ?

    I’m not a pro programmer for WP so I did a little patch to solve this specific pb. For sure that could be better if the author would modify, it would be cleaner than my modification :'(

    Hi ! I Got the same pb :
    then I roll back to my modified version (I had troubles formerly with my divi code, so I put the excerpt instead of content)

    Try to change in line 32 of post-carousel.php in carousel-slider/templates/public
    :
    $more_text = apply_filters( ‘carousel_slider_post_read_more’, ‘ …’, $post );
    $_content = apply_filters( ‘the_content’, $post->post_content );
    $_excerpt = wp_trim_words( $_content, $num_words, $more_text );

    to

    $more_text = apply_filters( ‘carousel_slider_post_read_more’, ‘ …’, $post );
    $_excerpt = wp_trim_words( wp_strip_all_tags( $post->post_content ), $num_words, $more_text );
    $_excerpt = $post->post_excerpt;

    That solve the pb of the latest upgrade that made my pages with post carousel hang !
    (the other options : like image carousel seems to be ok).

    🙂

    Anyway, for the developper : thanks for your product it works perfectly 🙂
    (Always little things (like divi support, or post filters with variables or the category of the included page) to improve, but your job is really helpfull for most of situations 😉 thanks again).

    Hi !
    Try to change in line 32 of post-carousel.php in carousel-slider/templates/public
    :
    $more_text = apply_filters( ‘carousel_slider_post_read_more’, ‘ …’, $post );
    $_content = apply_filters( ‘the_content’, $post->post_content );
    $_excerpt = wp_trim_words( $_content, $num_words, $more_text );

    to

    $more_text = apply_filters( ‘carousel_slider_post_read_more’, ‘ …’, $post );
    $_excerpt = wp_trim_words( wp_strip_all_tags( $post->post_content ), $num_words, $more_text );
    $_excerpt = $post->post_excerpt;

    By the way that solve the pb of the latest upgrade that made my pages with post carousel hang !

    🙂

    check : post-carousel.php in plugins/…/templates/public :
    if you remove $_excerpt in ligne 55 it removes the excerpt !
    (Don’t know if it’s exactly what you are seeking !)
    🙂

    I got the same pb :
    post-carousel.php in plugins/…/templates/public :
    33 : $_excerpt = wp_trim_words( wp_strip_all_tags( $post->post_content ), $num_words, $more_text );
    change to (or add the line)
    $_excerpt = $post->post_excerpt;
    what will just put the excerpt and it’s ok 🙂

    Thread Starter brianearthcrealys

    (@brianearthcrealys)

    I auto answer me lol :
    post-carousel.php in plugins/…/templates/public :
    33 : $_excerpt = wp_trim_words( wp_strip_all_tags( $post->post_content ), $num_words, $more_text );
    change to (or add the line)
    $_excerpt = $post->post_excerpt;
    what will just put the excerpt and it’s ok 🙂

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