Override templates
-
How to setup override templates? I have child theme, in folder of this theme I created a folder with name wpadverts/templates
Also I created a plugin override-templates.php and activated him, how to configure it, what I have to write in 1.
$dirs[] = $upload_dir["basedir"] . "/wpadverts/";
I want to take files from wp-content/plugins/wpadverts/templates and put in my directory wp-content/themes/mytheme/wpadverts/templates and change these files.
Also I want to change some css files, the same take them from official plugin directory and copy them to my folder, for example wp-content/themes/mytheme/wpadverts/templates/css
How to do it and configure correctly?
Viewing 12 replies - 1 through 12 (of 12 total)
Viewing 12 replies - 1 through 12 (of 12 total)
- The topic ‘Override templates’ is closed to new replies.