File "template-widget.php"
Full Path: /home2/sdektunc/cepali.edu.mx/wp-content/themes/shapely/page-templates/template-widget.php
File size: 536 bytes
MIME-type: text/x-php
Charset: utf-8
<?php
/**
*
* Template Name: Builder Page
*
*/
?>
<?php
get_header();
while ( have_posts() ) {
the_post();
global $post;
$sidebar_id = 'shapely-' . $post->post_name;
if ( ! function_exists( 'dynamic_sidebar' ) || ! dynamic_sidebar( $sidebar_id ) ) {
echo '<div class="container p24 wp-caption-text">';
echo '<h5>' . sprintf( esc_html__( 'This is the %s sidebar, add some widgets to it to change it.', 'shapely' ), esc_html( get_the_title() ) ) . '</h5>';
echo '</div>';
}
}
get_footer();