/** * Front-end display of widget. * * @see WP_Widget::widget() * * @param array $args Widget arguments. * @param array $instance Saved values from database. */ public function widget($args, $instance) { $title = apply_filters('widget_title', $instance['title']); echo $args['before_widget']; if (!empty($title)) { echo $args['before_title'] . $title . $args['after_title']; } //echo __( 'Hello, World!', 'text_domain' ); ?> <ul class="latest-blog-posts"> <?php get_home_page_posts(); ?> </ul> <?php echo $args['after_widget']; }
<?php get_homepage_promos(); ?> </ul> <ul class="home-page-pods"> <?php dynamic_sidebar('home_page_pods'); ?> </ul> </div><!--main--> <div class="sidebar"> <!--<h2>Latest Blog Posts</h2> <ul class="latest-blog-posts"> <?php get_home_page_posts(); ?> <?php get_theme_menu_name(''); ?> </ul> <h2>Class Descriptions</h2> <?php get_classes(); ?> --> <?php dynamic_sidebar('home_page_sidebar'); ?> </div><!--sidebar-->