I was assigned to create a simple Wordpress slider plugin, using a custom post type and Repeater fields from Advanced Custom Fields. The code of this is in slider-custom-types.php
I created a single page (single-slider.php) in the theme I'm working on, so I could define the base markup to display the content properly. These two files are in this gist: https://gist.github.com/JulianBonilla7/5257788444f078107faf5cb97580ee12
So, I want to be able to display an instance of Slider post type (with the HTML markup) into any page or post (from templates code, and from admin using shortcodes), but I have no idea of how should I do that. The idea is to make it work like Revolution Slider does, this one gives you the shortcode to place it in the page editor, or generates PHP code so you can put it directly in the template.
I'm just starting to work in Wordpress and I've searched for information but I don't understand much. I'd love if you can guide me on how to do this task.