Actually I have created this plugins while testing chatGPT. So, most of the code is done using chatGPT. I have done some style changes only.
Here Is the plugins to download Post Slider from Specific category.
Wherever you want to put the slider, just use this shortcode [ajax_post_slider]
and You will get some basic Options to change background and category post to show ( screenshot attached)