function widget_zemanta_related_posts($args) { if (is_single()) { extract($args); echo $before_widget; //echo $before_title . $options["related_posts_title"] . $after_title; $output = zem_rp_get_related_posts($before_title, $after_title); echo $output; echo $after_widget; } }
function zemanta_related_posts() { echo zem_rp_get_related_posts(); }