{"id":3309,"date":"2009-06-25T10:57:04","date_gmt":"2009-06-25T02:57:04","guid":{"rendered":"http:\/\/mygeotravel.org\/hcc\/blog\/?p=3309"},"modified":"2014-04-28T10:58:53","modified_gmt":"2014-04-28T02:58:53","slug":"wp-postratings-%e4%bd%bf%e7%94%a8%e5%bf%83%e5%be%97-tips-hacks","status":"publish","type":"post","link":"https:\/\/mynotes.org\/tech\/2009\/06\/25\/3309.htm","title":{"rendered":"wp-postratings \u4f7f\u7528\u5fc3\u5f97 &#8211; tips &#038; hacks"},"content":{"rendered":"<p>WP-Postrating \u4f7f\u7528\u5fc3\u5f97<\/p>\n<p>\u52a0\u83f2\u8c93\u6f2b\u756b\u90e8\u843d\u683c\u7684\u5169\u5927\u91cd\u8981\u529f\u80fd\uff1a\u300c\u641c\u5c0b\u300d\u548c\u300c\u8a55\u5206\u300d\u5df2\u7d93\u90fd\u5927\u81f4\u5b8c\u5de5\u4e86\u3002\u5176\u4e2d\u5e6b\u6f2b\u756b\u8a55\u5206\u7684\u529f\u80fd\u662f\u5229\u7528WP-Postrating\u7684\u63d2\u4ef6\u4f86\u5b8c\u6210\uff0c\u9019\u500b\u63d2\u4ef6\u53ef\u4ee5\u76f4\u63a5\u7528\u6ed1\u9f20\u300c\u9ede\u661f\u661f\u300d\u5c31\u5b8c\u6210\u8a55\u5206\uff0c\u662f\u6211\u89ba\u5f97\u6700\u597d\u7528\u7684\u5730\u65b9\u3002\u4e0d\u904e\u771f\u6b63\u4f7f\u7528WP-Postrating\u4e4b\u5f8c\uff0c\u6709\u4e9b\u5730\u65b9\u9084\u662f\u9700\u8981\u505a\u9ede\u300c\u5fae\u8abf\u300d\uff0c\u65bc\u662f\u6211\u628a\u4fee\u6539\u7684\u90e8\u5206\u5beb\u4e0b\u4f86\uff0c\u5e0c\u671b\u6709\u9700\u8981\u7684\u670b\u53cb\u53ef\u4ee5\u5f97\u5230\u4e00\u4e9b\u5e6b\u52a9\u3002<br \/>\n<!--more--><br \/>\n<strong>\u4e00\u3001\t\u9810\u8a2d\u8a55\u5206<\/strong><br \/>\nWP-Postrating\u539f\u672c\u4e26\u6c92\u6709\u9810\u8a2d\u6bcf\u7bc7\u6587\u7ae0\u7684\u8a55\u5206\uff0c\u65bc\u662f\u53ef\u80fd\u9020\u6210\u4ee5\u4e0b\u7684\u60c5\u6cc1\uff1a<\/p>\n<blockquote><p>\u6587\u7ae0A\u2014\u670910\u4f4d\u8b80\u8005\u7d66\u5206\u6578\uff0c\u5176\u4e2d9\u70ba\u7d665\u5206\uff0c\u53e6\u4e00\u4f4d\u7d664\u5206\uff0c\u5e73\u57474.9\u5206\uff1b<br \/>\n\u6587\u7ae0B\u2014\u53ea\u67091\u4f4d\u8b80\u8005\u7d66\u5206\u6578\uff0c\u7d665\u5206\uff0c\u5e73\u57475\u5206\uff1b<\/p><\/blockquote>\n<p>\u9019\u6a23\u770b\u8d77\u4f86\uff0c\u7576\u7136\u662f\u6587\u7ae0A\u6bd4\u8f03\u53d7\u6b61\u8fce\uff0c\u4f46\u4f9d\u7167\u5206\u6578\u6392\u5e8f\u6642\uff0c\u6587\u7ae0B\u537b\u6703\u6c38\u9060\u6392\u5728\u7b2c\u4e00\u540d\uff0c\u56e0\u70ba\u6587\u7ae0A\u7684\u5206\u6578\u6c38\u9060\u4e5f\u4e0d\u53ef\u80fd\u8d85\u904e\u6587\u7ae0B\u4e86\uff08\u6eff\u52065\u5206\uff09\u3002\u56e0\u6b64\u5982\u679c\u6bcf\u7bc7\u6587\u7ae0\u4e8b\u5148\u90fd\u6709\u4e00\u500b\u5206\u6578\uff08\u4f8b\u59823\u5206\uff09\uff0c\u5c31\u53ef\u4ee5\u907f\u514d\u6389\u4e0a\u8ff0\u554f\u984c\u3002\u89e3\u6c7a\u65b9\u6cd5\u5982\u4e0b\uff1a<\/p>\n<blockquote><p>1.\t\u5c07\u73fe\u6709\u6587\u7ae0\u52a0\u5165\u8a55\u5206\uff1a\u82e5\u5728\u555f\u7528WP-Postrating\u4e4b\u524d\uff0c\u4f60\u5c31\u5df2\u7d93\u6709\u5f88\u591a\u6587\u7ae0\uff0c\u5343\u842c\u4e0d\u8981\u4e00\u7bc7\u4e00\u7bc7\u81ea\u5df1\u53bb\u6253\u5206\u6578\uff0c\u592a\u7d2f\uff01\u8acb\u5148\u555f\u7528WP-Postrating\u63d2\u4ef6\uff0c\u4ed6\u6703\u5e6b\u6587\u7ae0\u958b\u555f\u4e09\u500b\u81ea\u8a02\u6b04\u4f4d\u3002\u6b64\u6642\u53ef\u5229\u7528\u300c<a href=\"http:\/\/orenyomtov.info\/mass-custom-fields-manager-wordpress-plugin.html\">Mass Custom Fields Manager<\/a>\u300d\u63d2\u4ef6\uff0c\u628a\u6bcf\u7bc7\u6587\u7ae0\u7684ratings_users\u6b04\u4f4d\uff08\u6709\u591a\u5c11\u4eba\u8a55\u50f9\u9019\u7bc7\u6587\u7ae0\uff09\u8a2d\u70ba1\uff1b\u628a\u6bcf\u7bc7\u6587\u7ae0\u7684ratings_score\u6b04\u4f4d\uff08\u9019\u7bc7\u6587\u7ae0\u7684\u7e3d\u5f97\u5206\uff09\u8a2d\u70ba3\uff1b\u628a\u6bcf\u7bc7\u6587\u7ae0\u7684ratings_average\u6b04\u4f4d\uff08\u9019\u7bc7\u6587\u7ae0\u7684\u5e73\u5747\u5f97\u5206\uff09\u8a2d\u70ba3\uff0c\u9019\u6a23\u6bcf\u7bc7\u6587\u7ae0\u5c31\u6709\u4e00\u500b\u4e09\u5206\u7684\u8a55\u50f9\u4e86\u3002<br \/>\n2.\t\u672a\u4f86\u767c\u8868\u7684\u6bcf\u7bc7\u6587\u7ae0\u9810\u8a2d\u8a55\u5206\uff1a\u4fee\u6539wp-postratings.php\u4e2d### Function: Add Rating Custom Fields\u6bb5\u843d\uff0c\u5c07ratings_users\uff08\u6709\u591a\u5c11\u4eba\u8a55\u50f9\u9019\u7bc7\u6587\u7ae0\uff09\u7684\u9810\u8a2d\u503c\u75310\u6539\u70ba1\uff1b\u5c07ratings_score\uff08\u9019\u7bc7\u6587\u7ae0\u7684\u7e3d\u5f97\u5206\uff09\u7684\u9810\u8a2d\u503c\u75310\u6539\u70ba3\uff1b\u5c07ratings_average\uff08\u9019\u7bc7\u6587\u7ae0\u7684\u5e73\u5747\u5f97\u5206\uff09\u7684\u9810\u8a2d\u503c\u75310\u6539\u70ba3\u3002\uff08<a href=\"http:\/\/forums.lesterchan.net\/index.php\/topic,2735.0.html\">\u76f8\u95dc\u8aaa\u660e<\/a>\uff09<\/p><\/blockquote>\n<p><strong>\u4e8c\u3001\t\u641c\u5c0b\u7d66\u5b9a\u6642\u9593\u7bc4\u570d\u5167\u7684\u597d\u8a55\u6587\u7ae0<\/strong><br \/>\nWP-Postrating\u6709\u63d0\u4f9b\u4f8b\u5982\uff1a\u904e\u53bb\u4e00\u9031\u3001\u904e\u53bb\u4e00\u500b\u6708\u3001\u6216\u904e\u53bb\u4e00\u5e74\u5167\u8a55\u5206\u6700\u9ad8\u7684\u6587\u7ae0\u5217\u8868\u529f\u80fd\uff0c\u4f46\u9019\u4e9b\u6642\u9593\u7bc4\u570d\u90fd\u6709\u4e00\u500b\u57fa\u6e96\uff0c\u90a3\u5c31\u662f\u7531\u300c\u4eca\u5929\u300d\u8d77\u7b97\u3002\u52a0\u83f2\u8c93\u6f2b\u756b\u90e8\u843d\u683c\u4e00\u76f4\u60f3\u9078\u51fa\u300c\u5e74\u5ea6\u300d\u7cbe\u9078\u6f2b\u756b\uff08\u4f8b\u59822008\uff09\uff0c\u90a3\u6642\u9593\u7bc4\u570d\u5c31\u5fc5\u9808\u662f2008-1-1\u52302008-12-31\uff0c\u9019\u6642\u5019\u5c31\u5fc5\u9808\u8981\u81ea\u5df1\u4fee\u6539\u8a2d\u5b9a\u6642\u9593\u7bc4\u570d\u7684\u7a0b\u5f0f\u78bc\u4e86\u3002\u89e3\u6c7a\u65b9\u6cd5\u5982\u4e0b\uff1a<\/p>\n<blockquote><p>1.\t\u4fee\u6539wp-postratings-stats.php\u4e2d### Function: Display Highest Rated Page\/Post With Time Range\u6bb5\u843d\uff08\u6839\u64da1.4\u7248\u6539\u5beb\uff0c\u5176\u4ed6\u529f\u80fd\u53ef\u4ee5\u6bd4\u7167\u6539\u5beb\uff09\uff0c\u5c07283-326\u884c\u8907\u88fd\u4e00\u4efd\uff0c\u8cbc\u5728327\u884c\u4e4b\u5f8c\u3002<br \/>\n2.\t\u5c07283\u884c\u7684\u8a3b\u89e3\u6539\u70ba<code>### Function: Display Highest Rated Page\/Post With Time Range New<\/code><br \/>\n3.\t\u5c07284-285\u884c\u7684\u529f\u80fd\u540d\u7a31<code>get_highest_rated_range<\/code>\u66f4\u540d\u70ba<code>get_highest_rated_range_new<\/code><br \/>\n4.\t\u5c07285\u884c\u4e2d<code>$time = '1 day',<\/code>\u8b8a\u6578\u522a\u9664\uff0c\u4e26\u5728\u539f\u8655\u65b0\u589e\u5169\u500b\u8b8a\u6578<code>$min_time = '2009-06-01',$max_time = '2009-06-30',<\/code>\u4ee3\u8868\u9810\u8a2d\u7684\u8d77\u59cb\u6642\u9593\uff082009-06-01\uff09\u548c\u7d50\u675f\u6642\u9593\uff082009-6-30\uff09\u3002<br \/>\n5.\t\u522a\u9664290\u884c<code>$min_time = strtotime('-'.$time, current_time('timestamp'));<\/code><br \/>\n6.\t\u5c07311\u884c\u4e2d\uff0c\u539f\u672c\u662f\u6bd4\u8f03\u8a55\u5206\u6642\u9593\u7bc4\u570d\u7684<code>rating_timestamp &gt;= $min_time<\/code>\u6539\u6210\u6bd4\u8f03\u6587\u7ae0\u6642\u9593<code>$wpdb-&gt;posts.post_date &gt;= '\".$min_time.\"' AND $wpdb-&gt;posts.post_date &lt;= &#039;&quot;.$max_time.&quot;&#039;<\/code><br \/>\n7.\t\u5728\u60f3\u8981\u986f\u793a\u597d\u8a55\u6587\u7ae0\u5217\u8868\u7684\u9801\u9762\uff08\u5efa\u8b70\u65b0\u589e\u4e00\u500b\u9801\u9762\u6a23\u7248\uff09\uff0c\u52a0\u5165WP-Postrating\u9810\u8a2d\u7684\u8a9e\u6cd5\uff08\u5176\u4e2d\u529f\u80fd\u540d\u7a31\u6709\u52a0_new\uff09\uff1a<br \/>\n<a href=\"http:\/\/mynotes.org\/hcc\/blog\/wp-content\/uploads\/2009\/06\/php1.jpg\"><img decoding=\"async\" src=\"http:\/\/mygeotravel.org\/hcc\/blog\/wp-content\/uploads\/2009\/06\/php1.jpg\" alt=\"php1\" width=\"400\" class=\"aligncenter size-full wp-image-3312\" \/><\/a><br \/>\n8.\t\u5982\u679c\u60f3\u8981\u986f\u793a2008-01-01\u52302008-12-31\uff0c\u5c31\u5c07\u4e0a\u9762\u7b2c\u4e09\u884c\u4e2d\u6558\u8ff0\u90e8\u5206\u6539\u6210      <code> get_highest_rated_range_new(\u20182008-01-01\u2019,\u2019 2008-12-31\u2019); <\/code>\u5176\u9918\u8a2d\u5b9a\u5247\u53c3\u95b1<a href=\"http:\/\/lesterchan.net\/wordpress\/readme\/wp-postratings.html\">\u539f\u59cb\u8a9e\u6cd5<\/a>\u3002<\/p><\/blockquote>\n<p><strong>\u4e09\u3001\u8a08\u5206\u65b9\u5f0f\u8abf\u6574<\/strong><br \/>\n\u5728\u300c\u986f\u793a\u7279\u5b9a\u6642\u9593\u7bc4\u570d\u5167\u8a55\u5206\u5217\u8868\u300d\u7684\u529f\u80fd\u4e2d\uff0c\u8a08\u5206\u65b9\u5f0f\u597d\u50cf\u6709\u9ede\u602a\uff0c\u4ed6\u4e0d\u662f\u5229\u7528\u6bcf\u7bc7\u6587\u7ae0\u7684\u81ea\u8a02\u6b04\u4f4d\u6578\u503c\uff0c\u800c\u662f\u5229\u7528\u8a55\u5206\u8a18\u9304\u3002\u5982\u6b64\u4e00\u4f86\uff0c\u6211\u5011\u525b\u525b\u52a0\u5165\u7684\u9810\u8a2d\u8a55\u5206\u5c31\u7121\u6cd5\u767c\u63ee\u529f\u6548\uff0c\u6240\u4ee5\u9084\u8981\u8abf\u6574\u4e00\u4e0b\uff0c\u89e3\u6c7a\u65b9\u6cd5\u5982\u4e0b\uff08\u540c\u6a23\u4fee\u6539wp-postratings-stats.php\uff09\uff1a<\/p>\n<blockquote><p>1.\t\u5c07\u7b2c311\u884c\u7e3d\u5f97\u5206\u90e8\u5206<code>SUM($wpdb-&gt;ratings.rating_rating) AS ratings_score<\/code>\u6539\u6210<code>SUM($wpdb-&gt;ratings.rating_rating)+3 AS ratings_score <\/code><br \/>\n2.\t\u5c07\u7b2c311\u884c\u5e73\u5747\u5f97\u5206\u90e8\u5206<code>ROUND(((SUM($wpdb-&gt;ratings.rating_rating)\/COUNT($wpdb-&gt;ratings.rating_postid))), 2) AS ratings_average <\/code>\u6539\u6210<code>ROUND((((SUM($wpdb-&gt;ratings.rating_rating)+3)\/(COUNT($wpdb-&gt;ratings.rating_postid)+1))), 2) AS ratings_average<\/code>\n<\/p><\/blockquote>\n<p><strong>\u56db\u3001\u597d\u8a55\u5217\u8868\u76f4\u63a5\u986f\u793a\u5168\u6587<\/strong><br \/>\n\u539f\u59cb\u9810\u8a2d\u7684\u5217\u8868\uff0c\u53ea\u6703\u986f\u793a\u6e05\u55ae\uff0c\u4f46\u6211\u60f3\u628a\u6f2b\u756b\u5167\u5bb9\u76f4\u63a5\u986f\u793a\u5728\u5217\u8868\uff0c\u89e3\u6c7a\u65b9\u6cd5\u5982\u4e0b\uff08\u540c\u6a23\u4fee\u6539wp-postratings-stats.php\uff09\uff1a<\/p>\n<blockquote><p>1.\t\u5c07\u7b2c314\u884c\u539f\u672c\u8f38\u51fa\u7684\u5167\u5bb9<code>$output .= expand_ratings_template($temp, $post-&gt;ID, $post, $chars).\"n\";<\/code>\u6539\u70ba<code>$output .= expand_ratings_template($temp, $post-&gt;ID, $post, $chars).\"n\".nl2br($post-&gt;post_content).\"n\";<\/code><\/p><\/blockquote>\n<p><strong>\u4e94\u3001\u76f4\u63a5\u5f9e\u7db2\u5740\u4e1f\u5165\u53c3\u6578<\/strong><br \/>\n\u6b65\u9a5f\u4e8c7\u4e2d\u7684PHP\u8a9e\u6cd5\u5fc5\u9808\u653e\u5728\u7db2\u9801\u6a21\u7248\u4e2d\uff0c\u6216\u662f\u5229\u7528\u9801\u9762\u53ef\u4ee5\u57f7\u884cPHP\u7684\u63d2\u4ef6\u3002\u4f46\u52a0\u83f2\u8c93\u6f2b\u756b\u5c31\u7b97\u4e00\u5e74\u4e00\u500b\u7cbe\u9078\u5217\u8868\uff0c\u4e5f\u8981\u4e09\u5341\u5e7e\u500b\u7db2\u9801\u6a21\u7248\u6216\u6587\u7ae0\u9801\u9762\uff08\u5d29\u6f70\uff09\uff0c\u6240\u4ee5\u5982\u679c\u80fd\u7528\u7db2\u5740\u4f86\u4e1f\u8d77\u8fc4\u6642\u9593\u7684\u53c3\u6578\uff0c\u5c31\u53ea\u8981\u4e00\u500b\u9801\u9762\u53ef\u4ee5\u641e\u5b9a\uff01\u89e3\u6c7a\u65b9\u6cd5\u5982\u4e0b\uff1a<\/p>\n<blockquote><p>1.\t\u958b\u555f\u4e00\u500b\u65b0\u9801\u9762\uff0c\u4e26\u7de8\u5beb\u4e00\u500b\u9801\u9762\u6a21\u7248\uff0c\u52a0\u5165\u6b65\u9a5f\u4e8c7\u4e2d\u7684PHP\u8a9e\u6cd5\uff0c\u5047\u8a2d\u7db2\u5740\u70ba\uff1ahttp:\/\/mygeotravel.org\/garfield\/blog\/?page_id=12791<br \/>\n2.\t\u5c07\u7db2\u9801\u6a21\u7248\u4e2d\u7684<br \/>\n<a href=\"http:\/\/mynotes.org\/hcc\/blog\/wp-content\/uploads\/2009\/06\/php1.jpg\"><img decoding=\"async\" src=\"http:\/\/mygeotravel.org\/hcc\/blog\/wp-content\/uploads\/2009\/06\/php1.jpg\" alt=\"php1\" width=\"400\" class=\"aligncenter size-full wp-image-3312\" \/><\/a><br \/>\n\u6539\u70ba<br \/>\n<a href=\"http:\/\/mynotes.org\/hcc\/blog\/wp-content\/uploads\/2009\/06\/php2.jpg\"><img decoding=\"async\" src=\"http:\/\/mygeotravel.org\/hcc\/blog\/wp-content\/uploads\/2009\/06\/php2.jpg\" alt=\"php2\" width=\"400\" class=\"aligncenter size-full wp-image-3313\" \/><\/a><br \/>\n3.\t\u5728\u700f\u89bd\u5668\u4e0a\u8f38\u5165\u7db2\u5740http:\/\/mygeotravel.org\/garfield\/blog\/?page_id=12791&amp;date1=2009-05-01&amp;date2=2009-06-20<br \/>\n\u7db2\u5740\u4e2d\u7684date1\u548cdate2\u53c3\u6578\u5c31\u6703\u88ab\u6293\u9032\u9801\u9762\u7684PHP\u4e2d\uff0c\u7576\u4f5c\u8d77\u8fc4\u65e5\u671f\u3002<br \/>\n4.\t\u4ee5\u5f8c\u53ea\u8981\u5728\u9801\u9762\u4e2d\u8f38\u5165\u4e0a\u8ff0\u9023\u7d50\uff0c\u5c31\u53ef\u4ee5\u9023\u7d50\u5230\u7279\u5b9a\u65e5\u671f\u7bc4\u570d\u7684\u597d\u8a55\u5217\u8868\u3002<br \/>\n5.\t\u6bd4\u7167\u4e0a\u8ff0\u65b9\u5f0f\uff0c\u53e6\u5916\u8907\u88fd\u4e00\u4efd\u6a21\u7248\uff0c\u628a<code>get_highest_rated_range_new($_GET['date1'],$_GET['date2'])<\/code>\u6539\u6210<code>get_highest_rated_range_new('2006-06-01','2006-06-30')<\/code>\uff0c\u4e5f\u5c31\u662f\u76f4\u63a5\u7d66\u5b9a\u9019\u500b\u6a21\u7248\u79c0\u51fa\u7684\u6642\u9593\u5340\u6bb5\u3002\u7136\u5f8c\u65b0\u589e\u4e00\u7bc7\u300c\u9801\u9762\u300d\u4e26\u9078\u5b9a\u9019\u500b\u6a21\u7248\uff0c\u9019\u6a23\u5c31\u53ef\u4ee5\u628a\u67d0\u500b\u6642\u9593\u5340\u6bb5\u7684\u7968\u9078\u9801\u9762\u8a2d\u70ba\u9996\u9801\uff0c\u8b93\u6240\u6709\u8a2a\u5ba2\u65b9\u4fbf\u6295\u7968\u3002<\/p>\n<\/blockquote>\n<hr>\n<p><strong>2009.07.11 Updated<\/strong><\/p>\n<p><strong>\u516d\u3001\u8b93\u597d\u8a55\u5217\u8868\u9801\u9762\u53ef\u4ee5\u6295\u7968<\/strong><br \/>\n\u4e0a\u500b\u6b65\u9a5f\u4e2d\u6240\u7522\u751f\u7684\u597d\u8a55\u9801\u9762\u7121\u6cd5\u76f4\u63a5\u6295\u7968\uff1f\uff01\u8b80\u8005\u5fc5\u9808\u9ede\u9078\u6587\u7ae0\u6a19\u984c\u9032\u5165\u6587\u7ae0\u5f8c\u624d\u80fd\u6295\u7968\uff0c\u5f88\u4e0d\u65b9\u4fbf\u3002\u89e3\u6c7a\u65b9\u6cd5\u5982\u4e0b\uff1a<\/p>\n<blockquote><p>1.\t\u627e\u5230\u6b65\u9a5f\u56db-1\u90a3\u884c\u7a0b\u5f0f\uff0c\u5728\u5176\u4e0a\u65b9\u52a0\u5165\u4e00\u884c<code>the_ratings($start_tag = 'div', $post-&gt;ID, $display = true);<\/code>\u5373\u53ef\u3002\u5728<code>the_ratings()<\/code>\u6240\u547c\u53eb\u51fa\u4f86\u7684\u6295\u7968\u529f\u80fd\uff0c\u4f7f\u7528\u7684\u662fRatings Vote Text\u3001Ratings Voted Text\u3001Ratings No Permission Text\u548cRatings None\u6a21\u7248\uff08\u5728wp-postratings\u7684ratings templates\u4e2d\u8a2d\u5b9a\uff09\uff0c\u4e5f\u5c31\u662f\u548c\u6b63\u5e38\u60c5\u6cc1\u4e0b\u6bcf\u7bc7\u6587\u7ae0\u6240\u986f\u793a\u7684\u6295\u7968\u529f\u80fd\u76f8\u540c\u3002<\/p>\n<p>2.\t\u7531\u65bc\u597d\u8a55\u5217\u8868\u4f7f\u7528\u7684\u662fHighest Rated\u6a21\u7248\uff08\u5728wp-postratings\u7684ratings templates\u4e2d\u8a2d\u5b9a\uff09\uff0c\u56e0\u6b64Highest Rated\u6a21\u7248\u4e2d\u82e5\u6709\u986f\u793a\u661f\u661f\uff08<code>%RATINGS_IMAGES%<\/code>\uff09\u6216\u5df2\u7d93\u6709\u5e7e\u500b\u4eba\u6295\u7968\u7b49\u7b49\uff0c\u6703\u548c\u6211\u5011\u525b\u525b\u52a0\u5165\u90a3\u884c\u91cd\u8907\uff0c\u56e0\u6b64\u5efa\u8b70\u5728Highest Rated\u6a21\u7248\u4e2d\u53bb\u9664\u90a3\u4e9b\u8cc7\u8a0a\u3002\u5efa\u8b70\u4fdd\u7559\u6587\u7ae0\u6a19\u984c\uff08<code>%POST_TITLE%<\/code>\uff09\u4e26\u8b93\u6587\u7ae0\u6a19\u984c\u653e\u5728\u6587\u7ae0\u9023\u7d50\uff08<code>%POST_URL%<\/code>\uff09\u4e4b\u4e2d\u3002<br \/>\n3.\t\u5982\u6b64\u4e00\u4f86\uff0chighest rated\u7684widget\u5c31\u4e0d\u8981\u7528\u6bd4\u8f03\u597d\u3002<\/p><\/blockquote>\n","protected":false},"excerpt":{"rendered":"<p>WP-Postrating \u4f7f\u7528\u5fc3\u5f97 \u52a0\u83f2\u8c93\u6f2b\u756b\u90e8\u843d\u683c\u7684\u5169\u5927\u91cd\u8981\u529f\u80fd\uff1a\u300c\u641c\u5c0b\u300d\u548c\u300c\u8a55\u5206\u300d\u5df2\u7d93\u90fd\u5927\u81f4\u5b8c\u5de5\u4e86\u3002\u5176\u4e2d [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":"","_links_to":"","_links_to_target":""},"categories":[129,43,44,127,53,42],"tags":[12,15,78],"class_list":["post-3309","post","type-post","status-publish","format-standard","hentry","category-php-program","category-wordpress-website-built","category-plugins-wordpress-website-built","category-program","category-programing-wordpress-website-built","category-website-built","tag-garfield","tag-php","tag-rating"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/mynotes.org\/tech\/wp-json\/wp\/v2\/posts\/3309","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mynotes.org\/tech\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mynotes.org\/tech\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mynotes.org\/tech\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mynotes.org\/tech\/wp-json\/wp\/v2\/comments?post=3309"}],"version-history":[{"count":1,"href":"https:\/\/mynotes.org\/tech\/wp-json\/wp\/v2\/posts\/3309\/revisions"}],"predecessor-version":[{"id":5421,"href":"https:\/\/mynotes.org\/tech\/wp-json\/wp\/v2\/posts\/3309\/revisions\/5421"}],"wp:attachment":[{"href":"https:\/\/mynotes.org\/tech\/wp-json\/wp\/v2\/media?parent=3309"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mynotes.org\/tech\/wp-json\/wp\/v2\/categories?post=3309"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mynotes.org\/tech\/wp-json\/wp\/v2\/tags?post=3309"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}