akashop/volumes/wp/wp-content/themes/neve/page-templates/template-pagebuilder-full-w...

27 lines
453 B
PHP

<?php
/**
* Template Name: Page Builder Full Width (Neve)
*
* The template for the page builder full-width.
*
* It contains header, footer and 100% content width.
*
* @package Neve
*/
add_action(
'body_class',
function ( $class ) {
$class[] = 'nv-template';
return $class;
}
);
get_header();
if ( have_posts() ) {
while ( have_posts() ) {
the_post();
get_template_part( 'template-parts/content', 'pagebuilder' );
}
}
get_footer();