Hier kommt z.B. mal wieder die my-hacks.php ins Spiel :-)
PHP
//--- BEGIN Template-Pfad verbiegen
function plw123_get_theme_root( $path ) {
$path = WP_CONTENT_DIR;
$path .= "/styles";
return $path;
}
add_filter( 'theme_root', 'plw123_get_theme_root' );
function plw123_get_theme_root_uri( $path ) {
$path = WP_CONTENT_URL;
$path .= "/styles";
return $path;
}
add_filter( 'theme_root_uri', 'plw123_get_theme_root_uri' );
//--- END Template-Pfad verbiegen
Alles anzeigen
Gruß
Ingo