• Hi. I am trying to place a search bar on one of my pages that will search a mysql database (not related to wordpress at all). And since it’s not related to wordpress, i need to create a custom template that doesnt run through loop.php. The normal coding for a graphene template is:

    get_header(); ?>
    
        <?php
        /* Run the loop to output the pages.
    	 * If you want to overload this in a child theme then include a file
    	 * called loop-page.php and that will be used instead.
    	*/
    	the_post();
        get_template_part( 'loop', 'page' );
        ?>
    
    <?php get_footer(); ?>

    What might the code for a custom template look like if i wanted the template to look the exact same as another template with out running it through loop-page.php?

The topic ‘[Theme: Graphene] Custom template that doesn't use loop.php’ is closed to new replies.