5, 'category' => '', 'tag' => '', 'full' => false, 'h' => '2', 'img' => false, 'size' => 64, 'readmore' => false ), $atts ) ); /***************************************************Config*********************************************************/ //setting full/img to false if it comes through as a string if($full == 'false'){ $full = false; } if($img == 'false'){ $img = false; } if($readmore == 'false'){ $readmore = false; } //setting header size $h = 'h'.$h; //querying posts on input filter parameters $posts = get_posts('category_name='.$category.'&posts_per_page='.$show.'&tag='.$tag); wp_reset_postdata(); /***************************************************Out***********************************************************/ //setting the output variable and setting it with a targetable class global $out; $out = '