I am new in WordPress. I'm using boilerplate template HTML5 Blank in sample project. Index.php file is stored under wp-content/my_theme/index.php I'm using <?php get_header(); ?>
to load header. Header.php file is under the same path.
I have another page under wp-content/my_theme/pages/next_page.php. I'm trying to add header in the same way, but getting error "undefined function".
Function are recognized only for index.php file, but not working for any custom page
How can I fix that?