found a solution using WP_Query() instead of get_pages, I managed to include get_template_part( ‘content’, ‘page’ ); so now I’m keeping the original formatting of twentyfourteen.
the query looks like:
<?php
$args=array(
'post_type' => 'page',
'orderby' => 'menu_order',
'order' => 'DESC'
);
// the query
$the_query = new WP_Query( $args ); ?>
<?php if ( $the_query->have_posts() ) :
while ( $the_query->have_posts() ) : $the_query->the_post();
get_template_part( 'content', 'page' );
endwhile;
wp_reset_postdata(); ?>
<?php else : ?>
<p><?php _e( 'Sorry, no posts matched your criteria.' ); ?></p>
<?php endif; ?>
have you (or the plugin itself) add the code also in the pages.php file after the content tag?
if so remove it and leave the code only in che index.php file
that should be the problem
someone can help me?
thank you..