how should I call this file into my child's function.php
-
WP structure is like this:
- Parent theme - Child theme -file.php -file2.php -folderoller (folder inside child theme) -file3.phph (this is the file I want to call into my functions.php)
Should I use :
1. locate_template(‘/folderoller/file3.php’, true);
or
2. require_once(‘/folderoller/file3.php’);
or
neither because it’s wrong format.Any help is greatly appreciated. Thanks.
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
- The topic ‘how should I call this file into my child's function.php’ is closed to new replies.