Hello @pixelshrink,
I apologize for not replying sooner.
Please try the scripts below ( add them to the functions.php file of the theme ).
The script will look for your custom templates in the custom folder wp-content/uploads/gmw-templates
You can change the folder destination by changing it in both scripts.
function gmw_custom_modify_get_template( $custom_path_uri ) {
$custom_folder = 'wp-content/uploads/gmw-templates';
$custom_path_uri = array(
'path' => ABSPATH . $custom_folder,
'uri' => get_site_url( '', $custom_folder ),
);
return $custom_path_uri;
}
add_filter( 'gmw_get_template_path_uri', 'gmw_custom_modify_get_template', 50 );
function gmw_cusotm_template_files_folder( $url ) {
// enter the custom location for the template files.
$custom_folder = 'wp-content/uploads/gmw-templates/';
return ABSPATH . $custom_folder;
}
add_filter( 'gmw_get_templates_path', 'gmw_cusotm_template_files_folder', 50 );
I hope this helps.
Let me know if you have any questions.