{"id":3345,"date":"2019-11-22T12:53:50","date_gmt":"2019-11-22T04:53:50","guid":{"rendered":"https:\/\/blog.naibabiji.com\/?p=3345"},"modified":"2019-11-22T13:14:17","modified_gmt":"2019-11-22T05:14:17","slug":"posts-table-with-search-sort","status":"publish","type":"post","link":"https:\/\/blog.naibabiji.com\/files\/posts-table-with-search-sort.html","title":{"rendered":"\u5217\u51fa\u7f51\u7ad9\u5168\u90e8\u6587\u7ae0\u5373\u65f6\u641c\u7d22 Posts Table with Search &#038; Sort"},"content":{"rendered":"<p>\u5982\u679c\u4f60\u60f3\u7528\u4e00\u4e2a\u63d2\u4ef6\u628a\u4f60\u7f51\u7ad9\u6240\u6709\u6587\u7ae0\u90fd\u7f57\u5217\u51fa\u6765\uff0c\u5e76\u4e14\u63d0\u4f9b\u4e00\u4e2a\u5373\u65f6\u641c\u7d22\u529f\u80fd\uff0c\u90a3\u4e48\u53ef\u4ee5\u4f7f\u7528Posts Table with Search &amp; Sort\u8fd9\u6b3e\u63d2\u4ef6\u3002<\/p>\n<p><strong>\u5177\u4f53\u6548\u679c\u53ef\u4ee5\u53c2\u7167\u4e0b\u56fe<\/strong>\uff1a<\/p>\n<p><a href=\"https:\/\/edgeone.naibabiji.com\/wp-content\/uploads\/2019\/11\/ScreenShot00042.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-3346\" src=\"https:\/\/edgeone.naibabiji.com\/wp-content\/uploads\/2019\/11\/ScreenShot00042.png\" alt=\"Posts Table with Search &amp; Sort\" width=\"821\" height=\"628\" \/><\/a><\/p>\n<p>\u4f7f\u7528\u77ed\u4ee3\u7801\u8c03\u7528\uff0c\u53ef\u4ee5\u5728\u9875\u9762\u628a\u7f51\u7ad9\u6240\u6709\u6587\u7ae0\u90fd\u8f93\u51fa\u5230\u524d\u53f0\u7684\u8868\u683c\u91cc\u9762\u663e\u793a\u3002<\/p>\n<p><a href=\"https:\/\/edgeone.naibabiji.com\/wp-content\/uploads\/2019\/11\/ScreenShot00043.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-3347\" src=\"https:\/\/edgeone.naibabiji.com\/wp-content\/uploads\/2019\/11\/ScreenShot00043.png\" alt=\"Posts Table with Search &amp; Sort\" width=\"740\" height=\"439\" \/><\/a>\u53f3\u4e0a\u89d2\u7684\u641c\u7d22\u6846\u8f93\u5165\u5185\u5bb9\u540e\u4f1a\u5728\u4e0b\u65b9\u5373\u65f6\u663e\u793a\u641c\u7d22\u7ed3\u679c\uff0c\u6bd4\u81ea\u5e26\u7684\u641c\u7d22\u901f\u5ea6\u66f4\u5feb\u3002<\/p>\n<p><strong>\u63d2\u4ef6\u514d\u8d39\u7248\u63d0\u4f9b\u7684\u529f\u80fd\uff1a<\/strong><\/p>\n<ul>\n<li>\u521b\u5efa\u53ef\u6392\u5e8f\u548c\u53ef\u8fc7\u6ee4\u7684\u5e16\u5b50\u8868\u3002<\/li>\n<li>\u9009\u62e9\u4ee5\u4e0b\u4efb\u4f55\u6216\u6240\u6709\u5217\uff1a\u5e16\u5b50ID\uff0c\u6807\u9898\uff0c\u5185\u5bb9\uff0c\u7c7b\u522b\uff0c\u6807\u7b7e\uff0c\u4f5c\u8005\u6216\u65e5\u671f\u3002<\/li>\n<li>\u4f7f\u7528\u5206\u9875\u7b80\u5316\u5185\u5bb9\u3002<\/li>\n<li>100\uff05\u54cd\u5e94\u4e0d\u540c\u7684\u5c4f\u5e55\u5c3a\u5bf8\u3002<\/li>\n<li>\u5728\u4e00\u4e2a\u7b80\u5355\u7684HTML\u8868\u4e2d\u663e\u793aWordPress\u535a\u5ba2\u6587\u7ae0\u3002<\/li>\n<li>WPML\u517c\u5bb9\u56fd\u9645\u7ffb\u8bd1\u3002<\/li>\n<\/ul>\n<p><strong>\u9ad8\u7ea7\u7248\u652f\u6301\u7684\u529f\u80fd\uff1a<\/strong><\/p>\n<ul>\n<li>\u663e\u793a\u5e16\u5b50\uff0c\u9875\u9762\u6216\u4efb\u4f55\u81ea\u5b9a\u4e49\u5e16\u5b50\u7c7b\u578b\uff08\u4f8b\u5982\uff0c\u6587\u6863\uff0c\u97f3\u9891\/\u97f3\u4e50\uff0c\u8bfe\u7a0b\uff0c\u4ea7\u54c1\uff0c\u5458\u5de5\u548c\u6210\u5458\u76ee\u5f55\uff0c\u51fa\u7248\u7269\uff0c\u6587\u7ae0\uff0c\u4e66\u7c4d\u7b49\uff09\u3002<\/li>\n<li>\u6dfb\u52a0\u989d\u5916\u7684\u5217\uff1a\u56fe\u50cf\uff0c\u6458\u5f55\uff0c\u72b6\u6001\u6216\u4efb\u4f55\u81ea\u5b9a\u4e49\u5b57\u6bb5\u6216\u5206\u7c7b\u3002<\/li>\n<li>WordPress\u5a92\u4f53\u5d4c\u5165\u652f\u6301\uff0c\u5305\u62ec\u97f3\u9891\u548c\u89c6\u9891\u5e93\u6216\u5a92\u4f53\u64ad\u653e\u5217\u8868\u3002<\/li>\n<li>\u7528\u706f\u7bb1\u5c55\u793a\u7279\u8272\u56fe\u7247\u3002<\/li>\n<li>\u7528\u4e8e\u5206\u7c7b\u6cd5\uff0c\u7c7b\u522b\u548c\u6807\u7b7e\u7684\u4e0b\u62c9\u8fc7\u6ee4\u5668\u3002<\/li>\n<li>\u6309\u81ea\u5b9a\u4e49\u5b57\u6bb5\uff0c\u671f\u9650\uff0c\u65e5\u671f\uff0cID\u7b49\u9009\u62e9\u5e16\u5b50\u3002<\/li>\n<li>\u9ad8\u7ea7\u81ea\u5b9a\u4e49\u5b57\u6bb5\u652f\u6301\u3002<\/li>\n<li>\u542f\u7528AJAX\u4ee5\u51cf\u5c11\u670d\u52a1\u5668\u8d1f\u8f7d\u3002<\/li>\n<li>100\uff05\u54cd\u5e94\uff0c\u5e76\u63d0\u4f9b\u9009\u9879\u6765\u63a7\u5236\u5728\u4e0d\u540c\u5c4f\u5e55\u5c3a\u5bf8\u548c\u8bbe\u5907\u4e0a\u7684\u884c\u4e3a\u3002<\/li>\n<li>\u652f\u6301\u9ad8\u7ea7\u7528\u4f8b\uff0c\u4f8b\u5982\u5982\u4f55\u4e3a\u60a8\u7684\u535a\u5ba2\u521b\u5efa\u5f15\u4eba\u6ce8\u76ee\u7684\u8868\uff0cWordPress\u6587\u6863\u5e93\uff0c\u6210\u5458\u76ee\u5f55\uff0c\u97f3\u9891\u5e93\u6216\u7ec4\u7ec7\u7684Intranet\u3002<\/li>\n<\/ul>\n<p><strong>\u4f7f\u7528\u65b9\u6cd5\uff1a<\/strong><\/p>\n<p>\u5b89\u88c5\u5b8c\u63d2\u4ef6\u540e\uff0c\u5728\u9700\u8981\u8c03\u7528\u7684\u9875\u9762\u8f93\u5165\u6bb5\u4ee3\u7801 <code>[posts_data_table]<\/code> \u5373\u53ef\u3002<\/p>\n<p><a class=\"theme-demo\" href=\"https:\/\/wordpress.org\/plugins\/posts-data-table\/\" target=\"_blank\" rel=\"noopener noreferrer\">\u4e0b\u8f7d\u5730\u5740<\/a><\/p>\n\n\n<div class=\"kk-star-ratings kksr-auto kksr-align-center kksr-valign-bottom\"\n    data-payload='{&quot;align&quot;:&quot;center&quot;,&quot;id&quot;:&quot;3345&quot;,&quot;slug&quot;:&quot;default&quot;,&quot;valign&quot;:&quot;bottom&quot;,&quot;ignore&quot;:&quot;&quot;,&quot;reference&quot;:&quot;auto&quot;,&quot;class&quot;:&quot;&quot;,&quot;count&quot;:&quot;0&quot;,&quot;legendonly&quot;:&quot;&quot;,&quot;readonly&quot;:&quot;&quot;,&quot;score&quot;:&quot;0&quot;,&quot;starsonly&quot;:&quot;&quot;,&quot;best&quot;:&quot;5&quot;,&quot;gap&quot;:&quot;4&quot;,&quot;greet&quot;:&quot;\u7ed9\u672c\u6587\u6253\u5206 post&quot;,&quot;legend&quot;:&quot;0\\\/5 - (0 votes)&quot;,&quot;size&quot;:&quot;24&quot;,&quot;title&quot;:&quot;\u5217\u51fa\u7f51\u7ad9\u5168\u90e8\u6587\u7ae0\u5373\u65f6\u641c\u7d22 Posts Table with Search \\u0026amp; Sort&quot;,&quot;width&quot;:&quot;0&quot;,&quot;_legend&quot;:&quot;{score}\\\/{best} - ({count} {votes})&quot;,&quot;font_factor&quot;:&quot;1.25&quot;}'>\n            \n<div class=\"kksr-stars\">\n    \n<div class=\"kksr-stars-inactive\">\n            <div class=\"kksr-star\" data-star=\"1\" style=\"padding-right: 4px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 24px; height: 24px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" data-star=\"2\" style=\"padding-right: 4px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 24px; height: 24px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" data-star=\"3\" style=\"padding-right: 4px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 24px; height: 24px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" data-star=\"4\" style=\"padding-right: 4px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 24px; height: 24px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" data-star=\"5\" style=\"padding-right: 4px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 24px; height: 24px;\"><\/div>\n        <\/div>\n    <\/div>\n    \n<div class=\"kksr-stars-active\" style=\"width: 0px;\">\n            <div class=\"kksr-star\" style=\"padding-right: 4px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 24px; height: 24px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" style=\"padding-right: 4px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 24px; height: 24px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" style=\"padding-right: 4px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 24px; height: 24px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" style=\"padding-right: 4px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 24px; height: 24px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" style=\"padding-right: 4px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 24px; height: 24px;\"><\/div>\n        <\/div>\n    <\/div>\n<\/div>\n                \n\n<div class=\"kksr-legend\" style=\"font-size: 19.2px;\">\n            <span class=\"kksr-muted\">\u7ed9\u672c\u6587\u6253\u5206 post<\/span>\n    <\/div>\n    <\/div>\n","protected":false},"excerpt":{"rendered":"<p>\u5982\u679c\u4f60\u60f3\u7528\u4e00\u4e2a\u63d2\u4ef6\u628a\u4f60\u7f51\u7ad9\u6240\u6709\u6587\u7ae0\u90fd\u7f57\u5217\u51fa\u6765\uff0c\u5e76\u4e14\u63d0\u4f9b\u4e00\u4e2a\u5373\u65f6\u641c\u7d22\u529f\u80fd\uff0c\u90a3\u4e48\u53ef\u4ee5\u4f7f\u7528Posts Table w [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":3348,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"slim_seo":{"title":"\u5217\u51fa\u7f51\u7ad9\u5168\u90e8\u6587\u7ae0\u5373\u65f6\u641c\u7d22 Posts Table with Search & Sort - \u5976\u7238\u5efa\u7ad9\u7b14\u8bb0","description":"\u5982\u679c\u4f60\u60f3\u7528\u4e00\u4e2a\u63d2\u4ef6\u628a\u4f60\u7f51\u7ad9\u6240\u6709\u6587\u7ae0\u90fd\u7f57\u5217\u51fa\u6765\uff0c\u5e76\u4e14\u63d0\u4f9b\u4e00\u4e2a\u5373\u65f6\u641c\u7d22\u529f\u80fd\uff0c\u90a3\u4e48\u53ef\u4ee5\u4f7f\u7528Posts Table with Search &amp; Sort\u8fd9\u6b3e\u63d2\u4ef6\u3002 \u5177\u4f53\u6548\u679c\u53ef\u4ee5\u53c2\u7167\u4e0b\u56fe \uff1a \u4f7f\u7528\u77ed\u4ee3\u7801\u8c03\u7528\uff0c\u53ef\u4ee5\u5728\u9875\u9762\u628a\u7f51\u7ad9\u6240\u6709\u6587\u7ae0\u90fd\u8f93\u51fa\u5230\u524d\u53f0\u7684\u8868\u683c\u91cc\u9762\u663e\u793a\u3002 \u53f3\u4e0a\u89d2\u7684\u641c\u7d22\u6846\u8f93\u5165\u5185\u5bb9\u540e\u4f1a\u5728\u4e0b\u65b9\u5373\u65f6\u663e\u793a\u641c\u7d22\u7ed3\u679c\uff0c\u6bd4\u81ea\u5e26\u7684\u641c"},"footnotes":""},"categories":[381,140],"tags":[],"class_list":["post-3345","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-wordpress-plugins","category-files"],"_links":{"self":[{"href":"https:\/\/blog.naibabiji.com\/wp-json\/wp\/v2\/posts\/3345","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.naibabiji.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.naibabiji.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.naibabiji.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.naibabiji.com\/wp-json\/wp\/v2\/comments?post=3345"}],"version-history":[{"count":0,"href":"https:\/\/blog.naibabiji.com\/wp-json\/wp\/v2\/posts\/3345\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/blog.naibabiji.com\/wp-json\/wp\/v2\/media\/3348"}],"wp:attachment":[{"href":"https:\/\/blog.naibabiji.com\/wp-json\/wp\/v2\/media?parent=3345"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.naibabiji.com\/wp-json\/wp\/v2\/categories?post=3345"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.naibabiji.com\/wp-json\/wp\/v2\/tags?post=3345"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}