/** @see WP_Widget::widget */ function widget($args, $instance) { extract($args); $title = apply_filters('widget_title', $instance['title']); echo $before_widget; if ($title) { echo $before_title . $title . $after_title; } if (function_exists('rps_show')) { echo rps_show(); } echo $after_widget; }
/** @see WP_Widget::widget */ function widget($args, $instance) { extract($args); $title = apply_filters('widget_title', $instance['title']); $category_ids = apply_filters('widget_title', $instance['category_ids']); $total_posts = apply_filters('widget_title', $instance['total_posts']); $post_include_ids = apply_filters('widget_title', $instance['post_include_ids']); $post_exclude_ids = apply_filters('widget_title', $instance['post_exclude_ids']); echo $before_widget; if ($title) { echo $before_title . $title . $after_title; } if (function_exists('rps_show')) { echo rps_show($category_ids, $total_posts, $post_include_ids, $post_exclude_ids); } echo $after_widget; }
</div> </div> <?php $index++; } ?> <div class="break"></div> </div> </div> <!-- END XU HƯỚNG --> <div class="cpmAdapt right"> <?php if (function_exists('rps_show')) { echo rps_show(); } ?> </div> <div class="break"></div> <!-- CATEGORY PHONG CÁCH --> <?php $cat_id = 3; ?> <div class="blacktop left maincolumn"> <h2><a href="<?php echo get_category_link($cat_id); ?>