Add template in template folder which does not exist in plugin folder

[ad_1]

I want to create a new slider template in my theme, but in get_templates() (“xo-slider/inc/main.php” on line 123) you only search in the plugin folder. Only if a template already exists in the “plugin folder”, this plugin looks in the “theme dir” if you want to overwrite it.

I want to add a template which is in the theme folder, but I do not want to overwrite any original theme. In the end, I want to have all original templates and my custom additional one.

Is this possible?

I currently use version 3.4.2. When I create “wp-content/themes/mytheme/xo-slider/templates/default/template.php” it overwrites the “Default” template. I want to create “…/xo-slider/templates/mynewtemplate/template.php” but I cannot select it as an option for the slider template.

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer