Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: How to Find the Correct Theme Path for Child Themes?


bpisimone
Participant

@bpisimone

Thanks Jeff!

I’m trying, but it’s not working so far. Shouldn’t it look something like this?

$functions_path = locate_template( array( '/library/functions/' ), true );

require_once locate_template( array( '/library/functions/theme_variables.php' ), true );

Here I’m not sure what to do because it’s wrapped in echo and href:

echo '<link rel="stylesheet" type="text/css" href="' . locate_template('template_directory') . '/custom-login/custom-login.css" />';

Skip to toolbar