I have used to following code to change the location of ‘single’ WordPress templates. define(SINGLE_PATH, TEMPLATEPATH.'/single/'); add_filter('single_template', 'lsmwp_custom_single'); function lsmwp_custom_single($single) { global $wp_query, ...
-
June 3, 2022
- 0 Comments