function sp_do_AuthorPostsShortcode($atts) { $args = array(); if (isset($atts['tagid'])) { $args['tagId'] = $atts['tagid']; } if (isset($atts['tagclass'])) { $args['tagClass'] = $atts['tagclass']; } if (isset($atts['authorid'])) { $args['authorId'] = $atts['authorid']; } if (isset($atts['showforum'])) { $args['showForum'] = $atts['showforum']; } if (isset($atts['showdate'])) { $args['showDate'] = $atts['showdate']; } if (isset($atts['limit'])) { $args['limit'] = $atts['limit']; } if (isset($atts['listtags'])) { $args['listTags'] = $atts['listtags']; } $args['echo'] = 0; return sp_do_sp_AuthorPostsTag($args); }
function sp_AuthorPostsTag($args = '') { include_once SPTEMPTAGSDIR . 'sp-AuthorPosts-tag.php'; return sp_do_sp_AuthorPostsTag($args); }