function widget($args, $instance) { extract($args); $data[1] = $instance['num_of_comments']; $data[2] = $instance['comment_length']; $data[3] = $instance['comment_list_template']; $data[4] = $instance['include_cat']; $data[5] = $instance['exclude_cat']; $data[6] = $instance['date_format']; $data[7] = $instance['avatar_size']; //$data[8] = $instance['cat_archive']; $data[9] = $instance['limit_type']; $data[10] = $instance['date_format_post']; echo $before_widget; if ($instance['title'] != '') { echo $before_title . $instance['title'] . $after_title; } jme_display_comments($data); echo $after_widget; }
?> "><?php the_title(); ?> </a></li> <?php } wp_reset_postdata(); ?> </ul> </div> </div><!--end tab_container--> <div class="widget"> <h2>Discussion</h2> <?php if (function_exists('jme_display_comments')) { jme_display_comments(array(3 => '<h3>%AUTHORLINK% on <a href="%PERMALINK%">%POSTTITLE%</a></h3>%COMMENT%')); } ?> </div> <?php if (function_exists('dynamic_sidebar') && dynamic_sidebar('Right Sidebar')) { } else { ?> <?php } ?> </div><!--end second-sidebar--> </div><!--end content-wrap-->