【发布时间】:2013-07-18 17:06:48
【问题描述】:
问题是the_ratigs()跳出<div id="wpratings">
function wpratings( $atts, $content = null ) {
return '<div id="wpratings"><b>Rating: </b>' . the_ratings() . '</div>';
}
add_shortcode("wpratings", "wpratings");
短代码输出示例:
5.00 <<< this is output of the_ratings()
Here is the post content
Rating: <<< this is place of <div id="wpratings">
【问题讨论】: