$locate = locate_template( 'widgets/the-post-widget.php' );
I am using the above path and method to include a file in
functions.php, but that is not happening.
The file doesn't seem to include. Am I doing a mistake?
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It only takes a minute to sign up.Sign up to join this community