I'd like to develop some custom page templates with database queries. The Avisio theme offers a straightforward way of doing this. Is there a similar method in this theme?
Custom Page Templates2 posts from 2 voices
Yes - basically you just need to make a copy of page.php, at the very top add the "page template name" as comment and then modify following line:
get_template_part( 'includes/loop', 'page' );
so that it points to your template (i.e. includes/page_custom.php would look like:
get_template_part( 'includes/loop', 'page_custom' );
Then make a copy of includes/loop-page.php, rename it to loop-page_custom.php and add your custom queries
You must log in to post.