Hi @jamescarterd8,
I hope you are well today and thank you for your question.
You are trying to do wrong.
You can either create posts specific to slider category and exclude it from displaying on your site anywhere by using the solution posted in the following topic
https://colorlibsupport.com/t/exclude-slider-category-on-home-page-and-post-page/
Or you can use pages for the slider instead of posts by developing solution as described here
https://colorlibsupport.com/t/slider-on-all-pages-3/
Best Regards,
Movin