• Just to preface my question, I’m still learning php, so thanks in advance for your consideration! 🙂

    I’m using the Starkers theme, and this is the code used to call the header:

    <?php Starkers_Utilities::get_template_parts( array( ‘parts/shared/html-header’, ‘parts/shared/header’ ) ); ?>

    The html-header.php and header.php files are in the parts/shared folder, thus the above paths. Why they do it this way I don’t know.

    I’m working with the Woocommerce plugin, which is looking for get_header(); to fire off their scripts. It is obviously not finding it.

    Question: Can I feasibly combine those 2 files into 1, rename it header.php, put it in the root folder and then call it the correct way get_header(); in my template files?

    Many thanks in advance if you can point me in the right direction!

    -Jane

    [closed as duplicate of http://wordpress.org/support/topic/can-i-take-the-headerphp-out-of-the-parts-folder-in-my-theme?replies=1 ]

The topic ‘Starkers Theme no get_header(); function for Woocommerce’ is closed to new replies.