Here’s how to add a short code:
// *********** shortcodes **************
add_shortcode(’ranzly_agents’, ‘ranzre_display_agents’);
function ranzre_display_agents($values){
extract(shortcode_atts(array(
‘pid’ => ‘all’
), $values));
if($pid==’all’){
return ranzRE_show_all_agents();
}
return ‘<h1> Lyle agents</h1>’;
}
#1 by admin on March 3, 2010 - 7:40 am
well, this email was sent to me… it’s intriguing …
#2 by admin on March 3, 2010 - 8:05 am
would love to forward the email to you..just send me your email..