I've created a custom template for my "About Us" page because it need more options than what the static "page.php" file had to offer.
However the content that i enter into my "About Us" page from the default WYSIWYG editor on the back end doesn't appear on the new template obviously because i'm not calling in that template part (if that's even the right term for it).
Just to be clear when i create a custom template and need to call in a custom Field Group i'm using
<?php get_template_part( 'content', 'content_area' ); ?>
However i will state that on this template page i'm not using a loop in this particular php file, is that not ok. Do loops need to be part of all php pages? Maybe i should start there.
Here's my code
/* Template Name: About Us */ include(TEMPLATEPATH."/header-internal.php"); <div class="container-space"></div> <div class="container-main"> some content goes here <div class="divider-btm"></div> <?php get_template_part( 'content', 'content_area' ); ?> </div> <!--Update Solution Attempt--> <?php $args = array( ' post_type' => 'content_area' ); $the_query = new WP_Query( $args ); ?> <?php if( $the_query->have_posts() ) : while( $the_query->have_posts() : $the_query->have_posts(); ) ?> <h3><?php the_field( 'header' ); ?></h3> <p class="desc"><?php the_field( 'content_area' ); ?></p> <?php endwhile; endif; ?>