• Hi,

    I’ve created a template based on Zurb Foundation 5 for my first WP site and am looking to convert the html into a WP Theme. The structure of the html5 index.php file is as follows:

    <?php
        include("inc/header.inc");
        include("inc/navigation.inc");
        include("inc/banner.inc");
        include("inc/mobile-menu.inc");
        include("inc/search.inc");
        ?>
    
        <!-- Main Content -->
    
        <!-- End of Main Content -->
    
    <?php
        include("inc/sidebar.inc");
        include("inc/spreview.inc");
        include("inc/gpreview.inc");
        include("inc/footer.inc");
        include("inc/scripts.inc");
        ?>

    The aim is to keep the structural files from clogging up the theme root level. In addition, the css, js, img and fnt directories are all located under the assets directory again at the theme root level.
    All the online help I’ve looked at so far present a simplistic WP structure of header.php, index.php and footer.php which isn’t going to work in this instance.

    I would be very grateful if someone could point me in the right direction to any documentation or onine help that will help explain what I need to do.

  • The topic ‘Theme Structure Query’ is closed to new replies.