I am using iThemes Exchange and it is recommended I add page.php and product.php in order to enable Exchange pages to be fully customizable.
Please let me know if the recommended codes below will work or do I have to make edits for Beaver:
Page.PHP
function render_content() {
if ( have_posts() ) {
while ( have_posts() ) : the_post();
the_content();
endwhile;
} else {
do_action( ‘builder_template_show_not_found’ );
}
}
add_action( ‘builder_layout_engine_render_content’, ‘render_content’ );
do_action( ‘builder_layout_engine_render’, basename( FILE ) );
Product.php
function render_content() {
it_exchange_get_template_part( ‘content’, ‘product’ );
}
add_action( ‘builder_layout_engine_render_content’, ‘render_content’ );
do_action( ‘builder_layout_engine_render’, basename( FILE ) );