http://www.courageouscaterpillar.com/adventures/
I’m using the “X” Ethos them. I’d like to create a custom page template for my child theme that includes both content from Cornerstone Builder above and a grid of portfolio items below (Header and Footer included). I’d like it to be based on template-blank-4.php and incorporate template-layout-portfolio.php portfolio content (filter and items). I’ve tried different ways of merging the content of the two php files together. None of them seem to get the “Portfolio Setting” section to show up on the page when the custom template is applied in Page Attributes. What am I missing
Any help or pointing in the right direction would be greatly appreciated!
TEMPLATE-BLANK-4.PHP
<?php // ============================================================================= // VIEWS/ETHOS/TEMPLATE-BLANK-4.PHP (No Container | Header, Footer) // ----------------------------------------------------------------------------- // A blank page for creating unique layouts. // ============================================================================= ?> <?php get_header(); ?> <?php while ( have_posts() ) : the_post(); ?>
<?php the_content(); ?>
<?php x_link_pages(); ?>
<?php endwhile; ?>
</div>
</article>
TEMPLATE-LAYOUT-PORTFOLIO.PHP
<?php // ============================================================================= // VIEWS/ETHOS/TEMPLATE-LAYOUT-PORTFOLIO.PHP // ----------------------------------------------------------------------------- // Portfolio page output for Ethos. // ============================================================================= ?> <?php get_header(); ?> <?php x_portfolio_filters(); ?>
<?php x_get_view( 'global', '_portfolio' ); ?>
</div>
<?php get_sidebar(); ?>
</div>