{"id":93,"date":"2022-05-05T16:56:58","date_gmt":"2022-05-05T08:56:58","guid":{"rendered":"https:\/\/wpeyes.com\/astra\/2022\/05\/05\/%e5%a6%82%e4%bd%95%e4%bd%bf%e7%94%a8%e7%ae%80%e7%a0%81%e5%9c%a8-wordpress-%e5%b8%96%e5%ad%90%e4%b8%ad%e6%b7%bb%e5%8a%a0%e6%90%9c%e7%b4%a2%e8%a1%a8%e5%8d%95\/"},"modified":"2022-05-05T16:56:58","modified_gmt":"2022-05-05T08:56:58","slug":"%e5%a6%82%e4%bd%95%e4%bd%bf%e7%94%a8%e7%ae%80%e7%a0%81%e5%9c%a8-wordpress-%e5%b8%96%e5%ad%90%e4%b8%ad%e6%b7%bb%e5%8a%a0%e6%90%9c%e7%b4%a2%e8%a1%a8%e5%8d%95","status":"publish","type":"post","link":"https:\/\/wpeyes.com\/astra\/2022\/05\/05\/%e5%a6%82%e4%bd%95%e4%bd%bf%e7%94%a8%e7%ae%80%e7%a0%81%e5%9c%a8-wordpress-%e5%b8%96%e5%ad%90%e4%b8%ad%e6%b7%bb%e5%8a%a0%e6%90%9c%e7%b4%a2%e8%a1%a8%e5%8d%95\/","title":{"rendered":"\u5982\u4f55\u4f7f\u7528\u7b80\u7801\u5728 WordPress \u5e16\u5b50\u4e2d\u6dfb\u52a0\u641c\u7d22\u8868\u5355"},"content":{"rendered":"\n<p>\u60a8\u60f3\u5728 WordPress \u5e16\u5b50\u4e2d\u6dfb\u52a0\u641c\u7d22\u8868\u5355\u5417\uff1f<\/p>\n\n\n\n<p>\u5728\u60a8\u7684\u5e16\u5b50\u6216\u9875\u9762\u5185\u5bb9\u4e2d\u6dfb\u52a0\u641c\u7d22\u8868\u5355\u662f\u9f13\u52b1\u8bbf\u95ee\u8005\u67e5\u627e\u66f4\u591a\u5185\u5bb9\u5e76\u5728\u60a8\u7684\u7f51\u7ad9\u4e0a\u505c\u7559\u66f4\u957f\u65f6\u95f4\u7684\u597d\u65b9\u6cd5\u3002<\/p>\n\n\n\n<p>\u5728\u672c\u6587\u4e2d\uff0c\u6211\u4eec\u5c06\u5411\u60a8\u5c55\u793a\u5982\u4f55\u4f7f\u7528 WordPress \u641c\u7d22\u77ed\u4ee3\u7801\u5728\u60a8\u7684\u5e16\u5b50\u548c\u9875\u9762\u4e2d\u6dfb\u52a0\u641c\u7d22\u8868\u5355\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/www.wpbeginner.com\/wp-content\/uploads\/2021\/10\/add-search-form-in-your-post-using-search-shortcode-og-1.png\" alt=\"\u5982\u4f55\u4f7f\u7528 WordPress \u641c\u7d22\u7b80\u7801\u5728\u60a8\u7684\u5e16\u5b50\u4e2d\u6dfb\u52a0\u641c\u7d22\u8868\u5355\"\/><\/figure>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"\u4e3a\u4ec0\u4e48\u8981\u5728\u60a8\u7684\u5e16\u5b50\u548c\u9875\u9762\u4e2d\u6dfb\u52a0\u641c\u7d22\u8868\u5355\">\u4e3a\u4ec0\u4e48\u8981\u5728\u60a8\u7684\u5e16\u5b50\u548c\u9875\u9762\u4e2d\u6dfb\u52a0\u641c\u7d22\u8868\u5355\uff1f<\/h4>\n\n\n\n<p>\u5982\u679c\u8bbf\u95ee\u8005\u559c\u6b22\u9605\u8bfb\u60a8\u7684<a href=\"https:\/\/www.wpbeginner.com\/start-a-wordpress-blog\/\">WordPress \u535a\u5ba2<\/a>\u4e0a\u7684\u5e16\u5b50\uff0c\u90a3\u4e48\u4ed6\u4eec\u53ef\u80fd\u4f1a\u60f3\u8981\u9605\u8bfb\u66f4\u591a\u5185\u5bb9\u3002\u5728\u5e16\u5b50\u4e2d\u63d0\u4f9b\u641c\u7d22\u8868\u5355\u5c06\u5e2e\u52a9\u4ed6\u4eec\u627e\u5230\u66f4\u591a\u4ed6\u4eec\u611f\u5174\u8da3\u7684\u5185\u5bb9\u3002<\/p>\n\n\n\n<p>\u5f53\u60a8\u8ba9\u7528\u6237\u8f7b\u677e\u5730\u5728\u60a8\u7684\u7f51\u7ad9\u4e0a\u82b1\u8d39\u66f4\u591a\u65f6\u95f4\u65f6\uff0c\u60a8\u53ef\u4ee5<a href=\"https:\/\/www.wpbeginner.com\/beginners-guide\/how-to-increase-pageviews-and-reduce-bounce-rate-in-wordpress\/\">\u589e\u52a0\u7f51\u9875\u6d4f\u89c8\u91cf\u5e76\u964d\u4f4e\u8df3\u51fa\u7387<\/a>\u3002<\/p>\n\n\n\n<p>\u60a8\u7684\u8bbf\u95ee\u8005\u4e5f\u66f4\u6709\u53ef\u80fd<a href=\"https:\/\/www.wpbeginner.com\/beginners-guide\/how-to-build-an-email-list-in-wordpress-email-marketing-101\/\">\u52a0\u5165\u60a8\u7684\u7535\u5b50\u90ae\u4ef6\u5217\u8868<\/a>\u3001\u53d1\u8868\u8bc4\u8bba\u3001\u8fdb\u884c\u8d2d\u4e70\u5e76\u5728\u793e\u4ea4\u5a92\u4f53\u4e0a\u5173\u6ce8\u60a8\u3002<\/p>\n\n\n\n<p>\u5728\u672c\u6559\u7a0b\u4e2d\uff0c\u6211\u4eec\u5c06\u5411\u60a8\u5c55\u793a\u5982\u4f55\u5c06\u6807\u51c6 WordPress \u641c\u7d22\u8868\u5355\u6dfb\u52a0\u5230\u60a8\u7684\u5e16\u5b50\u4e2d\u3002\u5982\u679c\u60a8\u60f3\u6dfb\u52a0\u81ea\u5b9a\u4e49\u641c\u7d22\u8868\u5355\uff0c\u8bf7\u53c2\u9605\u6211\u4eec\u7684\u5206\u6b65\u6307\u5357\uff0c<a href=\"https:\/\/www.wpbeginner.com\/?p=103049&amp;preview=true&amp;preview_id=103049\">\u4e86\u89e3\u5982\u4f55\u521b\u5efa\u81ea\u5b9a\u4e49 WordPress \u641c\u7d22\u8868\u5355<\/a>\u3002<\/p>\n\n\n\n<p>\u6211\u4eec\u5c06\u5411\u60a8\u5c55\u793a\u4e24\u79cd\u5728\u60a8\u7684\u5e16\u5b50\u4e2d\u6dfb\u52a0\u641c\u7d22\u8868\u5355\u7684\u65b9\u6cd5\uff0c\u7b2c\u4e00\u79cd\u662f\u6700\u7b80\u5355\u7684\u3002\u4f7f\u7528\u4e0b\u9762\u7684\u94fe\u63a5\u8df3\u8f6c\u5230\u60a8\u60f3\u8981\u4f7f\u7528\u7684\u65b9\u6cd5\u3002<\/p>\n\n\n\n<ul><li><a href=\"https:\/\/www.wpbeginner.com\/wp-tutorials\/how-to-add-search-form-in-your-post-with-a-wordpress-search-shortcode\/#plugin\">\u65b9\u6cd5\u4e00\uff1a\u4f7f\u7528\u63d2\u4ef6\u6dfb\u52a0\u641c\u7d22\u8868\u5355<\/a><\/li><li><a href=\"https:\/\/www.wpbeginner.com\/wp-tutorials\/how-to-add-search-form-in-your-post-with-a-wordpress-search-shortcode\/#code\">\u65b9\u6cd5\u4e8c\uff1a\u4f7f\u7528\u4ee3\u7801\u6dfb\u52a0\u641c\u7d22\u8868\u5355<\/a><\/li><\/ul>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"plugin\">\u65b9\u6cd5\u4e00\uff1a\u4f7f\u7528\u63d2\u4ef6\u6dfb\u52a0\u641c\u7d22\u8868\u5355<\/h4>\n\n\n\n<p>\u5c06\u641c\u7d22\u8868\u5355\u6dfb\u52a0\u5230\u5e16\u5b50\u7684\u6700\u7b80\u5355\u65b9\u6cd5\u662f\u4f7f\u7528<a href=\"https:\/\/searchwp.com\/\" target=\"_blank\" rel=\"noreferrer noopener\">SearchWP<\/a>\u63d2\u4ef6\u3002\u5b83\u662f30,000 \u591a\u4e2a\u7f51\u7ad9\u4f7f\u7528\u7684<a href=\"https:\/\/www.wpbeginner.com\/showcase\/12-wordpress-search-plugins-to-improve-your-site-search\/\">WordPress \u7684\u6700\u4f73\u641c\u7d22\u63d2\u4ef6\u3002<\/a><\/p>\n\n\n\n<p><strong>\u8bbe\u7f6e SearchWP<\/strong><\/p>\n\n\n\n<p>\u60a8\u9700\u8981\u505a\u7684\u7b2c\u4e00\u4ef6\u4e8b\u662f\u5b89\u88c5\u5e76\u6fc0\u6d3b\u63d2\u4ef6\u3002<a href=\"https:\/\/www.wpbeginner.com\/beginners-guide\/step-by-step-guide-to-install-a-wordpress-plugin-for-beginners\/\">\u6709\u5173\u66f4\u591a\u8be6\u7ec6\u4fe1\u606f\uff0c\u8bf7\u53c2\u9605\u6211\u4eec\u5173\u4e8e\u5982\u4f55\u5b89\u88c5 WordPress \u63d2\u4ef6<\/a>\u7684\u5206\u6b65\u6307\u5357\u3002<\/p>\n\n\n\n<p>\u6fc0\u6d3b\u540e\uff0c\u60a8\u9700\u8981\u8bbf\u95ee<strong>\u8bbe\u7f6e \u00bb SearchWP<\/strong>\u9875\u9762\uff0c\u7136\u540e\u5355\u51fb\u201c\u8bb8\u53ef\u8bc1\u201d\u83dc\u5355\u9009\u9879\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/www.wpbeginner.com\/wp-content\/uploads\/2021\/09\/searchwp-license-key.png\" alt=\"\u8f93\u5165 SearchWP \u8bb8\u53ef\u8bc1\u5bc6\u94a5\"\/><\/figure>\n\n\n\n<p>\u7136\u540e\uff0c\u60a8\u9700\u8981\u5728\u201c\u8bb8\u53ef\u8bc1\u201d\u6846\u4e2d\u8f93\u5165\u60a8\u7684\u8bb8\u53ef\u8bc1\u5bc6\u94a5\u3002\u60a8\u53ef\u4ee5\u5728 SearchWP \u7f51\u7ad9\u4e0a\u7684\u5e10\u6237\u4e2d\u627e\u5230\u6b64\u4fe1\u606f\u3002\u4e4b\u540e\uff0c\u60a8\u5e94\u8be5\u5355\u51fb\u6fc0\u6d3b\u6309\u94ae\u3002<\/p>\n\n\n\n<p>\u63a5\u4e0b\u6765\uff0c\u60a8\u9700\u8981\u5355\u51fb\u201c\u5f15\u64ce\u201d\u83dc\u5355\u9009\u9879\u3002\u8fd9\u4f1a\u5c06\u60a8\u5e26\u5230\u4e00\u4e2a\u5c4f\u5e55\uff0c\u60a8\u53ef\u4ee5\u5728\u5176\u4e2d\u9009\u62e9\u641c\u7d22\u5f15\u64ce\u8bbe\u7f6e\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/www.wpbeginner.com\/wp-content\/uploads\/2021\/09\/searchwp-engines-settings.png\" alt=\"SearchWP \u5f15\u64ce\u8bbe\u7f6e\"\/><\/figure>\n\n\n\n<p>\u5728\u8fd9\u91cc\uff0c\u60a8\u9700\u8981\u521b\u5efa\u4e00\u4e2a\u7ad9\u70b9\u8303\u56f4\u7684\u641c\u7d22\u5f15\u64ce\u3002\u60a8\u53ef\u4ee5\u901a\u8fc7\u70b9\u51fb\u5e16\u5b50\u3001\u9875\u9762\u548c\u5a92\u4f53\u4e0b\u62c9\u83dc\u5355\u6765\u8c03\u6574\u60a8\u7684\u641c\u7d22\u5f15\u64ce\u8bbe\u7f6e\u3002<\/p>\n\n\n\n<p>\u6bcf\u4e2a\u90e8\u5206\u4e2d\u7684\u5c5e\u6027\u76f8\u5173\u6027\u6ed1\u5757\u8c03\u6574\u641c\u7d22\u5f15\u64ce\u5bf9\u5185\u5bb9\u7684\u8bc4\u4ef7\u548c\u6392\u540d\u65b9\u5f0f\u3002\u4f8b\u5982\uff0c\u5982\u679c\u60a8\u5e0c\u671b\u5e16\u5b50\u6807\u9898\u9ad8\u4e8e\u5185\u5bb9\uff0c\u90a3\u4e48\u60a8\u53ef\u4ee5\u76f8\u5e94\u5730\u8c03\u6574\u6ed1\u5757\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/www.wpbeginner.com\/wp-content\/uploads\/2021\/09\/adjust-search-engine-attributes.png\" alt=\"\u8c03\u6574 SearchWP \u6ed1\u5757\u8bbe\u7f6e\"\/><\/figure>\n\n\n\n<p>\u5b8c\u6210\u8c03\u6574\u8bbe\u7f6e\u540e\uff0c\u8bf7\u786e\u4fdd\u5355\u51fb\u201c\u4fdd\u5b58\u5f15\u64ce\u201d\u6309\u94ae\u4ee5\u4fdd\u5b58\u9ed8\u8ba4\u641c\u7d22\u5f15\u64ce\u3002<\/p>\n\n\n\n<p><strong>\u5c06\u641c\u7d22\u8868\u5355\u6dfb\u52a0\u5230\u5e16\u5b50<\/strong><\/p>\n\n\n\n<p>\u73b0\u5728\u60a8\u9700\u8981\u4e0b\u8f7d SearchWP \u77ed\u4ee3\u7801\u6269\u5c55\uff0c\u4ee5\u8f7b\u677e\u5c06\u65b0\u7684\u81ea\u5b9a\u4e49\u5e16\u5b50\u641c\u7d22\u8868\u5355\u6dfb\u52a0\u5230 WordPress\u3002<\/p>\n\n\n\n<p>\u60a8\u9700\u8981\u8bbf\u95ee<a href=\"https:\/\/searchwp.com\/extensions\/shortcodes\/\" target=\"_blank\" rel=\"noreferrer noopener\">SearchWP Shortcodes Extension<\/a>\u7f51\u7ad9\uff0c\u7136\u540e\u5355\u51fb\u201c\u4e0b\u8f7d\u53ef\u7528\u8bb8\u53ef\u8bc1\u201d\u6309\u94ae\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/www.wpbeginner.com\/wp-content\/uploads\/2021\/08\/download-shortcodes-extension.png\" alt=\"\u4e0b\u8f7d SearchWP Shortcodes \u6269\u5c55\"\/><\/figure>\n\n\n\n<p>\u4e4b\u540e\uff0c\u60a8\u9700\u8981\u4ee5\u4e0e\u4e0a\u9762\u5b89\u88c5\u63d2\u4ef6\u76f8\u540c\u7684\u65b9\u5f0f\u5b89\u88c5\u548c\u6fc0\u6d3b\u6269\u5c55\u3002\u73b0\u5728\u60a8\u53ef\u4ee5\u5728\u5e16\u5b50\u4e2d\u6dfb\u52a0\u641c\u7d22\u8868\u5355\u3002<\/p>\n\n\n\n<p>\u53ea\u9700\u7f16\u8f91\u5e16\u5b50\u5e76\u5c06\u5149\u6807\u653e\u5728\u8981\u6dfb\u52a0\u641c\u7d22\u8868\u5355\u7684\u4f4d\u7f6e\u3002\u4e4b\u540e\uff0c\u5355\u51fb\u52a0\u53f7\u201c\u6dfb\u52a0\u5757\u201d\u56fe\u6807\u4ee5\u8c03\u51fa\u5757\u83dc\u5355\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/www.wpbeginner.com\/wp-content\/uploads\/2021\/10\/searchformhtmlblock-1.png\" alt=\"\u63d2\u5165\u81ea\u5b9a\u4e49 HTML \u5757\"\/><\/figure>\n\n\n\n<p>\u63a5\u4e0b\u6765\uff0c\u5728\u641c\u7d22\u6846\u4e2d\u8f93\u5165\u201chtml\u201d\u3002\u7136\u540e\uff0c\u9009\u62e9\u201c\u81ea\u5b9a\u4e49 HTML\u201d\u5757\u3002<\/p>\n\n\n\n<p>\u6dfb\u52a0\u65b0\u5757\u540e\uff0c\u60a8\u53ef\u4ee5\u5c06\u4ee5\u4e0b\u77ed\u4ee3\u7801\u548c HTML \u6dfb\u52a0\u5230\u60a8\u7684\u9875\u9762\u3002\u5982\u679c\u60a8\u9700\u8981\u66f4\u591a\u5e2e\u52a9\uff0c\u8bf7\u53c2\u9605\u6211\u4eec\u7684\u6307\u5357\uff0c<a href=\"https:\/\/www.wpbeginner.com\/wp-tutorials\/how-to-add-a-shortcode-in-wordpress\/\">\u4e86\u89e3\u5982\u4f55\u5728 WordPress \u4e2d\u6dfb\u52a0\u77ed\u4ee3\u7801<\/a>\u3002<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td>12345678910111213141516171819<\/td><td><code>[searchwp_search_form]<\/code><code>&nbsp;&nbsp;&nbsp;<\/code>&nbsp;<code>&lt;div <\/code><code>class<\/code><code>=<\/code><code>\"search-results-wrapper\"<\/code><code>&gt;<\/code><code>&nbsp;<\/code><code><\/code><\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n<p>[searchwp_search_results]<\/code><\/div>\n<div class=\"line number5 index4 alt2\" style=\"box-sizing: content-box !important; border-radius: 0px !important; background: none white !important; border: 0px !important; inset: auto !important; float: none !important; height: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; text-align: left !important; vertical-align: baseline !important; width: auto !important; font-family: Monaco, Consolas, &quot;Bitstream Vera Sans Mono&quot;, &quot;Courier New&quot;, Courier, monospace !important; font-weight: normal !important; font-style: normal !important; font-size: 1em !important; direction: ltr !important; box-shadow: none !important; white-space: pre-wrap !important;\"><code class=\"php spaces\" style=\"box-sizing: content-box !important; font-family: Monaco, Consolas, &quot;Bitstream Vera Sans Mono&quot;, &quot;Courier New&quot;, Courier, monospace !important; font-size: 1em !important; padding: 0px !important; border-radius: 0px !important; background: none !important; border: 0px !important; inset: auto !important; float: none !important; height: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; text-align: left !important; vertical-align: baseline !important; width: auto !important; font-weight: normal !important; font-style: normal !important; direction: ltr !important; box-shadow: none !important; display: inline !important;\">\u00a0\u00a0<\/code><code class=\"php plain\" style=\"box-sizing: content-box !important; font-family: Monaco, Consolas, &quot;Bitstream Vera Sans Mono&quot;, &quot;Courier New&quot;, Courier, monospace !important; font-size: 1em !important; padding: 0px !important; border-radius: 0px !important; background: none !important; border: 0px !important; inset: auto !important; float: none !important; height: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; text-align: left !important; vertical-align: baseline !important; width: auto !important; font-weight: normal !important; font-style: normal !important; direction: ltr !important; box-shadow: none !important; display: inline !important; color: black !important;\">&lt;h2&gt;[searchwp_search_result_link]&lt;\/h2&gt;<\/code><\/div>\n<div class=\"line number6 index5 alt1\" style=\"box-sizing: content-box !important; border-radius: 0px !important; background: none white !important; border: 0px !important; inset: auto !important; float: none !important; height: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; text-align: left !important; vertical-align: baseline !important; width: auto !important; font-family: Monaco, Consolas, &quot;Bitstream Vera Sans Mono&quot;, &quot;Courier New&quot;, Courier, monospace !important; font-weight: normal !important; font-style: normal !important; font-size: 1em !important; direction: ltr !important; box-shadow: none !important; white-space: pre-wrap !important;\"><code class=\"php spaces\" style=\"box-sizing: content-box !important; font-family: Monaco, Consolas, &quot;Bitstream Vera Sans Mono&quot;, &quot;Courier New&quot;, Courier, monospace !important; font-size: 1em !important; padding: 0px !important; border-radius: 0px !important; background: none !important; border: 0px !important; inset: auto !important; float: none !important; height: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; text-align: left !important; vertical-align: baseline !important; width: auto !important; font-weight: normal !important; font-style: normal !important; direction: ltr !important; box-shadow: none !important; display: inline !important;\">\u00a0\u00a0<\/code><code class=\"php plain\" style=\"box-sizing: content-box !important; font-family: Monaco, Consolas, &quot;Bitstream Vera Sans Mono&quot;, &quot;Courier New&quot;, Courier, monospace !important; font-size: 1em !important; padding: 0px !important; border-radius: 0px !important; background: none !important; border: 0px !important; inset: auto !important; float: none !important; height: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; text-align: left !important; vertical-align: baseline !important; width: auto !important; font-weight: normal !important; font-style: normal !important; direction: ltr !important; box-shadow: none !important; display: inline !important; color: black !important;\">[searchwp_search_result_excerpt]<\/code><\/div>\n<div class=\"line number7 index6 alt2\" style=\"box-sizing: content-box !important; border-radius: 0px !important; background: none white !important; border: 0px !important; inset: auto !important; float: none !important; height: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; text-align: left !important; vertical-align: baseline !important; width: auto !important; font-family: Monaco, Consolas, &quot;Bitstream Vera Sans Mono&quot;, &quot;Courier New&quot;, Courier, monospace !important; font-weight: normal !important; font-style: normal !important; font-size: 1em !important; direction: ltr !important; box-shadow: none !important; white-space: pre-wrap !important;\"><code class=\"php spaces\" style=\"box-sizing: content-box !important; font-family: Monaco, Consolas, &quot;Bitstream Vera Sans Mono&quot;, &quot;Courier New&quot;, Courier, monospace !important; font-size: 1em !important; padding: 0px !important; border-radius: 0px !important; background: none !important; border: 0px !important; inset: auto !important; float: none !important; height: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; text-align: left !important; vertical-align: baseline !important; width: auto !important; font-weight: normal !important; font-style: normal !important; direction: ltr !important; box-shadow: none !important; display: inline !important;\">\u00a0<\/code><code class=\"php plain\" style=\"box-sizing: content-box !important; font-family: Monaco, Consolas, &quot;Bitstream Vera Sans Mono&quot;, &quot;Courier New&quot;, Courier, monospace !important; font-size: 1em !important; padding: 0px !important; border-radius: 0px !important; background: none !important; border: 0px !important; inset: auto !important; float: none !important; height: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; text-align: left !important; vertical-align: baseline !important; width: auto !important; font-weight: normal !important; font-style: normal !important; direction: ltr !important; box-shadow: none !important; display: inline !important; color: black !important;\">[\/searchwp_search_results]<\/p>\n\n\n\n<p><code>&lt;\/div&gt;<\/code><code>&nbsp;&nbsp;&nbsp;<\/code><code>&lt;div <\/code><code>class<\/code><code>=<\/code><code>\"no-search-results-found\"<\/code><code>&gt;<\/code><code>&nbsp;<\/code><code><\/code><\/p>\n\n\n<p>[searchwp_search_results_none]<\/code><\/div>\n<div class=\"line number12 index11 alt1\" style=\"box-sizing: content-box !important; border-radius: 0px !important; background: none white !important; border: 0px !important; inset: auto !important; float: none !important; height: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; text-align: left !important; vertical-align: baseline !important; width: auto !important; font-family: Monaco, Consolas, &quot;Bitstream Vera Sans Mono&quot;, &quot;Courier New&quot;, Courier, monospace !important; font-weight: normal !important; font-style: normal !important; font-size: 1em !important; direction: ltr !important; box-shadow: none !important; white-space: pre-wrap !important;\"><code class=\"php spaces\" style=\"box-sizing: content-box !important; font-family: Monaco, Consolas, &quot;Bitstream Vera Sans Mono&quot;, &quot;Courier New&quot;, Courier, monospace !important; font-size: 1em !important; padding: 0px !important; border-radius: 0px !important; background: none !important; border: 0px !important; inset: auto !important; float: none !important; height: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; text-align: left !important; vertical-align: baseline !important; width: auto !important; font-weight: normal !important; font-style: normal !important; direction: ltr !important; box-shadow: none !important; display: inline !important;\">\u00a0<\/code><code class=\"php plain\" style=\"box-sizing: content-box !important; font-family: Monaco, Consolas, &quot;Bitstream Vera Sans Mono&quot;, &quot;Courier New&quot;, Courier, monospace !important; font-size: 1em !important; padding: 0px !important; border-radius: 0px !important; background: none !important; border: 0px !important; inset: auto !important; float: none !important; height: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; text-align: left !important; vertical-align: baseline !important; width: auto !important; font-weight: normal !important; font-style: normal !important; direction: ltr !important; box-shadow: none !important; display: inline !important; color: black !important;\">No results found, please search again.<\/code><\/div>\n<div class=\"line number13 index12 alt2\" style=\"box-sizing: content-box !important; border-radius: 0px !important; background: none white !important; border: 0px !important; inset: auto !important; float: none !important; height: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; text-align: left !important; vertical-align: baseline !important; width: auto !important; font-family: Monaco, Consolas, &quot;Bitstream Vera Sans Mono&quot;, &quot;Courier New&quot;, Courier, monospace !important; font-weight: normal !important; font-style: normal !important; font-size: 1em !important; direction: ltr !important; box-shadow: none !important; white-space: pre-wrap !important;\"><code class=\"php spaces\" style=\"box-sizing: content-box !important; font-family: Monaco, Consolas, &quot;Bitstream Vera Sans Mono&quot;, &quot;Courier New&quot;, Courier, monospace !important; font-size: 1em !important; padding: 0px !important; border-radius: 0px !important; background: none !important; border: 0px !important; inset: auto !important; float: none !important; height: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; text-align: left !important; vertical-align: baseline !important; width: auto !important; font-weight: normal !important; font-style: normal !important; direction: ltr !important; box-shadow: none !important; display: inline !important;\">\u00a0<\/code><code class=\"php plain\" style=\"box-sizing: content-box !important; font-family: Monaco, Consolas, &quot;Bitstream Vera Sans Mono&quot;, &quot;Courier New&quot;, Courier, monospace !important; font-size: 1em !important; padding: 0px !important; border-radius: 0px !important; background: none !important; border: 0px !important; inset: auto !important; float: none !important; height: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; text-align: left !important; vertical-align: baseline !important; width: auto !important; font-weight: normal !important; font-style: normal !important; direction: ltr !important; box-shadow: none !important; display: inline !important; color: black !important;\">[\/searchwp_search_results_none]<\/p>\n\n\n\n<p><code>&lt;\/div&gt;<\/code><code>&nbsp;&nbsp;&nbsp;<\/code><code>&lt;div <\/code><code>class<\/code><code>=<\/code><code>\"search-results-pagination\"<\/code><code>&gt;<\/code><code>&nbsp;<\/code><code>[searchwp_search_results_pagination direction=<\/code><code>\"prev\"<\/code><code>link_text=<\/code><code>\"Previous\"<\/code><code>]<\/code><code>&nbsp;<\/code><code>[searchwp_search_results_pagination direction=<\/code><code>\"next\"<\/code><code>link_text=<\/code><code>\"Next\"<\/code><code>]<\/code><code>&lt;\/div&gt;<\/code><\/p>\n\n\n\n<p>\u6b64\u4ee3\u7801\u5c06\u5411\u5e16\u5b50\u6dfb\u52a0\u4e00\u4e2a\u641c\u7d22\u8868\u5355\uff0c\u521b\u5efa\u4e00\u4e2a\u663e\u793a\u641c\u7d22\u7ed3\u679c\u7684\u90e8\u5206\uff0c\u5982\u6709\u5fc5\u8981\uff0c\u663e\u793a\u65e0\u7ed3\u679c\u6d88\u606f\uff0c\u5e76\u5728\u7ed3\u679c\u8fdb\u5165\u591a\u4e2a\u9875\u9762\u65f6\u6dfb\u52a0\u5206\u9875\u3002<\/p>\n\n\n\n<p>\u786e\u4fdd\u5355\u51fb\u201c\u53d1\u5e03\u201d\u6216\u201c\u66f4\u65b0\u201d\u4ee5\u4fdd\u5b58\u60a8\u7684\u5e16\u5b50\u5e76\u4f7f\u5176\u751f\u6548\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/www.wpbeginner.com\/wp-content\/uploads\/2021\/10\/searchformupdatepost-1.png\" alt=\"\u5355\u51fb\u53d1\u5e03\u6216\u66f4\u65b0\u4ee5\u4fdd\u5b58\u60a8\u7684\u5e16\u5b50\"\/><\/figure>\n\n\n\n<p>\u8981\u67e5\u770b\u5b9e\u9645\u7684\u641c\u7d22\u8868\u5355\uff0c\u53ea\u9700\u67e5\u770b\u60a8\u7684 WordPress \u7f51\u7ad9\u4e0a\u7684\u5e16\u5b50\u3002\u8fd9\u5c31\u662f\u5b83\u5728\u6211\u4eec\u7684\u8fd0\u884c\u4e8c\u5341\u4e00\u4e8c\u5341\u4e00\u4e3b\u9898\u7684\u6f14\u793a\u7ad9\u70b9\u4e0a\u7684\u5916\u89c2\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/www.wpbeginner.com\/wp-content\/uploads\/2021\/10\/searchformsearchwppreview-1.png\" alt=\"\u641c\u7d22WP\u8868\u5355\u9884\u89c8\"\/><\/figure>\n\n\n\n<p>\u6709\u5173\u81ea\u5b9a\u4e49\u641c\u7d22\u7684\u66f4\u591a\u63d0\u793a\uff0c\u8bf7\u53c2\u9605\u6211\u4eec\u7684\u6307\u5357\uff0c<a href=\"https:\/\/www.wpbeginner.com\/plugins\/improve-wordpress-search-searchwp\/\">\u4e86\u89e3\u5982\u4f55\u4f7f\u7528 SearchWP \u6539\u8fdb WordPress \u641c\u7d22<\/a>\u3002<\/p>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"code\">\u65b9\u6cd5\u4e8c\uff1a\u4f7f\u7528\u4ee3\u7801\u6dfb\u52a0\u641c\u7d22\u8868\u5355<\/h4>\n\n\n\n<p>\u60a8\u8fd8\u53ef\u4ee5\u4f7f\u7528\u4ee3\u7801\u7247\u6bb5\u5c06\u641c\u7d22\u8868\u5355\u6dfb\u52a0\u5230\u60a8\u7684 WordPress \u5e16\u5b50\u4e2d\u3002\u4e0d\u5efa\u8bae\u521d\u5b66\u8005\u4f7f\u7528\u6b64\u65b9\u6cd5\uff0c\u56e0\u6b64\u5982\u679c\u60a8\u5bf9\u4ee3\u7801\u4e0d\u719f\u6089\uff0c\u5219\u5e94\u6539\u7528\u65b9\u6cd51\u3002<\/p>\n\n\n\n<p>\u5728\u8fd9\u79cd\u65b9\u6cd5\u4e2d\uff0c\u60a8\u5fc5\u987b\u7f16\u8f91\u4e3b\u9898\u7684<a href=\"https:\/\/www.wpbeginner.com\/glossary\/functions-php\/\">functions.php<\/a>\u6587\u4ef6\u3002<\/p>\n\n\n\n<p>\u5982\u679c\u60a8\u4e4b\u524d\u6ca1\u6709\u7f16\u8f91\u8fc7 functions.php \u6587\u4ef6\uff0c\u8bf7\u67e5\u770b\u6211\u4eec\u7684\u521d\u5b66\u8005\u6307\u5357\uff0c<a href=\"https:\/\/www.wpbeginner.com\/beginners-guide\/beginners-guide-to-pasting-snippets-from-the-web-into-wordpress\/\">\u5c06\u7f51\u9875\u4e2d\u7684\u7247\u6bb5\u7c98\u8d34\u5230 WordPress<\/a>\u4e2d\u3002<\/p>\n\n\n\n<p>\u60a8\u6240\u8981\u505a\u7684\u5c31\u662f\u6253\u5f00\u4e3b\u9898\u7684 functions.php \u6587\u4ef6\u6216<a href=\"https:\/\/www.wpbeginner.com\/beginners-guide\/what-why-and-how-tos-of-creating-a-site-specific-wordpress-plugin\/\">\u7279\u5b9a\u4e8e\u7ad9\u70b9\u7684\u63d2\u4ef6<\/a>\u5e76\u7c98\u8d34\u4ee5\u4e0b\u4ee3\u7801\uff1a<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td>1<\/td><td><code>add_shortcode(<\/code><code>'wpbsearch'<\/code><code>, <\/code><code>'get_search_form'<\/code><code>);<\/code><\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p>\u8fd9\u662f\u4f7f\u7528 WordPress \u4e3b\u9898\u7f16\u8f91\u5668\u5c06\u4ee3\u7801\u6bb5\u6dfb\u52a0\u5230\u4e8c\u5341\u4e00\u4e2a\u4e3b\u9898\u7684 functions.php \u6587\u4ef6\u65f6\u5b83\u5728\u6211\u4eec\u7684\u6f14\u793a\u7f51\u7ad9\u4e0a\u7684\u5916\u89c2\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/www.wpbeginner.com\/wp-content\/uploads\/2021\/10\/searchformthemeeditor.png\" alt=\"\u5728\u4e3b\u9898\u7f16\u8f91\u5668\u4e2d\u7f16\u8f91 functions.php\"\/><\/figure>\n\n\n\n<p>\u4e4b\u540e\uff0c\u60a8\u53ea\u9700\u5c06\u77ed\u4ee3\u7801 [wpbsearch] \u6dfb\u52a0\u5230\u60a8\u5e0c\u671b\u641c\u7d22\u8868\u5355\u51fa\u73b0\u7684\u5e16\u5b50\u6216\u9875\u9762\u4e2d\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/www.wpbeginner.com\/wp-content\/uploads\/2021\/10\/searchformshortcode.png\" alt=\"\u641c\u7d22\u8868\u5355\u7b80\u7801\"\/><\/figure>\n\n\n\n<p>\u8fd9\u5c06\u663e\u793a\u9ed8\u8ba4\u641c\u7d22\u8868\u5355\u3002\u8981\u67e5\u770b\u641c\u7d22\u8868\u5355\uff0c\u53ea\u9700\u67e5\u770b\u60a8\u7684 WordPress \u7f51\u7ad9\u4e0a\u7684\u5e16\u5b50\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/www.wpbeginner.com\/wp-content\/uploads\/2021\/10\/searchformpreview.png\" alt=\"\u641c\u7d22\u8868\u5355\u9884\u89c8\"\/><\/figure>\n\n\n\n<p>\u5982\u679c\u60a8\u60f3\u663e\u793a\u81ea\u5b9a\u4e49\u641c\u7d22\u8868\u5355\uff0c\u5219\u5e94\u4f7f\u7528\u6b64\u4ee3\u7801\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>function wpbsearchform( $form ) {\n   \n    $form = '&lt;form role=\"search\" method=\"get\" id=\"searchform\" action=\"' . home_url( '\/' ) . '\" >\n    &lt;div>&lt;label class=\"screen-reader-text\" for=\"s\">' . __('Search for:') . '&lt;\/label>\n    &lt;input type=\"text\" value=\"' . get_search_query() . '\" name=\"s\" id=\"s\" \/>\n    &lt;input type=\"submit\" id=\"searchsubmit\" value=\"'. esc_attr__('Search') .'\" \/>\n    &lt;\/div>\n    &lt;\/form>';\n   \n    return $form;\n}\n   \nadd_shortcode('wpbsearch', 'wpbsearchform');<\/code><\/pre>\n\n\n\n<p>\u968f\u610f\u4fee\u6539\u4ee3\u7801\u4ee5\u6839\u636e\u9700\u8981\u81ea\u5b9a\u4e49\u641c\u7d22\u8868\u5355\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u60a8\u60f3\u5728 WordPress \u5e16\u5b50\u4e2d\u6dfb\u52a0\u641c\u7d22\u8868\u5355\u5417\uff1f \u5728\u60a8\u7684\u5e16\u5b50\u6216\u9875\u9762\u5185\u5bb9\u4e2d\u6dfb\u52a0\u641c\u7d22\u8868\u5355\u662f\u9f13\u52b1\u8bbf\u95ee\u8005\u67e5\u627e\u66f4\u591a\u5185\u5bb9 &hellip;<\/p>\n<p class=\"read-more\"> <a class=\"\" href=\"https:\/\/wpeyes.com\/astra\/2022\/05\/05\/%e5%a6%82%e4%bd%95%e4%bd%bf%e7%94%a8%e7%ae%80%e7%a0%81%e5%9c%a8-wordpress-%e5%b8%96%e5%ad%90%e4%b8%ad%e6%b7%bb%e5%8a%a0%e6%90%9c%e7%b4%a2%e8%a1%a8%e5%8d%95\/\"> <span class=\"screen-reader-text\">\u5982\u4f55\u4f7f\u7528\u7b80\u7801\u5728 WordPress \u5e16\u5b50\u4e2d\u6dfb\u52a0\u641c\u7d22\u8868\u5355<\/span> Read More \u00bb<\/a><\/p>\n","protected":false},"author":1,"featured_media":94,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_uf_show_specific_survey":0,"_uf_disable_surveys":false,"site-sidebar-layout":"default","site-content-layout":"default","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":""},"categories":[6],"tags":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v21.8.1 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u5982\u4f55\u4f7f\u7528\u7b80\u7801\u5728 WordPress \u5e16\u5b50\u4e2d\u6dfb\u52a0\u641c\u7d22\u8868\u5355 - ASTRA\u4e2d\u6587<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/wpeyes.com\/astra\/2022\/05\/05\/\u5982\u4f55\u4f7f\u7528\u7b80\u7801\u5728-wordpress-\u5e16\u5b50\u4e2d\u6dfb\u52a0\u641c\u7d22\u8868\u5355\/\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u5982\u4f55\u4f7f\u7528\u7b80\u7801\u5728 WordPress \u5e16\u5b50\u4e2d\u6dfb\u52a0\u641c\u7d22\u8868\u5355 - ASTRA\u4e2d\u6587\" \/>\n<meta property=\"og:description\" content=\"\u60a8\u60f3\u5728 WordPress \u5e16\u5b50\u4e2d\u6dfb\u52a0\u641c\u7d22\u8868\u5355\u5417\uff1f \u5728\u60a8\u7684\u5e16\u5b50\u6216\u9875\u9762\u5185\u5bb9\u4e2d\u6dfb\u52a0\u641c\u7d22\u8868\u5355\u662f\u9f13\u52b1\u8bbf\u95ee\u8005\u67e5\u627e\u66f4\u591a\u5185\u5bb9 &hellip; \u5982\u4f55\u4f7f\u7528\u7b80\u7801\u5728 WordPress \u5e16\u5b50\u4e2d\u6dfb\u52a0\u641c\u7d22\u8868\u5355 Read More \u00bb\" \/>\n<meta property=\"og:url\" content=\"https:\/\/wpeyes.com\/astra\/2022\/05\/05\/\u5982\u4f55\u4f7f\u7528\u7b80\u7801\u5728-wordpress-\u5e16\u5b50\u4e2d\u6dfb\u52a0\u641c\u7d22\u8868\u5355\/\" \/>\n<meta property=\"og:site_name\" content=\"ASTRA\u4e2d\u6587\" \/>\n<meta property=\"article:published_time\" content=\"2022-05-05T08:56:58+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/wpeyes.com\/astra\/wp-content\/uploads\/sites\/2\/2022\/05\/add-search-form-in-your-post-using-search-shortcode-og-1.png\" \/>\n\t<meta property=\"og:image:width\" content=\"550\" \/>\n\t<meta property=\"og:image:height\" content=\"340\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"qmk\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"qmk\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"1\u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/wpeyes.com\/astra\/2022\/05\/05\/%e5%a6%82%e4%bd%95%e4%bd%bf%e7%94%a8%e7%ae%80%e7%a0%81%e5%9c%a8-wordpress-%e5%b8%96%e5%ad%90%e4%b8%ad%e6%b7%bb%e5%8a%a0%e6%90%9c%e7%b4%a2%e8%a1%a8%e5%8d%95\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/wpeyes.com\/astra\/2022\/05\/05\/%e5%a6%82%e4%bd%95%e4%bd%bf%e7%94%a8%e7%ae%80%e7%a0%81%e5%9c%a8-wordpress-%e5%b8%96%e5%ad%90%e4%b8%ad%e6%b7%bb%e5%8a%a0%e6%90%9c%e7%b4%a2%e8%a1%a8%e5%8d%95\/\"},\"author\":{\"name\":\"qmk\",\"@id\":\"https:\/\/wpeyes.com\/astra\/#\/schema\/person\/80e9903d893da74eb372a4c631f6e22c\"},\"headline\":\"\u5982\u4f55\u4f7f\u7528\u7b80\u7801\u5728 WordPress \u5e16\u5b50\u4e2d\u6dfb\u52a0\u641c\u7d22\u8868\u5355\",\"datePublished\":\"2022-05-05T08:56:58+00:00\",\"dateModified\":\"2022-05-05T08:56:58+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/wpeyes.com\/astra\/2022\/05\/05\/%e5%a6%82%e4%bd%95%e4%bd%bf%e7%94%a8%e7%ae%80%e7%a0%81%e5%9c%a8-wordpress-%e5%b8%96%e5%ad%90%e4%b8%ad%e6%b7%bb%e5%8a%a0%e6%90%9c%e7%b4%a2%e8%a1%a8%e5%8d%95\/\"},\"wordCount\":45,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/wpeyes.com\/astra\/#organization\"},\"articleSection\":[\"tutorials\"],\"inLanguage\":\"zh-CN\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/wpeyes.com\/astra\/2022\/05\/05\/%e5%a6%82%e4%bd%95%e4%bd%bf%e7%94%a8%e7%ae%80%e7%a0%81%e5%9c%a8-wordpress-%e5%b8%96%e5%ad%90%e4%b8%ad%e6%b7%bb%e5%8a%a0%e6%90%9c%e7%b4%a2%e8%a1%a8%e5%8d%95\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/wpeyes.com\/astra\/2022\/05\/05\/%e5%a6%82%e4%bd%95%e4%bd%bf%e7%94%a8%e7%ae%80%e7%a0%81%e5%9c%a8-wordpress-%e5%b8%96%e5%ad%90%e4%b8%ad%e6%b7%bb%e5%8a%a0%e6%90%9c%e7%b4%a2%e8%a1%a8%e5%8d%95\/\",\"url\":\"https:\/\/wpeyes.com\/astra\/2022\/05\/05\/%e5%a6%82%e4%bd%95%e4%bd%bf%e7%94%a8%e7%ae%80%e7%a0%81%e5%9c%a8-wordpress-%e5%b8%96%e5%ad%90%e4%b8%ad%e6%b7%bb%e5%8a%a0%e6%90%9c%e7%b4%a2%e8%a1%a8%e5%8d%95\/\",\"name\":\"\u5982\u4f55\u4f7f\u7528\u7b80\u7801\u5728 WordPress \u5e16\u5b50\u4e2d\u6dfb\u52a0\u641c\u7d22\u8868\u5355 - ASTRA\u4e2d\u6587\",\"isPartOf\":{\"@id\":\"https:\/\/wpeyes.com\/astra\/#website\"},\"datePublished\":\"2022-05-05T08:56:58+00:00\",\"dateModified\":\"2022-05-05T08:56:58+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/wpeyes.com\/astra\/2022\/05\/05\/%e5%a6%82%e4%bd%95%e4%bd%bf%e7%94%a8%e7%ae%80%e7%a0%81%e5%9c%a8-wordpress-%e5%b8%96%e5%ad%90%e4%b8%ad%e6%b7%bb%e5%8a%a0%e6%90%9c%e7%b4%a2%e8%a1%a8%e5%8d%95\/#breadcrumb\"},\"inLanguage\":\"zh-CN\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/wpeyes.com\/astra\/2022\/05\/05\/%e5%a6%82%e4%bd%95%e4%bd%bf%e7%94%a8%e7%ae%80%e7%a0%81%e5%9c%a8-wordpress-%e5%b8%96%e5%ad%90%e4%b8%ad%e6%b7%bb%e5%8a%a0%e6%90%9c%e7%b4%a2%e8%a1%a8%e5%8d%95\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/wpeyes.com\/astra\/2022\/05\/05\/%e5%a6%82%e4%bd%95%e4%bd%bf%e7%94%a8%e7%ae%80%e7%a0%81%e5%9c%a8-wordpress-%e5%b8%96%e5%ad%90%e4%b8%ad%e6%b7%bb%e5%8a%a0%e6%90%9c%e7%b4%a2%e8%a1%a8%e5%8d%95\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/wpeyes.com\/astra\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"wpbeginner\",\"item\":\"https:\/\/wpeyes.com\/astra\/category\/wpbeginner\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"tutorials\",\"item\":\"https:\/\/wpeyes.com\/astra\/category\/wpbeginner\/tutorials\/\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"\u5982\u4f55\u4f7f\u7528\u7b80\u7801\u5728 WordPress \u5e16\u5b50\u4e2d\u6dfb\u52a0\u641c\u7d22\u8868\u5355\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/wpeyes.com\/astra\/#website\",\"url\":\"https:\/\/wpeyes.com\/astra\/\",\"name\":\"ASTRA\u4e2d\u6587\",\"description\":\"wpeyes\u6280\u672f\u89c6\u70b9\",\"publisher\":{\"@id\":\"https:\/\/wpeyes.com\/astra\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/wpeyes.com\/astra\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-CN\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/wpeyes.com\/astra\/#organization\",\"name\":\"ASTRA\u4e2d\u6587\",\"url\":\"https:\/\/wpeyes.com\/astra\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-CN\",\"@id\":\"https:\/\/wpeyes.com\/astra\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/wpeyes.com\/astra\/wp-content\/uploads\/sites\/2\/2022\/05\/astra-icons-03.png\",\"contentUrl\":\"https:\/\/wpeyes.com\/astra\/wp-content\/uploads\/sites\/2\/2022\/05\/astra-icons-03.png\",\"width\":500,\"height\":500,\"caption\":\"ASTRA\u4e2d\u6587\"},\"image\":{\"@id\":\"https:\/\/wpeyes.com\/astra\/#\/schema\/logo\/image\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\/\/wpeyes.com\/astra\/#\/schema\/person\/80e9903d893da74eb372a4c631f6e22c\",\"name\":\"qmk\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-CN\",\"@id\":\"https:\/\/wpeyes.com\/astra\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/wpeyes.com\/elementor\/wp-content\/uploads\/sites\/7\/2022\/05\/cropped-dog-96x96.jpg\",\"contentUrl\":\"https:\/\/wpeyes.com\/elementor\/wp-content\/uploads\/sites\/7\/2022\/05\/cropped-dog-96x96.jpg\",\"caption\":\"qmk\"},\"sameAs\":[\"https:\/\/wpeyes.com\"],\"url\":\"https:\/\/wpeyes.com\/astra\/author\/qmk\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\u5982\u4f55\u4f7f\u7528\u7b80\u7801\u5728 WordPress \u5e16\u5b50\u4e2d\u6dfb\u52a0\u641c\u7d22\u8868\u5355 - ASTRA\u4e2d\u6587","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/wpeyes.com\/astra\/2022\/05\/05\/\u5982\u4f55\u4f7f\u7528\u7b80\u7801\u5728-wordpress-\u5e16\u5b50\u4e2d\u6dfb\u52a0\u641c\u7d22\u8868\u5355\/","og_locale":"zh_CN","og_type":"article","og_title":"\u5982\u4f55\u4f7f\u7528\u7b80\u7801\u5728 WordPress \u5e16\u5b50\u4e2d\u6dfb\u52a0\u641c\u7d22\u8868\u5355 - ASTRA\u4e2d\u6587","og_description":"\u60a8\u60f3\u5728 WordPress \u5e16\u5b50\u4e2d\u6dfb\u52a0\u641c\u7d22\u8868\u5355\u5417\uff1f \u5728\u60a8\u7684\u5e16\u5b50\u6216\u9875\u9762\u5185\u5bb9\u4e2d\u6dfb\u52a0\u641c\u7d22\u8868\u5355\u662f\u9f13\u52b1\u8bbf\u95ee\u8005\u67e5\u627e\u66f4\u591a\u5185\u5bb9 &hellip; \u5982\u4f55\u4f7f\u7528\u7b80\u7801\u5728 WordPress \u5e16\u5b50\u4e2d\u6dfb\u52a0\u641c\u7d22\u8868\u5355 Read More \u00bb","og_url":"https:\/\/wpeyes.com\/astra\/2022\/05\/05\/\u5982\u4f55\u4f7f\u7528\u7b80\u7801\u5728-wordpress-\u5e16\u5b50\u4e2d\u6dfb\u52a0\u641c\u7d22\u8868\u5355\/","og_site_name":"ASTRA\u4e2d\u6587","article_published_time":"2022-05-05T08:56:58+00:00","og_image":[{"width":550,"height":340,"url":"https:\/\/wpeyes.com\/astra\/wp-content\/uploads\/sites\/2\/2022\/05\/add-search-form-in-your-post-using-search-shortcode-og-1.png","type":"image\/png"}],"author":"qmk","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"qmk","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"1\u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/wpeyes.com\/astra\/2022\/05\/05\/%e5%a6%82%e4%bd%95%e4%bd%bf%e7%94%a8%e7%ae%80%e7%a0%81%e5%9c%a8-wordpress-%e5%b8%96%e5%ad%90%e4%b8%ad%e6%b7%bb%e5%8a%a0%e6%90%9c%e7%b4%a2%e8%a1%a8%e5%8d%95\/#article","isPartOf":{"@id":"https:\/\/wpeyes.com\/astra\/2022\/05\/05\/%e5%a6%82%e4%bd%95%e4%bd%bf%e7%94%a8%e7%ae%80%e7%a0%81%e5%9c%a8-wordpress-%e5%b8%96%e5%ad%90%e4%b8%ad%e6%b7%bb%e5%8a%a0%e6%90%9c%e7%b4%a2%e8%a1%a8%e5%8d%95\/"},"author":{"name":"qmk","@id":"https:\/\/wpeyes.com\/astra\/#\/schema\/person\/80e9903d893da74eb372a4c631f6e22c"},"headline":"\u5982\u4f55\u4f7f\u7528\u7b80\u7801\u5728 WordPress \u5e16\u5b50\u4e2d\u6dfb\u52a0\u641c\u7d22\u8868\u5355","datePublished":"2022-05-05T08:56:58+00:00","dateModified":"2022-05-05T08:56:58+00:00","mainEntityOfPage":{"@id":"https:\/\/wpeyes.com\/astra\/2022\/05\/05\/%e5%a6%82%e4%bd%95%e4%bd%bf%e7%94%a8%e7%ae%80%e7%a0%81%e5%9c%a8-wordpress-%e5%b8%96%e5%ad%90%e4%b8%ad%e6%b7%bb%e5%8a%a0%e6%90%9c%e7%b4%a2%e8%a1%a8%e5%8d%95\/"},"wordCount":45,"commentCount":0,"publisher":{"@id":"https:\/\/wpeyes.com\/astra\/#organization"},"articleSection":["tutorials"],"inLanguage":"zh-CN","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/wpeyes.com\/astra\/2022\/05\/05\/%e5%a6%82%e4%bd%95%e4%bd%bf%e7%94%a8%e7%ae%80%e7%a0%81%e5%9c%a8-wordpress-%e5%b8%96%e5%ad%90%e4%b8%ad%e6%b7%bb%e5%8a%a0%e6%90%9c%e7%b4%a2%e8%a1%a8%e5%8d%95\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/wpeyes.com\/astra\/2022\/05\/05\/%e5%a6%82%e4%bd%95%e4%bd%bf%e7%94%a8%e7%ae%80%e7%a0%81%e5%9c%a8-wordpress-%e5%b8%96%e5%ad%90%e4%b8%ad%e6%b7%bb%e5%8a%a0%e6%90%9c%e7%b4%a2%e8%a1%a8%e5%8d%95\/","url":"https:\/\/wpeyes.com\/astra\/2022\/05\/05\/%e5%a6%82%e4%bd%95%e4%bd%bf%e7%94%a8%e7%ae%80%e7%a0%81%e5%9c%a8-wordpress-%e5%b8%96%e5%ad%90%e4%b8%ad%e6%b7%bb%e5%8a%a0%e6%90%9c%e7%b4%a2%e8%a1%a8%e5%8d%95\/","name":"\u5982\u4f55\u4f7f\u7528\u7b80\u7801\u5728 WordPress \u5e16\u5b50\u4e2d\u6dfb\u52a0\u641c\u7d22\u8868\u5355 - ASTRA\u4e2d\u6587","isPartOf":{"@id":"https:\/\/wpeyes.com\/astra\/#website"},"datePublished":"2022-05-05T08:56:58+00:00","dateModified":"2022-05-05T08:56:58+00:00","breadcrumb":{"@id":"https:\/\/wpeyes.com\/astra\/2022\/05\/05\/%e5%a6%82%e4%bd%95%e4%bd%bf%e7%94%a8%e7%ae%80%e7%a0%81%e5%9c%a8-wordpress-%e5%b8%96%e5%ad%90%e4%b8%ad%e6%b7%bb%e5%8a%a0%e6%90%9c%e7%b4%a2%e8%a1%a8%e5%8d%95\/#breadcrumb"},"inLanguage":"zh-CN","potentialAction":[{"@type":"ReadAction","target":["https:\/\/wpeyes.com\/astra\/2022\/05\/05\/%e5%a6%82%e4%bd%95%e4%bd%bf%e7%94%a8%e7%ae%80%e7%a0%81%e5%9c%a8-wordpress-%e5%b8%96%e5%ad%90%e4%b8%ad%e6%b7%bb%e5%8a%a0%e6%90%9c%e7%b4%a2%e8%a1%a8%e5%8d%95\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/wpeyes.com\/astra\/2022\/05\/05\/%e5%a6%82%e4%bd%95%e4%bd%bf%e7%94%a8%e7%ae%80%e7%a0%81%e5%9c%a8-wordpress-%e5%b8%96%e5%ad%90%e4%b8%ad%e6%b7%bb%e5%8a%a0%e6%90%9c%e7%b4%a2%e8%a1%a8%e5%8d%95\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/wpeyes.com\/astra\/"},{"@type":"ListItem","position":2,"name":"wpbeginner","item":"https:\/\/wpeyes.com\/astra\/category\/wpbeginner\/"},{"@type":"ListItem","position":3,"name":"tutorials","item":"https:\/\/wpeyes.com\/astra\/category\/wpbeginner\/tutorials\/"},{"@type":"ListItem","position":4,"name":"\u5982\u4f55\u4f7f\u7528\u7b80\u7801\u5728 WordPress \u5e16\u5b50\u4e2d\u6dfb\u52a0\u641c\u7d22\u8868\u5355"}]},{"@type":"WebSite","@id":"https:\/\/wpeyes.com\/astra\/#website","url":"https:\/\/wpeyes.com\/astra\/","name":"ASTRA\u4e2d\u6587","description":"wpeyes\u6280\u672f\u89c6\u70b9","publisher":{"@id":"https:\/\/wpeyes.com\/astra\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/wpeyes.com\/astra\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-CN"},{"@type":"Organization","@id":"https:\/\/wpeyes.com\/astra\/#organization","name":"ASTRA\u4e2d\u6587","url":"https:\/\/wpeyes.com\/astra\/","logo":{"@type":"ImageObject","inLanguage":"zh-CN","@id":"https:\/\/wpeyes.com\/astra\/#\/schema\/logo\/image\/","url":"https:\/\/wpeyes.com\/astra\/wp-content\/uploads\/sites\/2\/2022\/05\/astra-icons-03.png","contentUrl":"https:\/\/wpeyes.com\/astra\/wp-content\/uploads\/sites\/2\/2022\/05\/astra-icons-03.png","width":500,"height":500,"caption":"ASTRA\u4e2d\u6587"},"image":{"@id":"https:\/\/wpeyes.com\/astra\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/wpeyes.com\/astra\/#\/schema\/person\/80e9903d893da74eb372a4c631f6e22c","name":"qmk","image":{"@type":"ImageObject","inLanguage":"zh-CN","@id":"https:\/\/wpeyes.com\/astra\/#\/schema\/person\/image\/","url":"https:\/\/wpeyes.com\/elementor\/wp-content\/uploads\/sites\/7\/2022\/05\/cropped-dog-96x96.jpg","contentUrl":"https:\/\/wpeyes.com\/elementor\/wp-content\/uploads\/sites\/7\/2022\/05\/cropped-dog-96x96.jpg","caption":"qmk"},"sameAs":["https:\/\/wpeyes.com"],"url":"https:\/\/wpeyes.com\/astra\/author\/qmk\/"}]}},"uagb_featured_image_src":{"full":["https:\/\/wpeyes.com\/astra\/wp-content\/uploads\/sites\/2\/2022\/05\/add-search-form-in-your-post-using-search-shortcode-og-1.png",550,340,false],"thumbnail":["https:\/\/wpeyes.com\/astra\/wp-content\/uploads\/sites\/2\/2022\/05\/add-search-form-in-your-post-using-search-shortcode-og-1-150x150.png",150,150,true],"medium":["https:\/\/wpeyes.com\/astra\/wp-content\/uploads\/sites\/2\/2022\/05\/add-search-form-in-your-post-using-search-shortcode-og-1-300x185.png",300,185,true],"medium_large":["https:\/\/wpeyes.com\/astra\/wp-content\/uploads\/sites\/2\/2022\/05\/add-search-form-in-your-post-using-search-shortcode-og-1.png",550,340,false],"large":["https:\/\/wpeyes.com\/astra\/wp-content\/uploads\/sites\/2\/2022\/05\/add-search-form-in-your-post-using-search-shortcode-og-1.png",550,340,false],"1536x1536":["https:\/\/wpeyes.com\/astra\/wp-content\/uploads\/sites\/2\/2022\/05\/add-search-form-in-your-post-using-search-shortcode-og-1.png",550,340,false],"2048x2048":["https:\/\/wpeyes.com\/astra\/wp-content\/uploads\/sites\/2\/2022\/05\/add-search-form-in-your-post-using-search-shortcode-og-1.png",550,340,false]},"uagb_author_info":{"display_name":"qmk","author_link":"https:\/\/wpeyes.com\/astra\/author\/qmk\/"},"uagb_comment_info":0,"uagb_excerpt":"\u60a8\u60f3\u5728 WordPress \u5e16\u5b50\u4e2d\u6dfb\u52a0\u641c\u7d22\u8868\u5355\u5417\uff1f \u5728\u60a8\u7684\u5e16\u5b50\u6216\u9875\u9762\u5185\u5bb9\u4e2d\u6dfb\u52a0\u641c\u7d22\u8868\u5355\u662f\u9f13\u52b1\u8bbf\u95ee\u8005\u67e5\u627e\u66f4\u591a\u5185\u5bb9&hellip;","_links":{"self":[{"href":"https:\/\/wpeyes.com\/astra\/wp-json\/wp\/v2\/posts\/93"}],"collection":[{"href":"https:\/\/wpeyes.com\/astra\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/wpeyes.com\/astra\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/wpeyes.com\/astra\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/wpeyes.com\/astra\/wp-json\/wp\/v2\/comments?post=93"}],"version-history":[{"count":0,"href":"https:\/\/wpeyes.com\/astra\/wp-json\/wp\/v2\/posts\/93\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/wpeyes.com\/astra\/wp-json\/wp\/v2\/media\/94"}],"wp:attachment":[{"href":"https:\/\/wpeyes.com\/astra\/wp-json\/wp\/v2\/media?parent=93"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wpeyes.com\/astra\/wp-json\/wp\/v2\/categories?post=93"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wpeyes.com\/astra\/wp-json\/wp\/v2\/tags?post=93"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}