Title: bug fix
Last modified: April 1, 2023

---

# bug fix

 *  Resolved [Andrea Scarfo’](https://wordpress.org/support/users/andreascarfo/)
 * (@andreascarfo)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/bug-fix-18/)
 * I love your plugin.
   But it was not working and I noticed something strange in
   the output.
 * So in 
   /includes/shortcodes/psac-recent-post-carousel.php – row 281/includes/
   shortcodes/psac-recent-post-slider.php – row 273
 * it was enough removing two ‘ ‘
 *     ```wp-block-code
       $image_bg_css   = $feat_image ? " background-image: url('".esc_url( $feat_image )."'); " : '';
       ```
   
 * so the correct lines are these
 *     ```wp-block-code
       $image_bg_css = $feat_image ? " background-image: url(".esc_url( $feat_image )."); " : '';
       ```
   

Viewing 1 replies (of 1 total)

 *  Plugin Author [pluginandplay](https://wordpress.org/support/users/pluginandplay/)
 * (@pluginandplay)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/bug-fix-18/#post-16617358)
 * Hi [@andreascarfo](https://wordpress.org/support/users/andreascarfo/)
 * Sorry, I did not get your point correctly. Why you want to remove these lines?
   I have checked the plugin Post Slider and Post Carousel is working perfectly 
   on my local.
 * The above line is just to add the slider image as a background image.
 * Please elaborate your case a little more with exact error so I can get your point
   and try to understand the scenario.

Viewing 1 replies (of 1 total)

The topic ‘bug fix’ is closed to new replies.

 * ![](https://ps.w.org/post-slider-and-carousel/assets/icon-128x128.png?rev=2143555)
 * [Post Slider and Post Carousel with Post Vertical Scrolling Widget - A Responsive Post Slider](https://wordpress.org/plugins/post-slider-and-carousel/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/post-slider-and-carousel/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/post-slider-and-carousel/)
 * [Active Topics](https://wordpress.org/support/plugin/post-slider-and-carousel/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/post-slider-and-carousel/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/post-slider-and-carousel/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [pluginandplay](https://wordpress.org/support/users/pluginandplay/)
 * Last activity: [3 years, 2 months ago](https://wordpress.org/support/topic/bug-fix-18/#post-16617358)
 * Status: resolved