Tagged: Custom Page Templates Viewing 2 posts - 1 through 2 (of 2 total) Author Posts November 24, 2011 at 12:05 am #7166 prapsaruParticipant 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? November 24, 2011 at 7:11 am #56963 DudeModerator 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 Author Posts Viewing 2 posts - 1 through 2 (of 2 total) The topic ‘Custom Page Templates’ is closed to new replies.