/** * Render the section */ public function renderSection() { d_get_template('section.php', array(), 'inc/Module/Header/template/'); }
/** * Render the section */ public function renderSection() { $args = array('title' => 'Chùa Phật Giáo', 'subtitle' => 'Danh bạ Chùa Việt Nam', 'icon' => TEMPLATE_URL . '/images/icon-resources.png', 'browse_all_link' => get_post_type_archive_link('temple'), 'browse_all_text' => __('XEM TẤT CẢ', DIRESS_DOMAIN), 'query_args' => array('post_type' => 'temple', 'post_status' => array('publish'))); d_get_template('section.php', $args, 'inc/Module/HomeSection/template/'); }
<div class="row section-row"> <?php while ($the_query->have_posts()) { $the_query->the_post(); ?> <?php $classes = 'article-4 contentbox'; switch ($the_query->current_post) { case 2: $classes .= ' nrm-t'; break; case 3: $classes .= ' nrm-d'; break; } d_get_template('article-content.php', array('classes' => $classes)); ?> <?php } ?> </div> <?php if (isset($browse_all_link)) { ?> <div class="row"> <a href="<?php _e($browse_all_link); ?> " class="link-all"> <span class="link-all-text text-color"><?php _e($browse_all_text);
* @package _s */ get_header(); while (have_posts()) { the_post(); ?> <?php $populatedPost = d_populate_post(get_the_ID()); ?> <script type="json/data" class="postdata" id="temple_data"><?php _e(wp_json_encode($populatedPost)); ?> </script> <div class="page about v2"> <?php d_get_template('single-temple-header.php', $populatedPost); ?> <div class="section-content-container benefits"> <div class="container"> <section class="page-section launchpad"> <div class="benefits-container"> <div class="inside"> <h1 class="section-title"><?php the_title(); ?> </h1> <div class="subtitle"><?php the_excerpt(); ?> </div>
<?php get_header(); d_get_template('section-intro.php'); do_action('diress_home_section'); get_footer();