brianearthcrealys
Forum Replies Created
-
Forum: Plugins
In reply to: [Carousel Slider] The update broke the carousel@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 :'(
Forum: Plugins
In reply to: [Carousel Slider] The update broke the carouselHi ! 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).Forum: Plugins
In reply to: [Carousel Slider] Post Slider – display excerpt sectionHi !
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 !
🙂
Forum: Plugins
In reply to: [Carousel Slider] Remove caption from post excerptcheck : 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 !)
🙂Forum: Plugins
In reply to: [Carousel Slider] Excpert text with visual composerI 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 🙂Forum: Plugins
In reply to: [Carousel Slider] Trouble with Divi : show text code not interpreted codeI 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 🙂