{"id":128,"date":"2022-07-01T16:53:38","date_gmt":"2022-07-01T08:53:38","guid":{"rendered":"https:\/\/wpeyes.com\/wordpress\/?post_type=docs&#038;p=128"},"modified":"2022-07-03T13:59:50","modified_gmt":"2022-07-03T05:59:50","slug":"%e8%af%95%e9%a9%bewordpress","status":"publish","type":"docs","link":"https:\/\/wpeyes.com\/wordpress\/docs\/%e8%af%95%e9%a9%bewordpress","title":{"rendered":"\u8bd5\u9a7eWordPress"},"content":{"rendered":"\n<p>\u6709\u65f6\u60a8\u9700\u8981\u5728\u516c\u4f17\u89c6\u7ebf\u4e4b\u5916\u6d4b\u8bd5\u5bf9 WordPress \u9a71\u52a8\u7684\u7f51\u7ad9\u7684\u66f4\u6539\u3002\u5bf9\u5b9e\u65f6\u7ad9\u70b9\u8fdb\u884c\u66f4\u6539\u53ef\u80fd\u4f1a\u5bf9\u60a8\u7684\u8bfb\u8005\u4ea7\u751f\u4e0d\u5229\u5f71\u54cd\u3002<\/p>\n\n\n\n<p>\u4f60\u6709\u51e0\u4e2a\u9009\u62e9\u3002<\/p>\n\n\n\n<p><strong><a href=\"https:\/\/wordpress.org\/support\/article\/test-driving-wordpress\/#Creating_a_Sandbox\">\u521b\u5efa\u6c99\u76d2<\/a><\/strong><\/p>\n\n\n\n<p>\u8fd9\u6837\u505a\u662f\u4e3a\u4e86\u6d4b\u8bd5\u9a71\u52a8\u60a8\u7684<a href=\"https:\/\/wordpress.org\/support\/article\/using-themes\/\">WordPress \u4e3b\u9898<\/a>\u548c\u6837\u5f0f\u8868\uff0c\u5141\u8bb8\u60a8\u5728\u8ba1\u7b97\u673a\u4e0a\u5f00\u53d1 WordPress \u4e3b\u9898\u3002\u8fd9\u9650\u5236\u4e86\u60a8\u53ea\u80fd\u4f7f\u7528 CSS \u800c\u4e0d\u80fd\u4f7f\u7528 WordPress \u7684\u63d2\u4ef6\u548c\u5176\u4ed6\u5f3a\u5927\u529f\u80fd\u3002\u8fd9\u6700\u9002\u5408\u4ec5\u8bbe\u7f6e\u9875\u9762\u6837\u5f0f\u3002<\/p>\n\n\n\n<p><strong><a href=\"https:\/\/wordpress.org\/support\/article\/test-driving-wordpress\/#Hiding_Your_WordPress_Test_Area\">\u9690\u85cf\u60a8\u7684 WordPress \u6d4b\u8bd5\u533a<\/a><\/strong><\/p>\n\n\n\n<p>\u60a8\u8fd8\u53ef\u4ee5\u5728\u60a8\u7684\u7f51\u7ad9\u670d\u52a1\u5668\u4e0a\u5173\u95ed\u5bf9 WordPress \u6d4b\u8bd5\u7ad9\u70b9\u7684\u8bbf\u95ee\u3002\u8fd9\u6d89\u53ca\u5bf9 Apache \u7684\u4e00\u4e9b\u719f\u6089<code>.htaccess<\/code>\uff0c\u4f46\u5b83\u5141\u8bb8\u60a8\u7ee7\u7eed\u5728 Internet \u4e0a\u5de5\u4f5c\uff0c\u540c\u65f6\u4e0d\u4f1a\u5c06\u60a8\u7684\u6d4b\u8bd5\u7ad9\u70b9\u66b4\u9732\u7ed9\u516c\u4f17\u3002<\/p>\n\n\n\n<p><strong><a href=\"https:\/\/wordpress.org\/support\/article\/test-driving-wordpress\/#Installing_WordPress_on_Your_Windows_Desktop\">\u5728\u60a8\u7684\u8ba1\u7b97\u673a\u4e0a\u5b89\u88c5 WordPress<\/a><\/strong><\/p>\n\n\n\n<p>\u5982\u679c\u60a8\u51b3\u5fc3\u8ba9 WordPress \u5b8c\u6210\u5b83\u7684\u6b65\u4f10\uff0c\u60a8\u53ef\u4ee5\u5728\u60a8\u81ea\u5df1\u7684\u8ba1\u7b97\u673a\u4e0a\u5b89\u88c5 WordPress\uff0c\u5e76\u8fdb\u884c\u4e00\u4e9b\u4fee\u6539\u3002\u8fd9\u4f7f\u60a8\u53ef\u4ee5\u5b8c\u5168\u63a7\u5236 WordPress \u7684\u64cd\u4f5c\u548c\u529f\u80fd\u3002\u60a8\u4ecd\u7136\u53ef\u4ee5\u4f7f\u7528\u63d2\u4ef6\u3001\u6a21\u677f\u6587\u4ef6\u3001\u4e3b\u9898\uff0c\u5e76\u91cd\u65b0\u8bbe\u8ba1\u6240\u6709\u5185\u5bb9\uff0c\u5c31\u597d\u50cf\u5b83\u5728 Internet \u4e0a\u4e00\u6837\uff0c\u800c\u65e0\u9700\u4f7f\u7528\u5e26\u5bbd\u6216\u906d\u53d7 Internet \u8bbf\u95ee\u901f\u5ea6\u7f13\u6162\u7684\u56f0\u6270\u3002\u6211\u4eec\u5bf9\u6b64\u6709\u4e24\u79cd\u89e3\u91ca\uff1a<a href=\"https:\/\/wordpress.org\/support\/article\/test-driving-wordpress\/#Installing_WordPress_on_Your_Windows_Desktop\">\u5728\u60a8\u7684\u8ba1\u7b97\u673a\u4e0a\u5b89\u88c5\u65b0\u5b89\u88c5<\/a>\u548c<a href=\"https:\/\/wordpress.org\/support\/article\/test-driving-wordpress\/#Installing_an_Existing_WordPress_Site\">\u5b89\u88c5\u73b0\u6709\u7684 WordPress \u7ad9\u70b9<\/a>\u3002\u6211\u4eec\u8fd8\u4ecb\u7ecd\u4e86\u5728\u60a8\u7684\u8ba1\u7b97\u673a\u4e0a\u5b8c\u6210<a href=\"https:\/\/wordpress.org\/support\/article\/test-driving-wordpress\/#Moving_Your_Test_WordPress_Site_to_Your_Website\">\u7f51\u7ad9\u5f00\u53d1\u540e\u5c06 WordPress \u8fc1\u79fb\u5230\u60a8\u7684\u7f51\u7ad9\u3002<\/a><\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"Creating_a_Sandbox\"><a href=\"https:\/\/wordpress.org\/support\/article\/test-driving-wordpress\/#Creating_a_Sandbox\">\u521b\u5efa\u6c99\u76d2<\/a><\/h2>\n\n\n\n<p><strong>\u6c99\u76d2<\/strong>\u662f\u4e00\u4e2a\u4e0e\u60a8\u5c0f\u65f6\u5019\u53ef\u80fd\u73a9\u8fc7\u5e76\u5efa\u9020\u6c99\u5821\u7684\u6c99\u76d2\u76f8\u5173\u7684\u672f\u8bed\u3002\u8fd9\u662f\u4e00\u4e2a\u7ec3\u4e60\u6982\u5ff5\u548c\u63a2\u7d22\u60f3\u8c61\u529b\u7684\u6e38\u4e50\u573a\u3002WordPress \u6c99\u76d2\u57fa\u672c\u4e0a\u662f WordPress \u7ad9\u70b9\u4e0a\u751f\u6210\u7684\u9875\u9762\u7684\u526f\u672c\uff0c\u5b83\u4fdd\u5b58\u5230\u60a8\u7684\u786c\u76d8\u9a71\u52a8\u5668\u4e2d\uff0c\u4f9b\u60a8\u5728\u5f00\u53d1\u6700\u7ec8\u4e3b\u9898\u548c\u67e5\u627e\u7ad9\u70b9\u65f6\u4f7f\u7528\u3002<\/p>\n\n\n\n<p>WordPress \u4f7f\u7528\u4e0d\u540c\u7684<a href=\"https:\/\/codex.wordpress.org\/Templates\">\u6a21\u677f\u6587\u4ef6<\/a>\u5728\u60a8\u7684\u7f51\u7ad9\u4e0a\u751f\u6210\u4e0d\u540c\u7684\u89c6\u56fe\u3002\u4e00\u822c\u6765\u8bf4\uff0c\u6709<strong>\u9996\u9875\u89c6\u56fe<\/strong>\u3001<strong>\u5355\u7bc7\u6587\u7ae0\u89c6\u56fe<\/strong>\u548c<strong>\u591a\u7bc7\u6587\u7ae0\u89c6\u56fe<\/strong>\uff0c\u7528\u4e8e\u5206\u7c7b\u3001\u5f52\u6863\u548c\u641c\u7d22\u3002\u6709\u5173 WordPress \u4e3b\u9898\u7ed3\u6784\u7684\u66f4\u591a\u4fe1\u606f\uff0c\u8bf7\u53c2\u9605<a href=\"https:\/\/codex.wordpress.org\/Site%20Architecture%201.5\">\u7ad9\u70b9\u67b6\u6784 1.5<\/a>\u3002\u7531\u4e8e\u4e0d\u540c\u7684\u9875\u9762\u89c6\u56fe\u4f7f\u7528\u4e0d\u540c\u7684 CSS \u6837\u5f0f\uff0c\u81f3\u5c11\u60a8\u9700\u8981\u6309\u7167\u8fd9\u4e9b\u8bf4\u660e\u5728\u6c99\u7bb1\u4e2d\u653e\u7f6e\u4e09\u4e2a\u9875\u9762\u89c6\u56fe\u3002<\/p>\n\n\n\n<ol><li><a href=\"https:\/\/codex.wordpress.org\/Administration%20Screens\">\u5728\u7ba1\u7406\u5c4f\u5e55\u7684<\/a><a href=\"https:\/\/codex.wordpress.org\/Administration_Screens#Appearance\">\u5916\u89c2<\/a>\u5c4f\u5e55\u4e2d\u9009\u62e9\u60a8\u60f3\u8981\u4f7f\u7528\u7684 WordPress \u4e3b\u9898\u3002<a href=\"https:\/\/codex.wordpress.org\/Administration%20Screens\"><\/a><\/li><li>\u4ece\u60a8\u7684\u521d\u59cb\u6216\u6d4b\u8bd5 WordPress \u7ad9\u70b9\uff0c\u67e5\u770b\u4ee5\u4e0b\u9875\u9762\u89c6\u56fe\u4e4b\u4e00\uff1a<\/li><li>* \u9996\u9875<\/li><li>* \u5355\u4e2a\u5e16\u5b50<\/li><li>*\u591a\u5e16\u5b50\u9875\u9762<\/li><li>\u4ece\u60a8\u7684\u6d4f\u89c8\u5668\uff1a<\/li><li># \u9009\u62e9<strong>\u6587\u4ef6 &gt; \u53e6\u5b58\u4e3a<\/strong>\u3002<\/li><li># \u4f7f\u7528\u4e0a\u8ff0\u201c\u6807\u9898\u201d\u4e4b\u4e00\u547d\u540d\u4fdd\u5b58\u7684\u9875\u9762\u3002<\/li><li># \u5c06\u6bcf\u4e2a\u9875\u9762\u7684\u6587\u4ef6\u4fdd\u5b58\u5230\u60a8\u7684\u6c99\u7bb1\u6587\u4ef6\u5939\u4e2d\u3002<\/li><li>\u4ece\u60a8\u7684\u4e3b\u9898\u6587\u4ef6\u5939\u4e2d\uff0c\u5c06<code>style.css<\/code>\u6837\u5f0f\u8868\u6587\u4ef6\u590d\u5236\u5230\u60a8\u7684\u6c99\u7bb1\u6587\u4ef6\u5939\u4e2d\u3002<\/li><li><a href=\"https:\/\/codex.wordpress.org\/Glossary#Text%20editor\">\u5728\u6587\u672c\u7f16\u8f91\u5668<\/a>\u4e2d\u6253\u5f00\u60a8\u4fdd\u5b58\u7684\u4e09\u4e2a\u6587\u4ef6\u4e2d\u7684\u6bcf\u4e00\u4e2a\u5e76\u66f4\u6539\u4ee5\u4e0b\u5185\u5bb9\uff1a<\/li><\/ol>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td>123<\/td><td><code>&lt;style type=<\/code><code>\"text\/css\"<\/code> <code>media=<\/code><code>\"screen\"<\/code><code>&gt;<\/code><code>@import url(<\/code><code>'\/wp-content\/themes\/yourtheme\/style.css'<\/code><code>);<\/code><code>&lt;\/style&gt;<\/code><\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p>\u81f3<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td>1<\/td><td><code>&lt;link rel=<\/code><code>\"stylesheet\"<\/code> <code>type=<\/code><code>\"text\/css\"<\/code> <code>media=<\/code><code>\"screen\"<\/code> <code>href=<\/code><code>\"style.css\"<\/code> <code>\/&gt;<\/code><\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p>\u6700\u540e\uff0c\u627e\u5230\u4e0e\u6837\u5f0f\u8868\u76f8\u5173\u7684\u6240\u6709\u56fe\u50cf\u6587\u4ef6\u548c\u56fe\u5f62\uff0c\u5982\u80cc\u666f\u56fe\u50cf\u3001\u56fe\u6807\u3001\u9879\u76ee\u7b26\u53f7\u6216\u5176\u4ed6\uff0c\u5e76\u5c06\u5b83\u4eec\u590d\u5236\u5230\u60a8\u7684\u6c99\u7bb1\u6587\u4ef6\u5939\u4e2d\u3002\u4ece\u6837\u5f0f\u8868\u4e2d\u6307\u5411\u8fd9\u4e9b\u9879\u76ee\u7684\u94fe\u63a5\u4e0d\u5e94\u5728\u5176\u94fe\u63a5\u4e2d\u5305\u542b\u6587\u4ef6\u5939\uff0c\u6216\u94fe\u63a5\u5230\u6c99\u76d2\u6587\u4ef6\u5939\u4e2d\u7684\u5b50\u6587\u4ef6\u5939\uff0c\u4f8b\u5982\uff1a<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td>12345<\/td><td><code>header {<\/code><code>&nbsp;&nbsp;<\/code><code>margin<\/code><code>:<\/code><code>5px<\/code><code>;<\/code><code>&nbsp;&nbsp;<\/code><code>padding<\/code><code>:<\/code><code>10px<\/code><code>;<\/code><code>&nbsp;&nbsp;<\/code><code>background<\/code><code>:<\/code><code>url<\/code><code>(images\/background.jpg)....<\/code><code>}<\/code><\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p>\u8981\u5bf9\u6b64\u8fdb\u884c\u6d4b\u8bd5\uff0c\u8bf7\u53cc\u51fb\u8be5\u6587\u4ef6\u5939\u4e2d\u7684\u4e00\u4e2a\u9875\u9762\u4ee5\u5728\u6d4f\u89c8\u5668\u4e2d\u67e5\u770b\u5b83\u3002\u5982\u679c\u6837\u5f0f\u548c\u56fe\u5f62\u53ef\u89c1\uff0c\u5b83\u5c31\u8d77\u4f5c\u7528\u4e86\u3002\u5982\u679c\u6ca1\u6709\uff0c\u8bf7\u68c0\u67e5\u6307\u5411\u60a8\u7684\u6837\u5f0f\u8868\u7684\u94fe\u63a5\u3002<\/p>\n\n\n\n<p>\u73b0\u5728\uff0c\u4f60\u6709\u4e00\u4e2a\u6c99\u76d2\u53ef\u4ee5\u73a9\u4e86\u3002<\/p>\n\n\n\n<p>\u8981\u4f7f\u7528\u60a8\u7684\u6c99\u76d2\uff0c\u8bf7\u6253\u5f00\u4e24\u4e2a\u7a0b\u5e8f\u3002\u4e00\u4e2a\u662f\u5e26\u6709\u6587\u4ef6\u7684\u6587\u672c\u7f16\u8f91\u5668\uff0c<code>style.css<\/code>\u53e6\u4e00\u4e2a\u662f\u5e26\u6709\u60a8\u6b63\u5728\u5904\u7406\u7684\u9875\u9762\u7684\u6d4f\u89c8\u5668\u3002\u5728\u6837\u5f0f\u8868\u4e2d\u8fdb\u884c\u66f4\u6539\uff0c\u4fdd\u5b58\u5b83\uff0c\u7136\u540e<a href=\"https:\/\/codex.wordpress.org\/I%20Make%20Changes%20and%20Nothing%20Happens\">\u5b8c\u5168\u5237\u65b0<\/a>\u6216\u6d4f\u89c8\u5668\u5c4f\u5e55\u5e76\u67e5\u770b\u66f4\u6539\u5185\u5bb9\u3002\u7136\u540e\u91cd\u590d\u8fd9\u4e2a\u8fc7\u7a0b\u3002\u5b8c\u6210\u4e00\u9875\u540e\uff0c\u8f6c\u5230\u4e0b\u4e00\u9875\u5e76\u68c0\u67e5\u8fd9\u4e9b\u66f4\u6539\u5e76\u5728\u5fc5\u8981\u65f6\u6dfb\u52a0\u66f4\u591a\u5185\u5bb9\u3002<\/p>\n\n\n\n<p><a href=\"https:\/\/wordpress.org\/support\/article\/test-driving-wordpress\/#top\">\u9876\u90e8\u2191<\/a><\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"sandbox-tips\"><a href=\"https:\/\/wordpress.org\/support\/article\/test-driving-wordpress\/#sandbox-tips\">\u6c99\u76d2\u63d0\u793a<\/a><\/h3>\n\n\n\n<p>\u4ee5\u4e0b\u662f\u5728\u6c99\u76d2\u4e2d\u73a9\u6e38\u620f\u7684\u4e00\u4e9b\u6280\u5de7\u3002<\/p>\n\n\n\n<p><strong>\u7ecf\u5e38\u5907\u4efd<\/strong><\/p>\n\n\n\n<p>\u5de5\u4f5c\u65f6\uff0c\u5728\u5bf9\u5907\u4efd\u6587\u4ef6\u5939\u8fdb\u884c\u91cd\u5927\u6539\u9020\u4e4b\u524d\uff0c\u5148\u590d\u5236\u6587\u4ef6\u5939\u4e2d\u7684\u6587\u4ef6\u3002\u6216\u8005\uff0c\u60a8\u53ef\u4ee5\u4f7f\u7528\u6587\u4ef6\u538b\u7f29\u5b9e\u7528\u7a0b\u5e8f\uff08\u5982 zip \u7a0b\u5e8f\uff09\u6765\u4fdd\u5b58\u6574\u4e2a\u6587\u4ef6\u5939\u3002\u5982\u679c\u60a8\u6240\u505a\u7684\u66f4\u6539\u4e0d\u8d77\u4f5c\u7528\uff0c\u60a8\u53ef\u4ee5\u4f7f\u7528\u6700\u8fd1\u7684\u5907\u4efd\u3002<\/p>\n\n\n\n<p><strong>\u8ddf\u8e2a DIVS \u548c CLASSES<\/strong><\/p>\n\n\n\n<p>\u5728\u5f00\u59cb\u4e4b\u524d\uff0c\u8bf7\u5728\u6587\u672c\u7f16\u8f91\u5668\u4e2d\u6d4f\u89c8\u4e09\u4e2a\u9875\u9762\u89c6\u56fe\u4e2d\u7684\u6bcf\u4e00\u4e2a\u7684\u6e90\u4ee3\u7801\u6587\u4ef6\uff0c\u5e76\u6dfb\u52a0\u5173\u4e8e\u6bcf\u4e2a\u90e8\u5206\u7684\u5f00\u59cb\u548c\u7ed3\u675f\u4f4d\u7f6e\u7684<a href=\"https:\/\/codex.wordpress.org\/Commenting%20Code\">\u6ce8\u91ca\u3002<\/a>\u8fd9\u4e9b\u901a\u5e38\u5728\u6a21\u677f\u6587\u4ef6\u4e4b\u95f4\u4ea4\u53c9\uff0c\u5e76\u4e14\u5f88\u96be\u8ffd\u8e2a\u3002\u901a\u8fc7\u8bb0\u5f55\u8fd9\u4e9b\u5f00\u59cb\u548c\u7ed3\u675f\u7684\u4f4d\u7f6e\uff0c\u8ba9\u60a8\u7684\u751f\u6d3b\u66f4\u8f7b\u677e\u3002<\/p>\n\n\n\n<p><strong>\u505a\u7b14\u8bb0<\/strong><\/p>\n\n\n\n<p>\u5728\u505a\u51fa\u5de8\u5927\u6539\u53d8\u4e4b\u524d\uff0c\u5199\u4e0b\u4f60\u6b63\u5728\u6539\u53d8\u7684\u4e1c\u897f\u3002\u901a\u8fc7\u8fd9\u79cd\u65b9\u5f0f\uff0c\u5f53\u4e8b\u60c5\u4ee5\u540e\u4e0d\u5de5\u4f5c\u65f6\uff0c\u60a8\u53ef\u4ee5\u53c2\u8003\u7b14\u8bb0\uff0c\u5e76\u4e14\u60a8\u6b63\u5728\u5c1d\u8bd5\u8ddf\u8e2a\u66f4\u6539\u7684\u5386\u53f2\u8bb0\u5f55\u3002<\/p>\n\n\n\n<p><strong>\u5728\u91cc\u9762\u505a\u7b14\u8bb0<\/strong><\/p>\n\n\n\n<p>\u5f53\u5bf9\u6837\u5f0f\u8868\u6216\u7f51\u9875\u6e90\u4ee3\u7801\u8fdb\u884c\u91cd\u5927\u66f4\u6539\u65f6\uff0c\u8bf7\u5728\u4ee3\u7801\u4e2d<a href=\"https:\/\/codex.wordpress.org\/Commenting%20Code\">\u6dfb\u52a0\u6ce8\u91ca\u6216\u6ce8\u91ca<\/a>\u3002\u8fd9\u4e5f\u5c06\u5e2e\u52a9\u60a8\u8ddf\u8e2a\u6240\u505a\u7684\u66f4\u6539\u3002<\/p>\n\n\n\n<p><strong>\u8fc8\u51fa\u5c0f\u6b65<\/strong><\/p>\n\n\n\n<p>\u4e00\u6b21\u8fdb\u884c\u5927\u91cf\u66f4\u6539\u4f1a\u4f7f\u60a8\u66f4\u96be\u627e\u5230\u5bfc\u81f4\u4e8b\u60c5\u5931\u63a7\u7684\u5c0f\u66f4\u6539\u3002\u4e00\u4e2a\u597d\u7684\u65b9\u6cd5\u662f\u91c7\u53d6\u5c0f\u6b65\u9aa4\u5e76\u68c0\u67e5\uff0c\u7136\u540e\u8fdb\u884c\u989d\u5916\u7684\u5c0f\u4fee\u6539\u5e76\u518d\u6b21\u68c0\u67e5\u3002<\/p>\n\n\n\n<p><strong>\u907f\u514d\u66f4\u6539\u6a21\u677f\u6587\u4ef6<\/strong><\/p>\n\n\n\n<p>\u9996\u5148\u4f7f\u7528\u5df2\u6709\u7684<a href=\"https:\/\/codex.wordpress.org\/Site%20Architecture%201.5\">\u7ad9\u70b9\u67b6\u6784<\/a>\u548c\u6837\u5f0f\u53c2\u8003\u3002\u5982\u679c\u60a8\u5c06\u5411<a href=\"https:\/\/codex.wordpress.org\/Theme_Review\">\u516c\u4f17\u53d1\u5e03\u60a8\u7684\u4e3b\u9898\uff0c\u5219<\/a>\u5fc5\u987b\u8ba4\u771f\u91cd\u65b0\u8003\u8651\u5bf9\u6a21\u677f\u6587\u4ef6\u7684\u4fee\u6539\u5e76\u4ed4\u7ec6\u5b8c\u6210\u3002\u5982\u679c\u60a8\u6b63\u5728\u91cd\u5efa\u7ad9\u70b9\u4ee5\u4f9b\u79c1\u4eba\u4f7f\u7528\uff0c\u90a3\u4e48\u60a8\u53ef\u4ee5\u5bf9 HTML \u4fdd\u5b58\u7684\u9875\u9762\u6e90\u4ee3\u7801\u8fdb\u884c\u8fd9\u4e9b\u66f4\u6539\uff0c\u7136\u540e\u7a0d\u540e\u5c06\u8fd9\u4e9b\u66f4\u6539\u79fb\u52a8\u5230\u6a21\u677f\u6587\u4ef6\u4e2d\u3002<\/p>\n\n\n\n<p><a href=\"https:\/\/wordpress.org\/support\/article\/test-driving-wordpress\/#top\">\u9876\u90e8\u2191<\/a><\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"moving-your-sandbox-to-your-theme\"><a href=\"https:\/\/wordpress.org\/support\/article\/test-driving-wordpress\/#moving-your-sandbox-to-your-theme\">\u5c06\u60a8\u7684\u6c99\u76d2\u79fb\u52a8\u5230\u60a8\u7684\u4e3b\u9898<\/a><\/h3>\n\n\n\n<p>\u5f53\u60a8\u5b8c\u6210\u6240\u6709\u66f4\u6539\u5e76\u5bf9\u7ed3\u679c\u611f\u5230\u6ee1\u610f\u65f6\uff0c\u662f\u65f6\u5019\u5c06\u60a8\u7684\u6c99\u7bb1\u79fb\u56de\u60a8\u7684 WordPress \u4e3b\u9898\u4e86\u3002<\/p>\n\n\n\n<ol><li>\u5c06\u6837\u5f0f\u8868\u6587\u4ef6\u4e0a\u4f20<code>style.css<\/code>\u5230\u60a8\u7f51\u7ad9\u4e0a\u7684 WordPress \u4e3b\u9898\u6587\u4ef6\u5939\uff0c\u66ff\u6362\u65e7\u6587\u4ef6\u3002<\/li><li>\u5c06\u6240\u6709\u56fe\u5f62\u548c\u56fe\u50cf\u4e0a\u4f20\u5230\u4e3b\u9898\u6587\u4ef6\u5939\u6216\u5b50\u6587\u4ef6\u5939\u3002<\/li><li>\u5728\u6d4f\u89c8\u5668\u4e2d\u67e5\u770b\u60a8\u7684\u7f51\u7ad9\u3002\u6539\u53d8\u5e94\u8be5\u662f\u5373\u65f6\u7684\u3002<\/li><li>\u5982\u679c\u60a8\u5bf9\u8fd9\u4e09\u4e2a\u9875\u9762\u4e2d\u4efb\u4f55\u4e00\u4e2a\u7684\u6e90\u4ee3\u7801\u8fdb\u884c\u4e86\u66f4\u6539\uff0c\u8bf7\u5c06\u5176\u8ddf\u8e2a\u5230\u5176\u7279\u5b9a\u7684\u6a21\u677f\u6587\u4ef6\uff0c\u5e76\u5728\u60a8\u7f51\u7ad9\u4e0a\u7684\u8fd9\u4e9b\u6a21\u677f\u6587\u4ef6\u4e2d\u8fdb\u884c\u66f4\u6539\u3002<\/li><\/ol>\n\n\n\n<p><a href=\"https:\/\/wordpress.org\/support\/article\/test-driving-wordpress\/#top\">\u9876\u90e8\u2191<\/a><\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"install-another-blog\"><a href=\"https:\/\/wordpress.org\/support\/article\/test-driving-wordpress\/#install-another-blog\">\u5b89\u88c5\u53e6\u4e00\u4e2a\u535a\u5ba2<\/a><\/h2>\n\n\n\n<ol><li>\u518d\u6b21\u5b89\u88c5 WordPress\uff0c\u4f46\u5728<em>wp-config.php<\/em>\u6587\u4ef6\u4e2d\uff0c\u4f7f\u7528\u4e0d\u540c\u7684<em>table-prefix<\/em>\u3002<\/li><li>\u5728\u9009\u9879 &gt; \u5199\u5165 &gt; \u66f4\u65b0\u670d\u52a1\u4e2d\uff0c\u6e05\u9664\u8be5\u6846\u3002<\/li><li>\u544a\u8bc9\u4efb\u4f55\u4eba\u60a8\u7684\u535a\u5ba2\u6240\u5728\u7684\u4f4d\u7f6e\u3002<\/li><\/ol>\n\n\n\n<p>\u5982\u679c\u60a8\u4ece\u60a8\u7684\u535a\u5ba2\u8f6c\u5230\u53e6\u4e00\u4e2a\u7ad9\u70b9\uff0c\u90a3\u4e48\u60a8\u7684\u7ad9\u70b9\u53ef\u80fd\u4f1a\u56e0\u4e3a\u6d4f\u89c8\u5668\u4e2d\u7684\u5f15\u7528\u8005\u800c\u88ab\u53d1\u73b0\u3002\u4e3a\u9632\u6b62\u8fd9\u79cd\u60c5\u51b5\uff0c\u8bf7\u8bbf\u95ee\u60a8\u7684\u771f\u5b9e\u535a\u5ba2\uff0c\u7136\u540e\u8bbf\u95ee\u53e6\u4e00\u4e2a\u7ad9\u70b9\u3002<\/p>\n\n\n\n<p>\u6b64\u65b9\u6cd5\u5728\u6d4b\u8bd5\u7ed3\u675f\u65f6\u5f88\u6709\u7528\uff0c\u56e0\u4e3a\u60a8\u53ef\u4ee5\u8981\u6c42\u4eba\u4eec\u4f7f\u7528\u5176\u4ed6\u6d4f\u89c8\u5668\/\u5c4f\u5e55\u5206\u8fa8\u7387\u8fdb\u884c\u6d4b\u8bd5\u3002<\/p>\n\n\n\n<p><a href=\"https:\/\/wordpress.org\/support\/article\/test-driving-wordpress\/#top\">\u9876\u90e8\u2191<\/a><\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"Hiding_Your_WordPress_Test_Area\"><a href=\"https:\/\/wordpress.org\/support\/article\/test-driving-wordpress\/#Hiding_Your_WordPress_Test_Area\">\u9690\u85cf\u60a8\u7684 WordPress \u6d4b\u8bd5\u533a<\/a><\/h2>\n\n\n\n<p>\u8981\u5411\u5176\u4ed6\u4eba\u9690\u85cf\u60a8\u7684 WordPress \u6d4b\u8bd5\u6587\u4ef6\u5939\uff0c\u60a8\u53ef\u4ee5\u4f7f\u7528<code>.htaccess<\/code>Apache Web \u670d\u52a1\u5668\u4e0a\u7684\u6587\u4ef6\u3002\u8be5<code>.htaccess<\/code>\u6587\u4ef6\u662f\u5b58\u50a8\u670d\u52a1\u5668\u6307\u4ee4\u7684\u6587\u4ef6\uff0c\u8fd9\u4e9b\u6307\u4ee4\u544a\u8bc9\u670d\u52a1\u5668\u5728\u7279\u5b9a\u60c5\u51b5\u4e0b\u8981\u505a\u4ec0\u4e48\u3002\u60a8\u4e5f\u53ef\u4ee5\u4f7f\u7528 Apache \u914d\u7f6e\u6587\u4ef6 (&nbsp;<code>httpd.conf<\/code>) \u6216\u5176\u4ed6\u65b9\u6cd5\uff0c\u4f46\u8be5<code>.htaccess<\/code>\u6587\u4ef6\u53ea\u80fd\u5e94\u7528\u4e8e<code>.htaccess<\/code>\u6587\u4ef6\u6240\u5728\u7684\u6587\u4ef6\u5939\u4ee5\u53ca\u8be5\u6587\u4ef6\u5939\u4e0b\u7684\u6240\u6709\u6587\u4ef6\u5939\uff0c\u4ece\u800c\u5141\u8bb8\u60a8\u9650\u5236\u5bf9\u7279\u5b9a\u6587\u4ef6\u5939\u7684\u8bbf\u95ee\u3002<\/p>\n\n\n\n<p>\u8bf7\u8bb0\u4f4f\uff0c\u8fd9\u4ec5\u9002\u7528\u4e8e\u652f\u6301<code>.htaccess<\/code>.&nbsp;\u5982\u679c\u60a8\u4e0d\u786e\u5b9a\u60a8\u7684\u670d\u52a1\u5668\u662f\u5426\u652f\u6301<code>.htaccess<\/code>\uff0c\u8bf7\u8054\u7cfb\u60a8\u7684\u6258\u7ba1\u670d\u52a1\u63d0\u4f9b\u5546\u3002\u6839\u636e\u60a8\u5bf9\u4e3b\u673a\u670d\u52a1\u5668\u7684\u8bbf\u95ee\u6743\u9650\uff0c\u60a8\u53ef\u80fd\u4f1a\u4e5f\u53ef\u80fd\u4e0d\u4f1a\u8fd9\u6837\u505a\u3002\u4f60\u53ef\u80fd\u9700\u8981\u4ed6\u4eec\u7684\u5e2e\u52a9\u3002\u5982\u679c\u60a8\u6b63\u5728\u8fd0\u884c\u81ea\u5df1\u7684\u670d\u52a1\u5668\uff0c\u6216\u8005\u60a8\u7684\u6258\u7ba1\u670d\u52a1\u63d0\u4f9b\u5546\u6ca1\u6709\u7ebf\u7d22\uff0c\u8bf7\u67e5\u9605<a href=\"http:\/\/httpd.apache.org\/docs-2.0\/mod\/core.html#allowoverride\">AllowOverride \u6587\u6863<\/a>\u3002<\/p>\n\n\n\n<p>\u4f7f\u7528\u8be5<code>.htaccess<\/code>\u6587\u4ef6\uff0c\u60a8\u9700\u8981\u63d0\u4f9b\u8bf4\u660e\u6765\u544a\u8bc9\u670d\u52a1\u5668\u9650\u5236\u6216\u62d2\u7edd\u8bbf\u95ee\u60a8\u7684 WordPress \u6d4b\u8bd5\u7ad9\u70b9\u3002\u5728\u5b89\u88c5 WordPress \u7684\u6587\u4ef6\u5939\u6216\u76ee\u5f55\u4e2d\uff0c\u6267\u884c\u4ee5\u4e0b\u64cd\u4f5c\uff1a<\/p>\n\n\n\n<ol><li>\u4f7f\u7528<a href=\"https:\/\/codex.wordpress.org\/Glossary#Text%20editor\">\u6587\u672c\u7f16\u8f91\u5668<\/a>\u521b\u5efa\u4e00\u4e2a\u540d\u4e3a<code>.htaccess<\/code>.<\/li><li>\u60a8\u9700\u8981\u4ee5\u4e0b\u4fe1\u606f\uff1a<\/li><li>*\u60a8\u7684\u7ad9\u70b9\u670d\u52a1\u5668\u4e0a\u516c\u5171\u4e0d\u53ef\u8bbf\u95ee\u7684\u76ee\u5f55\u7684\u5b8c\u6574\u8def\u5f84\uff08\u5982<code>http:\/\/example.com\/public_html\/<\/code>\u53ef\u8bbf\u95ee\u4f46<code>http:\/\/example.com\/private\/<\/code>\u4e0d\u53ef\u8bbf\u95ee\u3002\u4f7f\u7528\u540e\u8005\u3002<\/li><li>* \u5b89\u5168\u533a\u57df\u7684\u540d\u79f0\uff0c\u4f8b\u5982\u201c\u8f93\u5165\u5bc6\u7801\u201d\u6216\u201c\u5b89\u5168\u533a\u57df\u201d\uff08\u8fd9\u5e76\u4e0d\u91cd\u8981\uff0c\u53ea\u662f\u7b80\u5355\uff09\u3002<\/li><li>\u5728\u6587\u4ef6\u4e2d\u952e\u5165\u4ee5\u4e0b\u5185\u5bb9\uff0c\u5e76\u5c06<code>\/full\/path\/of\/directory\/<\/code>\u548c\u66ff\u6362<code>Security Area<\/code>\u4e3a\u4e0a\u8ff0\u4fe1\u606f\uff1a<code>AuthUserFile \/full\/path\/of\/directory\/.htpasswd AuthName \"Security Area\" AuthType Basic require valid-user<\/code><\/li><li>\u4fdd\u5b58\u6b64<code>.htaccess<\/code>\u6587\u4ef6\u5e76\u5c06\u5176\u4e0a\u4f20\u5230\u60a8\u60f3\u8981\u9690\u85cf\u548c\u4fdd\u62a4\u7684\u670d\u52a1\u5668\u4e0a\u7684\u76ee\u5f55\u3002\u8fd9\u5c06\u662f WordPress \u7684\u5b89\u88c5\u76ee\u5f55\uff0c\u4f8b\u5982<code>\/wordpress\/<\/code>\u6216<code>blog<\/code>.<\/li><li>\u4f7f\u7528 Telnet\u3001cPanel \u6216\u5176\u4ed6\u65b9\u5f0f\u8bbf\u95ee\u670d\u52a1\u5668\u7684\u547d\u4ee4\u9762\u677f\uff0c\u8f6c\u5230\u6307\u5b9a\u4e3a<code>AuthUserFile<\/code>.<\/li><li>\u952e\u5165\u4ee5\u4e0b\u547d\u4ee4\uff0c\u5176\u4e2d<code>user_name<\/code>\u662f\u8bbf\u95ee\u7684\u7528\u6237\u540d\uff1a<code>htpasswd -c .htpasswd user_name<\/code><\/li><li>\u51fa\u73b0\u63d0\u793a\u65f6\uff0c\u8f93\u5165\u5bc6\u7801\u5e76\u786e\u8ba4\u3002<\/li><li>\u8bb0\u4e0b\u60a8\u7684\u5bc6\u7801\u548c\u7528\u6237\u540d\uff0c\u5e76\u5c06\u5176\u4fdd\u5b58\u5728\u5b89\u5168\u7684\u5730\u65b9\u3002<\/li><\/ol>\n\n\n\n<p>\u5f53\u60a8\u51c6\u5907\u597d\u5411\u516c\u4f17\u5f00\u653e\u60a8\u7684\u7f51\u7ad9\u5e76\u53d6\u6d88\u4fdd\u62a4\u65f6\uff0c\u8bf7<code>.htaccess<\/code>\u4ece\u5176\u4f4d\u7f6e\u5220\u9664\u5bc6\u7801\u548c\u6587\u4ef6\u3002<\/p>\n\n\n\n<p>\u5f3a\u70c8\u5efa\u8bae\u60a8\u5220\u9664<a href=\"http:\/\/www.pingomatic.com\/\">Ping-o-Matic \u7684\u9ed8\u8ba4 ping URL\uff01<\/a>\uff0c\u5426\u5219\u60a8\u7684\u6d4b\u8bd5\u5e16\u5b50\u5c06\u88ab ping \u901a\uff0c\u5e76\u4e14\u60a8\u7684\u6d4b\u8bd5\u535a\u5ba2\u5c06\u516c\u5f00\uff0c\u4f46\u65e0\u6cd5\u8bbf\u95ee\u3002<\/p>\n\n\n\n<p><a href=\"https:\/\/wordpress.org\/support\/article\/test-driving-wordpress\/#top\">\u9876\u90e8\u2191<\/a><\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"htaccess-resources\"><a href=\"https:\/\/wordpress.org\/support\/article\/test-driving-wordpress\/#htaccess-resources\">Htaccess \u8d44\u6e90<\/a><\/h3>\n\n\n\n<ul><li><a href=\"http:\/\/httpd.apache.org\/docs-2.0\/howto\/htaccess.html\">.htaccess \u6587\u4ef6\u64cd\u4f5c\u65b9\u6cd5<\/a><\/li><li><a href=\"http:\/\/httpd.apache.org\/docs-2.0\/howto\/auth.html\">\u8eab\u4efd\u9a8c\u8bc1\u3001\u6388\u6743\u548c\u8bbf\u95ee\u63a7\u5236<\/a><\/li><\/ul>\n\n\n\n<p><a href=\"https:\/\/wordpress.org\/support\/article\/test-driving-wordpress\/#top\">\u9876\u90e8\u2191<\/a><\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"installing-wordpress-on-a-mac\"><a href=\"https:\/\/wordpress.org\/support\/article\/test-driving-wordpress\/#installing-wordpress-on-a-mac\">\u5728 Mac \u4e0a\u5b89\u88c5 WordPress<\/a><\/h2>\n\n\n\n<p>\u4f7f\u7528\u8fd9\u4e9b\u8bf4\u660e\u8bbe\u7f6e\u672c\u5730\u670d\u52a1\u5668\u73af\u5883\u4ee5\u5728 Mac \u4e0a\u8fdb\u884c\u6d4b\u8bd5\u548c\u5f00\u53d1\u3002<\/p>\n\n\n\n<ul><li><a href=\"https:\/\/codex.wordpress.org\/Installing_WordPress_Locally_on_Your_Mac_With_MAMP\">\u5b89\u88c5_WordPress_Locally_on_Your_Mac_With_MAMP<\/a><\/li><\/ul>\n\n\n\n<p><a href=\"https:\/\/wordpress.org\/support\/article\/test-driving-wordpress\/#top\">\u9876\u90e8\u2191<\/a><\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"Installing_WordPress_on_Your_Windows_Desktop\"><a href=\"https:\/\/wordpress.org\/support\/article\/test-driving-wordpress\/#Installing_WordPress_on_Your_Windows_Desktop\">\u5728 Windows \u684c\u9762\u4e0a\u5b89\u88c5 WordPress<\/a><\/h2>\n\n\n\n<p>\u4e3a\u4e86\u8ba9 WordPress \u5de5\u4f5c\uff0c\u5b83\u5fc5\u987b\u80fd\u591f\u8bbf\u95ee Apache \u670d\u52a1\u5668\u3001MySQL\/MariaDB \u548c phpMyAdmin\u3002\u5355\u72ec\u5b89\u88c5\u8fd9\u4e9b\u53ef\u80fd\u4f1a\u5f88\u75db\u82e6\u3002\u5bf9\u6211\u4eec\u6765\u8bf4\u5e78\u8fd0\u7684\u662f\uff0c<a href=\"http:\/\/www.apachefriends.org\/en\/xampp-windows.html\">XAMPP<\/a>\u4f7f\u7528\u4e00\u4e2a\u7a0b\u5e8f\u5b89\u88c5\u6240\u6709\u8fd9\u4e9b\uff0c\u5141\u8bb8\u60a8\u5728\u8ba1\u7b97\u673a\u4e0a\u8fd0\u884c WordPress\u3002\u8be5\u7a0b\u5e8f\u6709\u4e24\u4e2a\u7248\u672c\uff0cBasic \u548c Lite\u3002Lite \u7248\u672c\u901a\u5e38\u5c31\u8db3\u591f\u4e86\u3002<\/p>\n\n\n\n<ol><li>\u4e0b\u8f7d\u5e76\u5b89\u88c5<a href=\"http:\/\/www.apachefriends.org\/en\/xampp-windows.html\">XAMPP<\/a>\u3002<\/li><li>\u8fd9\u9ed8\u8ba4\u5b89\u88c5\u5230<code>C:\/xampplite<\/code>or<code>C:\\xampp<\/code>\u4e2d\u3002<\/li><li>\u4ece c:\\xampplite \u6216 c:\\xampp \u542f\u52a8 XAMPP\u3002<\/li><li>\u60a8\u53ef\u80fd\u9700\u8981\u91cd\u65b0\u542f\u52a8\u8ba1\u7b97\u673a\u624d\u80fd\u542f\u52a8 apache \u670d\u52a1\u3002<\/li><li>\u5728\u60a8\u7684\u6d4f\u89c8\u5668\u4e2d\uff0c\u8f6c\u5230<code>http:\/\/localhost\/xampp<\/code>\u3002<\/li><li>\u5728\u5de5\u5177\u4e0b\u7684\u5de6\u5217\u4e2d\uff0c\u5355\u51fb<strong>phpMyAdmin<\/strong>\u3002<\/li><li>\u767b\u5f55\u662f\u7ba1\u7406\u5458\u3002<\/li><li>\u5728<strong>\u521b\u5efa\u65b0\u6570\u636e\u5e93<\/strong>\u4e2d\u8f93\u5165<strong>wordpress<\/strong>\u3002<\/li><li>\u5728\u4e0b\u4e00\u4e2a\u6846\u4e2d\uff0c\u9009\u62e9<strong>utf8 unicode ci<\/strong>\u3002<\/li><li>\u5355\u51fb<strong>\u521b\u5efa<\/strong>\u6309\u94ae\u3002<\/li><li>\u5c06\u60a8\u7684 WordPress \u4e0b\u8f7d\u89e3\u538b\u7f29\u5230<code>htdocs<\/code>\u76ee\u5f55 &#8211; c:\\xampp\\htdocs\\\u3002<\/li><li>\u4ece\u6587\u4ef6\u5939\u4e2d\uff0c<code>wp-config-sample.php<\/code>\u5728<a href=\"https:\/\/codex.wordpress.org\/Glossary#Text%20editor\">\u6587\u672c\u7f16\u8f91\u5668<\/a>\u4e2d\u6253\u5f00\u3002<\/li><li>\u60a8\u9700\u8981\u7684\u8fde\u63a5\u8be6\u7ec6\u4fe1\u606f\u5982\u4e0b\uff1a&nbsp;<code>\/\/ ** MySQL settings ** \/\/ define('DB_NAME', 'wordpress'); \/\/ The name of the database define('DB_USER', 'root'); \/\/ Your MySQL username define('DB_PASSWORD', ''); \/\/ ...and password define('DB_HOST', 'localhost'); \/\/ 99% chance you won't need to change this<\/code><\/li><li>\u53e6\u5b58\u4e3a<code>wp-config.php<\/code>.<\/li><li>\u901a\u8fc7\u8f6c\u5230\u5b89\u88c5<code>http:\/\/localhost\/wordpress\/wp-admin\/install.php<\/code><\/li><\/ol>\n\n\n\n<p><strong>\u91cd\u8981\u63d0\u793a\uff1a<\/strong>\u5982\u679c\u60a8\u7684\u8fde\u63a5\u8db3\u591f\u597d\uff0c\u5219\u53ef\u4ee5\u4f7f\u7528\u5b83\u6765\u5b9e\u9645\u6258\u7ba1\u60a8\u7684\u535a\u5ba2\u3002\u5982\u679c\u4f60\u60f3\u8fd9\u6837\u505a\uff0c\u4f60\u5fc5\u987b\u63d0\u9ad8\u5b89\u5168\u7ea7\u522b\u3002\u5982\u679c\u60a8\u5141\u8bb8\u7f51\u7edc\u8bbf\u95ee\u60a8\u7684\u535a\u5ba2\uff0c\u5219\u6b64\u63cf\u8ff0\u4e0d\u5b89\u5168\u3002<\/p>\n\n\n\n<p><a href=\"https:\/\/wordpress.org\/support\/article\/test-driving-wordpress\/#top\">\u9876\u90e8\u2191<\/a><\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"Installing_an_Existing_WordPress_Site\"><a href=\"https:\/\/wordpress.org\/support\/article\/test-driving-wordpress\/#Installing_an_Existing_WordPress_Site\">\u5b89\u88c5\u73b0\u6709\u7684 WordPress \u7f51\u7ad9<\/a><\/h2>\n\n\n\n<p>\u5728 XAMPP \u7684\u5e2e\u52a9\u4e0b\uff0c\u60a8\u53ef\u4ee5\u76f4\u63a5\u5728\u60a8\u7684\u8ba1\u7b97\u673a\u4e0a\u5b89\u88c5 WordPress \u5e76\u968f\u5fc3\u6240\u6b32\u5730\u4f7f\u7528\u5b83\u3002\u8fd9\u6837\u4e00\u6765\uff0c\u5b83\u5c31\u5b8c\u5168\u4e0e\u516c\u4f17\u66dd\u5149\u9694\u7edd\u4e86\uff0c\u4f60\u6240\u6709\u7684\u9519\u8bef\u90fd\u88ab\u9690\u85cf\u4e86\u8d77\u6765\u3002\u51c6\u5907\u597d\u540e\uff0c\u60a8\u53ef\u4ee5\u5c06\u5176\u79fb\u81f3\u60a8\u7684\u7f51\u7ad9\uff0c\u4f9b\u6240\u6709\u4eba\u67e5\u770b\u3002<\/p>\n\n\n\n<p><a href=\"https:\/\/wordpress.org\/support\/article\/test-driving-wordpress\/#top\">\u9876\u90e8\u2191<\/a><\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"requirements\"><a href=\"https:\/\/wordpress.org\/support\/article\/test-driving-wordpress\/#requirements\">\u8981\u6c42<\/a><\/h3>\n\n\n\n<ol><li>\u8bbf\u95ee\u60a8\u7684\u670d\u52a1\u5668\u6570\u636e\u5e93\u3002<\/li><li>\u80fd\u591f\u5c06\u6574\u4e2a WordPress \u5b89\u88c5\u4e0b\u8f7d\u5230\u60a8\u7684\u8ba1\u7b97\u673a\u4e0a\u3002<\/li><li><a href=\"http:\/\/www.apachefriends.org\/en\/xampp-windows.html\">\u9002\u7528\u4e8e Windows \u7684\u57fa\u672c XAMPP<\/a><\/li><li>\u786c\u76d8\u4e0a\u6709\u8db3\u591f\u7684\u7a7a\u95f4\u6765\u5bb9\u7eb3\u6570\u636e\u5e93\u3001WordPress \u5b89\u88c5\u548c XAMPP\u3002<\/li><\/ol>\n\n\n\n<p><a href=\"https:\/\/wordpress.org\/support\/article\/test-driving-wordpress\/#top\">\u9876\u90e8\u2191<\/a><\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"backup-wordpress\"><a href=\"https:\/\/wordpress.org\/support\/article\/test-driving-wordpress\/#backup-wordpress\">\u5907\u4efdWordPress<\/a><\/h3>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"https:\/\/wordpress.org\/support\/files\/2018\/11\/phpmyadmin-choose-database.jpg\"><img decoding=\"async\" src=\"https:\/\/wordpress.org\/support\/files\/2018\/11\/phpmyadmin-choose-database.jpg\" alt=\"phpMyAdmin MySQL \u6570\u636e\u5e93\u94fe\u63a5\" class=\"wp-image-10851416\"\/><\/a><figcaption>phpMyAdmin MySQL \u6570\u636e\u5e93<\/figcaption><\/figure>\n\n\n\n<p>\u9996\u5148\u5b8c\u5168\u5907\u4efd\u60a8\u7684 WordPress \u7ad9\u70b9\u3001\u6587\u4ef6\u548c\u6570\u636e\u5e93\u3002\u8fd9\u5c06\u786e\u4fdd\u60a8\u6709\u4e00\u4e2a\u597d\u7684\u526f\u672c\u53ef\u4ee5\u4f9d\u9760\uff0c\u4ee5\u9632\u4e07\u4e00\u3002<\/p>\n\n\n\n<p>\u7136\u540e\u9700\u8981\u5bf9\u60a8\u7684\u6570\u636e\u5e93\u8fdb\u884c\u7b2c\u4e8c\u6b21\u5907\u4efd\uff0c\u4f46\u8fd9\u9700\u8981\u60a8\u505a\u4e00\u4e9b\u5185\u52a1\u5904\u7406\u3002<\/p>\n\n\n\n<p>\u6b63\u5982 WordPress \u6570\u636e\u5e93\u901a\u5e38\u6240\u4ee3\u8868\u7684\u90a3\u6837\uff0c\u6709\u4e00\u4e9b\u7edf\u8ba1\u8868\u5305\u542b\u5927\u91cf\u6570\u636e\uff0c\u8fd9\u4e9b\u6570\u636e\u589e\u52a0\u4e86\u6570\u636e\u5e93\u7684\u6574\u4f53\u5927\u5c0f\uff0c\u5e76\u51cf\u6162\u4e86\u5907\u4efd\u548c\u4e0b\u8f7d\u6570\u636e\u5e93\u5907\u4efd\u526f\u672c\u7684\u8fc7\u7a0b\u3002\u60a8\u4e0d\u5fc5\u6e05\u9664\u8fd9\u4e9b\uff0c\u4f46\u901a\u5e38\u8ba4\u4e3a\u8fd9\u662f\u4e00\u4e2a\u597d\u4e3b\u610f\u3002<\/p>\n\n\n\n<ol><li>\u5728\u60a8\u7684\u7f51\u7ad9\u670d\u52a1\u5668\u4e0a\u767b\u5f55 PHPMyAdmin\u3002<\/li><li>\u4ece\u4e3b\u767b\u5f55\u5c4f\u5e55\u4e2d\uff0c\u9009\u62e9<strong>Databases<\/strong>\u3002<\/li><li>\u9009\u62e9\u60a8\u7684 WordPress \u6570\u636e\u5e93\u7684\u540d\u79f0\u3002<\/li><li>\u4ece\u5c4f\u5e55\u9876\u90e8\u7684\u6807\u7b7e\u4e2d\uff0c\u9009\u62e9<strong>Export<\/strong>\u3002<\/li><li><a href=\"https:\/\/wordpress.org\/support\/files\/2018\/11\/phpmyadmin-export-tab.jpg\" target=\"_blank\" rel=\"noreferrer noopener\">\u5728\u5bfc\u51fa\u90e8\u5206<\/a>\u9876\u90e8\u7684\u6846\u67b6\u4e2d\uff0c\u60a8\u5c06\u770b\u5230\u6570\u636e\u5e93\u4e2d\u7684\u8868\u5217\u8868\u3002<a href=\"http:\/\/wp-helphub.com\/wp-content\/uploads\/2016\/07\/phpmyadmin-export-tab.jpg\"><\/a><\/li><li>\u60a8\u53ea\u9700\u8981\u9009\u62e9\u4e0e\u60a8\u7684 WordPress \u5b89\u88c5\u76f8\u5bf9\u5e94\u7684\u90a3\u4e9b\u8868\u3002\u5b83\u4eec\u5c06\u662f<strong><code>table_prefix<\/code><\/strong>\u5728\u60a8\u7684<code>wp-config.php<\/code>\u6587\u4ef6\u4e2d\u627e\u5230\u7684\u90a3\u4e9b\u3002\u5982\u679c\u60a8\u53ea\u5b89\u88c5\u4e86 WordPress\uff0c\u8bf7\u4ece\u5de6\u4fa7\u680f\u4e2d<strong>\u9009\u62e9\u5168\u9009\u3002<\/strong><\/li><li>\u786e\u4fdd\u9009\u4e2d SQL \u6309\u94ae\u3002<\/li><li>\u5728\u9762\u677f\u7684\u53f3\u4fa7\uff0c\u786e\u4fdd\u9009\u4e2d\u4ee5\u4e0b\u6846\u3002<\/li><\/ol>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"https:\/\/i1.wp.com\/wordpress.org\/support\/files\/2018\/11\/phpmyadmin-export-screen.jpg?fit=379%2C325&amp;ssl=1\" target=\"_blank\" rel=\"noreferrer noopener\"><img decoding=\"async\" src=\"https:\/\/i1.wp.com\/wordpress.org\/support\/files\/2018\/11\/phpmyadmin-export-screen.jpg?fit=379%2C325&amp;ssl=1\" alt=\"phpMyAdmin \u5bfc\u51fa\u5c4f\u5e55\" class=\"wp-image-10851419\"\/><\/a><figcaption>phpMyAdmin \u5bfc\u51fa\u5c4f\u5e55<\/figcaption><\/figure>\n\n\n\n<p>* \u7ed3\u6784 * \u6dfb\u52a0 AUTO_INCREMENT \u503c * \u7528\u53cd\u5f15\u53f7\u62ec\u8d77\u6765\u8868\u548c\u5b57\u6bb5\u540d\u79f0 * \u6570\u636e \u52fe\u9009<strong>Save as file<\/strong>\u9009\u9879\uff0c\u5e76\u4fdd\u7559\u6a21\u677f\u540d\u79f0\u3002\u5bf9\u4e8e<strong>\u538b\u7f29<\/strong>\uff0c\u9009\u62e9<strong>\u65e0<\/strong>\u3002\u70b9\u51fb<strong>\u524d\u5f80<\/strong>\u3002\u7cfb\u7edf\u4f1a\u63d0\u793a\u60a8\u4e0b\u8f7d\u6587\u4ef6\u3002\u5c06\u6587\u4ef6\u4fdd\u5b58\u5230\u60a8\u7684\u8ba1\u7b97\u673a\u3002\u6839\u636e\u6570\u636e\u5e93\u5927\u5c0f\uff0c\u8fd9\u53ef\u80fd\u9700\u8981\u4e00\u4e9b\u65f6\u95f4\u3002<\/p>\n\n\n\n<p><a href=\"https:\/\/wordpress.org\/support\/article\/test-driving-wordpress\/#top\">\u9876\u90e8\u2191<\/a><\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"download-wordpress\"><a href=\"https:\/\/wordpress.org\/support\/article\/test-driving-wordpress\/#download-wordpress\">\u4e0b\u8f7dWordPress<\/a><\/h3>\n\n\n\n<p>\u73b0\u5728\uff0c\u5c06\u60a8\u7684\u6574\u4e2a WordPress \u7f51\u7ad9\u4e0b\u8f7d\u5230\u60a8\u7684\u8ba1\u7b97\u673a\u4e0a\u3002\u8fd9\u901a\u5e38\u4f7f\u7528<a href=\"https:\/\/codex.wordpress.org\/FTP_Clients\">FTP \u5ba2\u6237\u7aef\u7a0b\u5e8f<\/a>\u6765\u5b8c\u6210\u3002\u786e\u4fdd\u5728\u6839\u76ee\u5f55\u6216 WordPress \u76ee\u5f55\u4e2d\u5305\u542b\u6240\u6709\u6838\u5fc3 WordPress \u6587\u4ef6\uff0c\u5305\u62ec<code>index.php<\/code>.<\/p>\n\n\n\n<p>\u60a8\u73b0\u5728\u5e94\u8be5\u5728\u60a8\u7684\u8ba1\u7b97\u673a\u4e2d\u6709\u4e24\u4e2a\u9879\u76ee\uff1a<\/p>\n\n\n\n<ol><li>\u4e00\u4e2a\u6216\u591a\u4e2a\u6570\u636e\u5e93\u5907\u4efd\u3002<\/li><li>\u60a8\u6240\u6709\u7684 WordPress \u6587\u4ef6\u3001\u6587\u4ef6\u5939\u548c\u56fe\u50cf\u76ee\u5f55\u3002<\/li><\/ol>\n\n\n\n<p><strong>\u518d\u6b21\u5c06\u5907\u4efd\u6587\u4ef6\u590d\u5236\u5230\u8ba1\u7b97\u673a\u4e0a\u7684\u5b89\u5168\u4f4d\u7f6e\uff0c\u4ee5\u4fbf\u4e3a\u4e0b\u4e00\u9636\u6bb5\u5236\u4f5c\u5907\u4efd\u526f\u672c\u3002<\/strong><\/p>\n\n\n\n<p><a href=\"https:\/\/wordpress.org\/support\/article\/test-driving-wordpress\/#top\">\u9876\u90e8\u2191<\/a><\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"install-basic-xampp\"><a href=\"https:\/\/wordpress.org\/support\/article\/test-driving-wordpress\/#install-basic-xampp\">\u5b89\u88c5\u57fa\u672c XAMPP<\/a><\/h3>\n\n\n\n<ol><li>\u5b89\u88c5 XAMPP\u3002\u9ed8\u8ba4\u60c5\u51b5\u4e0b\uff0c\u5b83\u5c06\u5b89\u88c5\u5230<code>C:\\xampp<\/code>.<\/li><li>\u8f6c\u5230<code>C:\\xampp\\apache\\conf<\/code>\u5e76\u6253\u5f00<code>httpd.conf<\/code>\u5728<a href=\"https:\/\/codex.wordpress.org\/Glossary#Text%20editor\">\u6587\u672c\u7f16\u8f91\u5668<\/a>\u4e2d\u8c03\u7528\u7684\u6587\u4ef6\u3002<\/li><li>\u5173\u4e8e\u7b2c 166 \u884c\uff0c\u60a8\u4f1a\u53d1\u73b0\uff1a<code>#LoadModule rewrite_module modules\/mod_rewrite.so<\/code>.<\/li><li>\u5220\u9664<code>#<\/code>\u5e76\u4fdd\u5b58\u6587\u4ef6\uff08\u8fd9\u4f1a<code>mod_rewrite<\/code>\u6253\u5f00\uff09\u3002<\/li><li>\u5728\u91cc\u9762\u521b\u5efa\u4e00\u4e2a\u6587\u4ef6\u5939<code>C:\\xampp\\htdocs<\/code>\u3002\u8fd9\u5c06\u9002\u7528\u4e8e WordPress\u3002<\/li><li>\u5c06\u6240\u6709\u4e0b\u8f7d\u7684 WordPress \u6587\u4ef6\uff08\u4e0d\u662f sql \u5907\u4efd\uff09\u590d\u5236\u5230\u8be5\u76ee\u5f55\u4e2d\u3002<\/li><li>\u4f7f\u7528\u6587\u672c\u7f16\u8f91\u5668\u6253\u5f00<code>wp-config.php<\/code>WordPress \u5b89\u88c5\u6587\u4ef6\u3002<\/li><li>\u66f4\u6539\u65b0 MySQL \u8fde\u63a5\u7684\u8be6\u7ec6\u4fe1\u606f\uff1a&nbsp;<code>\/\/ ** MySQL settings ** \/\/ define('DB_NAME', 'wordpress'); \/\/ The name of the new database you made define('DB_USER', 'root'); \/\/ keep this as is define('DB_PASSWORD', ''); \/\/ keep this empty define('DB_HOST', 'localhost'); \/\/ 99% chance you won't need to change this<\/code><\/li><li>\u60a8\u7684\u4e3b\u76ee\u5f55<code>index.php<\/code>\u5e94\u4f4d\u4e8e<code>\/htdocs<\/code>\u6587\u4ef6\u5939\u6216\u5b50\u76ee\u5f55\u4e2d\uff0c\u4f8b\u5982<code>\/htdocs\/wordpress\/<\/code>.&nbsp;\u628a\u5b83\u5199\u4e0b\u6765\u3002<\/li><li>\u901a\u8fc7\u5355\u51fb\u6a59\u8272<code>xampp_start.exe<\/code>\u6216\u4f7f\u7528 Program Files\\ApacheFriends\\XAMPP\\XAMPP \u63a7\u5236\u9762\u677f\u4e2d\u7684\u63a7\u5236\u53f0\u7a0b\u5e8f\u6765\u542f\u52a8 XAMPP\u3002<\/li><li>\u4e00\u65e6\u5b83\u5de5\u4f5c\uff0c\u70b9\u51fb\u5de6\u4fa7\u680f\u4e2d\u7684\u94fe\u63a5 phpMyAdmin\u3002<\/li><li>\u521b\u5efa\u4e00\u4e2a\u6570\u636e\u5e93\u3002\u8be5\u540d\u79f0\u5e94\u4e0e<code>wp-config.php<\/code>\u6587\u4ef6\u4e2d\u4f7f\u7528\u7684\u540d\u79f0\u76f8\u5339\u914d\u3002<\/li><\/ol>\n\n\n\n<p><a href=\"https:\/\/wordpress.org\/support\/article\/test-driving-wordpress\/#top\">\u9876\u90e8\u2191<\/a><\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"importing-your-sql-backup-file\"><a href=\"https:\/\/wordpress.org\/support\/article\/test-driving-wordpress\/#importing-your-sql-backup-file\">\u5bfc\u5165\u60a8\u7684 SQL \u5907\u4efd\u6587\u4ef6<\/a><\/h3>\n\n\n\n<p>\u5728\u5f00\u59cb\u5bfc\u5165 SQL \u5907\u4efd\u6587\u4ef6\u4e4b\u524d\uff0c\u60a8\u9700\u8981\u66f4\u6539<code>.SQL<\/code>\u6587\u4ef6\u4e2d\u7684\u4e00\u4e9b\u4fe1\u606f\u3002<\/p>\n\n\n\n<ol><li>\u4f7f\u7528\u60a8\u7684\u6587\u672c\u7f16\u8f91\u5668\uff0c\u6253\u5f00<code>.sql<\/code>\u60a8\u4e0b\u8f7d\u7684\u5907\u4efd\u6570\u636e\u5e93\u6587\u4ef6\u3002<\/li><li><a href=\"https:\/\/codex.wordpress.org\/Glossary#URL\">\u67e5\u627e\u65e7URL<\/a>\u7684\u6240\u6709\u5b9e\u4f8b\u5e76\u5c06\u5176\u66ff\u6362\u4e3a\u65b0 URL\u3002\u4f8b\u5982\uff0c\u5982\u679c\u60a8\u7684\u535a\u5ba2\u5730\u5740\u662f at&nbsp;<code>http:\/\/example.com\/wordpress\/<\/code>\uff0c\u800c\u60a8\u8ba1\u7b97\u673a\u4e0a\u7684\u6587\u4ef6\u662f at&nbsp;<code>\/htdocs\/wordpress\/<\/code>\uff0c\u5219\u5c06\u5176\u66ff\u6362\u4e3a<code>http:\/\/127.0.0.1\/wordpress\/<\/code>.<\/li><li>\u5355\u51fb<strong>\u4fdd\u5b58<\/strong>&#8211;<strong>\u4e0d\u8981\u4f7f\u7528\u53e6\u5b58\u4e3a\u3002<\/strong><\/li><\/ol>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"https:\/\/i1.wp.com\/wordpress.org\/support\/files\/2018\/11\/phpmyadmin-sql-tab.jpg?fit=306%2C260&amp;ssl=1\" target=\"_blank\" rel=\"noreferrer noopener\"><img decoding=\"async\" src=\"https:\/\/i1.wp.com\/wordpress.org\/support\/files\/2018\/11\/phpmyadmin-sql-tab.jpg?fit=306%2C260&amp;ssl=1\" alt=\"phpMyAdmin SQL \u9009\u9879\u5361\" class=\"wp-image-10851421\"\/><\/a><figcaption>phpMyAdmin SQL \u9009\u9879\u5361<\/figcaption><\/figure>\n\n\n\n<p><strong>\u73b0\u5728\u662f\u65f6\u5019\u5bfc\u5165\u4f60\u7684 sql \u6587\u4ef6\u4e86\u3002\u5728\u60a8\u8ba1\u7b97\u673a\u4e0a\u7684 phpMyAdmin \u4e2d\uff0c\u5355\u51fb\u60a8\u7684\u6570\u636e\u5e93\u540d\u79f0\uff0c\u7136\u540e\u9009\u62e9 SQL \u9009\u9879\u5361\u3002\u5728\u6b64\u5c4f\u5e55\u4e2d\uff0c\u5355\u51fb\u6d4f\u89c8\u5e76\u5728\u60a8\u7684\u8ba1\u7b97\u673a\u4e0a\u627e\u5230\u60a8\u7684\u5907\u4efd\u6587\u4ef6\u3002\u5355\u51fb\u201c\u524d\u5f80\u201d\u3002\u8fd9\u53ef\u80fd\u9700\u8981\u51e0\u5206\u949f\u624d\u80fd\u5bfc\u5165\u3002<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"https:\/\/wordpress.org\/support\/files\/2018\/11\/phpmyadmin-import-successful.jpg\"><img decoding=\"async\" src=\"https:\/\/i0.wp.com\/wordpress.org\/support\/files\/2018\/11\/phpmyadmin-import-successful.jpg?fit=330%2C93&amp;ssl=1\" alt=\"\u6210\u529f\u8baf\u606f\" class=\"wp-image-10851425\"\/><\/a><figcaption>\u6210\u529f\u8baf\u606f<\/figcaption><\/figure>\n\n\n\n<p><strong>\u8be5\u8fc7\u7a0b\u5b8c\u6210\u540e\uff0c\u60a8\u7684\u6570\u636e\u5e93\u5c06\u6062\u590d\u5e76\u50cf\u4ee5\u524d\u4e00\u6837\u5de5\u4f5c\u3002\u5982\u679c\u8be5\u8fc7\u7a0b\u7684\u6700\u540e\u4e00\u90e8\u5206\u51fa\u73b0\u95ee\u9898\uff0c\u5219\u53ef\u80fd\u662f\u60a8\u7684\u5907\u4efd\u4ee5\u67d0\u79cd\u65b9\u5f0f\u635f\u574f\uff0c\u6216\u8005\u6570\u636e\u5e93\u672c\u8eab\u51fa\u73b0\u95ee\u9898\u3002\u786e\u4fdd\u60a8\u7684\u5907\u4efd\u6587\u4ef6\u5b89\u5168\uff01<\/strong><\/p>\n\n\n\n<p>\u5982\u679c\u5230\u76ee\u524d\u4e3a\u6b62\u4e00\u5207\u987a\u5229\uff0c\u73b0\u5728\u662f\u65f6\u5019\u8bbf\u95ee\u60a8\u7684\u535a\u5ba2\u4e86\uff01\u5728\u60a8\u7684\u6d4f\u89c8\u5668\u4e2d\uff0c\u8f93\u5165<code>http:\/\/127.0.0.1\/wordpress\/index.php<\/code>\u60a8\u4e3a WordPress \u6587\u4ef6\u521b\u5efa\u7684\u6587\u4ef6\u5939\u7684\u540d\u79f0\u6216\u5b9e\u9645\u540d\u79f0\u3002<\/p>\n\n\n\n<p>\u5982\u679c\u60a8\u6536\u5230 404\uff0c\u8bf7\u68c0\u67e5\u60a8\u7684\u4f4d\u7f6e\u662f\u5426\u6b63\u786e\u3002\u9664\u4e86\u4f7f\u7528\u60a8\u7684\u76ee\u5f55\u540d\u79f0\u4e4b\u5916\uff0c\u60a8\u4e0d\u9700\u8981\u5728\u4e4b\u540e\u653e\u7f6e<code>htdocs<\/code>\u6216<code>xampp<\/code>\u6216\u5176\u4ed6\u4efb\u4f55\u5185\u5bb9\u3002<code>http:\/\/127.0.0.1\/<\/code><\/p>\n\n\n\n<p>WordPress \u73b0\u5728\u5e94\u8be5\u50cf\u5728\u7f51\u7edc\u4e0a\u4e00\u6837\u8fd0\u884c\u3002\u60a8\u65e0\u9700\u4f7f\u7528 WordPress \u4e2d\u7684\u5185\u7f6e\u7f16\u8f91\u5668\u6765\u66f4\u6539\u60a8\u7684\u6587\u4ef6\u3002\u53ea\u9700\u76f4\u63a5\u5728\u6587\u672c\u7f16\u8f91\u5668\u4e2d\u6253\u5f00\u6587\u4ef6\u5e76\u50cf\u7f16\u8f91\u4efb\u4f55\u5176\u4ed6\u6587\u4ef6\u4e00\u6837\u7f16\u8f91\u5b83\u4eec\u3002\u7136\u540e\u5237\u65b0\u6d4f\u89c8\u5668\u7684\u7f51\u9875\u5c06\u663e\u793a\u6548\u679c\u3002<\/p>\n\n\n\n<p><a href=\"https:\/\/wordpress.org\/support\/article\/test-driving-wordpress\/#top\">\u9876\u90e8\u2191<\/a><\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"Moving_Your_Test_WordPress_Site_to_Your_Website\"><a href=\"https:\/\/wordpress.org\/support\/article\/test-driving-wordpress\/#Moving_Your_Test_WordPress_Site_to_Your_Website\">\u5c06\u60a8\u7684\u6d4b\u8bd5 WordPress \u7f51\u7ad9\u79fb\u52a8\u5230\u60a8\u7684\u7f51\u7ad9<\/a><\/h3>\n\n\n\n<p>\u5373\u5c06\u63a8\u51fa \u2013 \u5982\u4f55\u5c06\u60a8\u7684\u6d4b\u8bd5\u7ad9\u70b9\u4ece\u60a8\u7684\u8ba1\u7b97\u673a\u5b9e\u65f6\u8fc1\u79fb\u5230\u60a8\u7684\u4e3b\u673a\u670d\u52a1\u5668\u7ad9\u70b9\u3002<\/p>\n\n\n\n<p><a href=\"https:\/\/wordpress.org\/support\/article\/test-driving-wordpress\/#top\">\u9876\u90e8\u2191<\/a><\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"resources\"><a href=\"https:\/\/wordpress.org\/support\/article\/test-driving-wordpress\/#resources\">\u8d44\u6e90<\/a><\/h3>\n\n\n\n<ul><li><a href=\"http:\/\/www.prelovac.com\/vladimir\/wordpress-plugins\/theme-test-drive\">\u4f7f\u7528 Theme Test Drive \u5728\u5b9e\u65f6\u535a\u5ba2\u4e0a\u6d4b\u8bd5\u4e3b\u9898<\/a><\/li><li><a href=\"http:\/\/qsandbox.com\/\">qSandbox.com \u2013 \u521b\u5efa\u4e00\u4e2a\u514d\u8d39\u7684 WordPress \u6d4b\u8bd5\u7ad9\u70b9\u6765\u5c1d\u8bd5\uff08\u65b0\uff09\u63d2\u4ef6\u548c\u4e3b\u9898<\/a><\/li><\/ul>\n","protected":false},"excerpt":{"rendered":"<p>\u6709\u65f6\u60a8\u9700\u8981\u5728\u516c\u4f17\u89c6\u7ebf\u4e4b\u5916\u6d4b\u8bd5\u5bf9 WordPress \u9a71\u52a8\u7684\u7f51\u7ad9\u7684\u66f4\u6539\u3002\u5bf9\u5b9e\u65f6\u7ad9\u70b9\u8fdb\u884c\u66f4\u6539\u53ef\u80fd\u4f1a\u5bf9\u60a8\u7684\u8bfb\u8005\u4ea7\u751f\u4e0d &hellip;<\/p>\n<p class=\"read-more\"> <a class=\"\" href=\"https:\/\/wpeyes.com\/wordpress\/docs\/%e8%af%95%e9%a9%bewordpress\"> <span class=\"screen-reader-text\">\u8bd5\u9a7eWordPress<\/span> Read More \u00bb<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"comment_status":"open","ping_status":"closed","template":"","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":""},"doc_category":[9,3],"doc_tag":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v21.8.1 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u8bd5\u9a7eWordPress - WordPress\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\/wordpress\/docs\/\u8bd5\u9a7ewordpress\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u8bd5\u9a7eWordPress - WordPress\u4e2d\u6587\" \/>\n<meta property=\"og:description\" content=\"\u6709\u65f6\u60a8\u9700\u8981\u5728\u516c\u4f17\u89c6\u7ebf\u4e4b\u5916\u6d4b\u8bd5\u5bf9 WordPress \u9a71\u52a8\u7684\u7f51\u7ad9\u7684\u66f4\u6539\u3002\u5bf9\u5b9e\u65f6\u7ad9\u70b9\u8fdb\u884c\u66f4\u6539\u53ef\u80fd\u4f1a\u5bf9\u60a8\u7684\u8bfb\u8005\u4ea7\u751f\u4e0d &hellip; \u8bd5\u9a7eWordPress Read More \u00bb\" \/>\n<meta property=\"og:url\" content=\"https:\/\/wpeyes.com\/wordpress\/docs\/\u8bd5\u9a7ewordpress\" \/>\n<meta property=\"og:site_name\" content=\"WordPress\u4e2d\u6587\" \/>\n<meta property=\"article:modified_time\" content=\"2022-07-03T05:59:50+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/wordpress.org\/support\/files\/2018\/11\/phpmyadmin-choose-database.jpg\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data1\" content=\"4\u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/wpeyes.com\/wordpress\/docs\/%e8%af%95%e9%a9%bewordpress\",\"url\":\"https:\/\/wpeyes.com\/wordpress\/docs\/%e8%af%95%e9%a9%bewordpress\",\"name\":\"\u8bd5\u9a7eWordPress - WordPress\u4e2d\u6587\",\"isPartOf\":{\"@id\":\"https:\/\/wpeyes.com\/wordpress\/#website\"},\"datePublished\":\"2022-07-01T08:53:38+00:00\",\"dateModified\":\"2022-07-03T05:59:50+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/wpeyes.com\/wordpress\/docs\/%e8%af%95%e9%a9%bewordpress#breadcrumb\"},\"inLanguage\":\"zh-CN\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/wpeyes.com\/wordpress\/docs\/%e8%af%95%e9%a9%bewordpress\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/wpeyes.com\/wordpress\/docs\/%e8%af%95%e9%a9%bewordpress#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/wpeyes.com\/wordpress\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Docs\",\"item\":\"https:\/\/wpeyes.com\/wordpress\/docs\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"\u8bd5\u9a7eWordPress\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/wpeyes.com\/wordpress\/#website\",\"url\":\"https:\/\/wpeyes.com\/wordpress\/\",\"name\":\"WordPress\u4e2d\u6587\",\"description\":\"wpeyes\u6280\u672f\u89c6\u70b9\",\"publisher\":{\"@id\":\"https:\/\/wpeyes.com\/wordpress\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/wpeyes.com\/wordpress\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-CN\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/wpeyes.com\/wordpress\/#organization\",\"name\":\"WordPress\u4e2d\u6587\",\"url\":\"https:\/\/wpeyes.com\/wordpress\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-CN\",\"@id\":\"https:\/\/wpeyes.com\/wordpress\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/wpeyes.com\/wordpress\/wp-content\/uploads\/sites\/8\/2024\/01\/WordPress-logotype-wmark-white.png\",\"contentUrl\":\"https:\/\/wpeyes.com\/wordpress\/wp-content\/uploads\/sites\/8\/2024\/01\/WordPress-logotype-wmark-white.png\",\"width\":1000,\"height\":1000,\"caption\":\"WordPress\u4e2d\u6587\"},\"image\":{\"@id\":\"https:\/\/wpeyes.com\/wordpress\/#\/schema\/logo\/image\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\u8bd5\u9a7eWordPress - WordPress\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\/wordpress\/docs\/\u8bd5\u9a7ewordpress","og_locale":"zh_CN","og_type":"article","og_title":"\u8bd5\u9a7eWordPress - WordPress\u4e2d\u6587","og_description":"\u6709\u65f6\u60a8\u9700\u8981\u5728\u516c\u4f17\u89c6\u7ebf\u4e4b\u5916\u6d4b\u8bd5\u5bf9 WordPress \u9a71\u52a8\u7684\u7f51\u7ad9\u7684\u66f4\u6539\u3002\u5bf9\u5b9e\u65f6\u7ad9\u70b9\u8fdb\u884c\u66f4\u6539\u53ef\u80fd\u4f1a\u5bf9\u60a8\u7684\u8bfb\u8005\u4ea7\u751f\u4e0d &hellip; \u8bd5\u9a7eWordPress Read More \u00bb","og_url":"https:\/\/wpeyes.com\/wordpress\/docs\/\u8bd5\u9a7ewordpress","og_site_name":"WordPress\u4e2d\u6587","article_modified_time":"2022-07-03T05:59:50+00:00","og_image":[{"url":"https:\/\/wordpress.org\/support\/files\/2018\/11\/phpmyadmin-choose-database.jpg"}],"twitter_card":"summary_large_image","twitter_misc":{"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"4\u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/wpeyes.com\/wordpress\/docs\/%e8%af%95%e9%a9%bewordpress","url":"https:\/\/wpeyes.com\/wordpress\/docs\/%e8%af%95%e9%a9%bewordpress","name":"\u8bd5\u9a7eWordPress - WordPress\u4e2d\u6587","isPartOf":{"@id":"https:\/\/wpeyes.com\/wordpress\/#website"},"datePublished":"2022-07-01T08:53:38+00:00","dateModified":"2022-07-03T05:59:50+00:00","breadcrumb":{"@id":"https:\/\/wpeyes.com\/wordpress\/docs\/%e8%af%95%e9%a9%bewordpress#breadcrumb"},"inLanguage":"zh-CN","potentialAction":[{"@type":"ReadAction","target":["https:\/\/wpeyes.com\/wordpress\/docs\/%e8%af%95%e9%a9%bewordpress"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/wpeyes.com\/wordpress\/docs\/%e8%af%95%e9%a9%bewordpress#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/wpeyes.com\/wordpress\/"},{"@type":"ListItem","position":2,"name":"Docs","item":"https:\/\/wpeyes.com\/wordpress\/docs"},{"@type":"ListItem","position":3,"name":"\u8bd5\u9a7eWordPress"}]},{"@type":"WebSite","@id":"https:\/\/wpeyes.com\/wordpress\/#website","url":"https:\/\/wpeyes.com\/wordpress\/","name":"WordPress\u4e2d\u6587","description":"wpeyes\u6280\u672f\u89c6\u70b9","publisher":{"@id":"https:\/\/wpeyes.com\/wordpress\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/wpeyes.com\/wordpress\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-CN"},{"@type":"Organization","@id":"https:\/\/wpeyes.com\/wordpress\/#organization","name":"WordPress\u4e2d\u6587","url":"https:\/\/wpeyes.com\/wordpress\/","logo":{"@type":"ImageObject","inLanguage":"zh-CN","@id":"https:\/\/wpeyes.com\/wordpress\/#\/schema\/logo\/image\/","url":"https:\/\/wpeyes.com\/wordpress\/wp-content\/uploads\/sites\/8\/2024\/01\/WordPress-logotype-wmark-white.png","contentUrl":"https:\/\/wpeyes.com\/wordpress\/wp-content\/uploads\/sites\/8\/2024\/01\/WordPress-logotype-wmark-white.png","width":1000,"height":1000,"caption":"WordPress\u4e2d\u6587"},"image":{"@id":"https:\/\/wpeyes.com\/wordpress\/#\/schema\/logo\/image\/"}}]}},"uagb_featured_image_src":{"full":false,"thumbnail":false,"medium":false,"medium_large":false,"large":false,"1536x1536":false,"2048x2048":false},"uagb_author_info":{"display_name":"qmk","author_link":"https:\/\/wpeyes.com\/wordpress\/archives\/author\/qmk"},"uagb_comment_info":2,"uagb_excerpt":"\u6709\u65f6\u60a8\u9700\u8981\u5728\u516c\u4f17\u89c6\u7ebf\u4e4b\u5916\u6d4b\u8bd5\u5bf9 WordPress \u9a71\u52a8\u7684\u7f51\u7ad9\u7684\u66f4\u6539\u3002\u5bf9\u5b9e\u65f6\u7ad9\u70b9\u8fdb\u884c\u66f4\u6539\u53ef\u80fd\u4f1a\u5bf9\u60a8\u7684\u8bfb\u8005\u4ea7\u751f\u4e0d&hellip;","_links":{"self":[{"href":"https:\/\/wpeyes.com\/wordpress\/wp-json\/wp\/v2\/docs\/128"}],"collection":[{"href":"https:\/\/wpeyes.com\/wordpress\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/wpeyes.com\/wordpress\/wp-json\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/wpeyes.com\/wordpress\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/wpeyes.com\/wordpress\/wp-json\/wp\/v2\/comments?post=128"}],"version-history":[{"count":1,"href":"https:\/\/wpeyes.com\/wordpress\/wp-json\/wp\/v2\/docs\/128\/revisions"}],"predecessor-version":[{"id":129,"href":"https:\/\/wpeyes.com\/wordpress\/wp-json\/wp\/v2\/docs\/128\/revisions\/129"}],"wp:attachment":[{"href":"https:\/\/wpeyes.com\/wordpress\/wp-json\/wp\/v2\/media?parent=128"}],"wp:term":[{"taxonomy":"doc_category","embeddable":true,"href":"https:\/\/wpeyes.com\/wordpress\/wp-json\/wp\/v2\/doc_category?post=128"},{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/wpeyes.com\/wordpress\/wp-json\/wp\/v2\/doc_tag?post=128"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}