WordPress give a function to create shortcode to use any cms page or widget or any template. you can add your custom attributes to filter your shortcode data. you can use shortcode like [pro_post_site_listing category=”34″] 


function pro_post_site_listing_shortcode_f($atts)



‘category’ => ”,

), $atts));

$content = futinon();


return $content;


function futinon(){


include ‘front-list-site.php’;


Please login or Register to submit your answer
Not the answer you are looking for? Browse other questions tagged or ask your own question.