Using Page Templates with GravityView

Do you have a page template you want to use with GravityView? A full-width page layout, for example?

WordPress allows you to use your theme's page templates for GravityView. Learn more about Post Type Templates.

Adding support just requires one small modification to your theme's template file:

Before:

<?php
/*
Template Name: Full-Width Layout
*/

After (notice the new Template Post Type line):

<?php
/*
Template Name: Full-Width Layout
Template Post Type: page, gravityview
*/

This will add a "Post Attributes" box to your Edit View screen that will allow you to select the layout:

Post Attributes metabox

Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.

Still need help? Contact Us Contact Us