We’re very limited with how we can help people using commercial themes because we cannot access the source code. If your theme is based on the Cherry Framework, there’s probably a shortcode you can use to display a slider. Check the framework’s documentation.
To use shortcodes outside of the normal content area with PHP, do something like this: do_shortcode('[my-slider]');
Be aware that any alterations to your theme template will be overwritten when the theme is updated. Since framework themes are installed as children, you don’t have the ability to make your own child theme to safely keep custom template parts. The best you can do is keep copies of your custom work somewhere safe.