ver 3.4

'4', 'cat' => '', 'order' => 'DESC', 'orderby' => 'post_date' ), $atts)); global $post; $tmppost = $post; $get_cat_posts = get_posts('numberposts='. $limit. '&order='. $order. '&orderby='. $orderby. '&category='. $cat); $cat_list_html = ''; $post = $tmppost; return $cat_list_html; } add_shortcode('list', 'get_category_posts'); ?>