{"id":2055,"date":"2018-11-20T17:13:13","date_gmt":"2018-11-20T09:13:13","guid":{"rendered":"https:\/\/www.baishitou.cn\/?p=2055"},"modified":"2020-06-27T00:00:27","modified_gmt":"2020-06-26T16:00:27","slug":"wordpress%e9%bb%98%e8%ae%a4%e7%bc%96%e8%be%91%e5%99%a8%e5%a2%9e%e5%bc%ba%e7%9a%84%e5%ae%9e%e7%8e%b0%e6%96%b9%e6%b3%95%ef%bc%88%e9%9d%9e%e5%ae%89%e8%a3%85%e6%8f%92%e4%bb%b6%ef%bc%89","status":"publish","type":"post","link":"https:\/\/www.baishitou.cn\/2055.html","title":{"rendered":"wordpress\u9ed8\u8ba4\u7f16\u8f91\u5668\u589e\u5f3a\u7684\u5b9e\u73b0\u65b9\u6cd5\uff08\u975e\u5b89\u88c5\u63d2\u4ef6\uff09"},"content":{"rendered":"

wordpress\u5728\u5347\u7ea7\u5230\u6700\u65b0\u7248\u540e\uff0c\u53d1\u73b0\u5b57\u4f53\u989c\u8272\u7b49\u9009\u9879\u90fd\u6ca1\u4e86\u3002\u7f16\u8f91\u6587\u7ae0\u5c31\u4e0d\u65b9\u4fbf\u4e86\u3002\u7f51\u4e0a\u5404\u79cd\u7684\u627e\u65b9\u6cd5\uff0c\u90fd\u663e\u793a\u4e0d\u51fa\u6765\u3002\u6700\u540e\u624d\u53d1\u73b0\uff0c\u7f16\u8f91\u6846\u4e0a\u9762\u6709\u4e00\u4e2a\u663e\u793a\u548c\u9690\u85cf\u5de5\u5177\u680f\u76ee\u7684\u6309\u94ae\uff0c\u5982\u4e0b\u56fe\u3002<\/p>\n

\"\"<\/a><\/p>\n

\u70b9\u51fb\u540e\u51fa\u73b0\u4e86\u3002\u6587\u5b57\u989c\u8272\u7ec8\u4e8e\u51fa\u73b0\u4e86\u3002\u4f46\u53d1\u73b0\u6ca1\u6cd5\u9009\u62e9\u5b57\u4f53\u53ca\u5927\u5c0f\u7684\u6309\u94ae\u3002<\/p>\n

\"\"<\/a><\/p>\n

\u627e\u7f51\u4e0a\u641c\u7d22\u540e\u89e3\u51b3\u4e86\u3002\u5728\u4e0d\u5b89\u88c5\u63d2\u4ef6\u7684\u60c5\u51b5\u4e0b\u589e\u52a0\u9ed8\u8ba4\u7f16\u8f91\u5668\u529f\u80fd\u3002<\/p>\n

wordpress\u9ed8\u8ba4\u7f16\u8f91\u5668\u589e\u5f3a\u65b9\u6cd5 \uff1a<\/h2>\n

\u6253\u5f00\u4f60\u7684\u4e3b\u9898\u76ee\u5f55\u4e0b\u7684function.php\uff0c\u5728\u6700\u540e\u6dfb\u52a0\u4e0b\u9762\u4ee3\u7801\uff1a<\/p>\n

\/\/\u589e\u5f3a\u7f16\u8f91\u5668\u5f00\u59cb\r\nfunction add_editor_buttons($buttons) {\r\n$buttons[] = 'fontselect';\r\n$buttons[] = 'fontsizeselect';\r\n$buttons[] = 'cleanup';\r\n$buttons[] = 'styleselect';\r\n$buttons[] = 'hr';\r\n$buttons[] = 'del';\r\n$buttons[] = 'sub';\r\n$buttons[] = 'sup';\r\n$buttons[] = 'copy';\r\n$buttons[] = 'paste';\r\n$buttons[] = 'cut';\r\n$buttons[] = 'undo';\r\n$buttons[] = 'image';\r\n$buttons[] = 'anchor';\r\n$buttons[] = 'backcolor';\r\n$buttons[] = 'wp_page';\r\n$buttons[] = 'charmap';\r\nreturn $buttons;\r\n}\r\nadd_filter(\"mce_buttons_3\", \"add_editor_buttons\");\r\n\/\/\u589e\u5f3a\u7f16\u8f91\u5668\u7ed3\u675f<\/code><\/pre>\n

 <\/p>\n

\u6548\u679c\u5982\u4e0b\uff1a\u7f16\u8f91\u6587\u7ae0\u65f6\u53ef\u4ee5\u9009\u62e9\u5b57\u4f53\uff0c\u5927\u5c0f\uff0c\u80cc\u666f\u989c\u8272\u7b49 \u3002<\/span><\/p>\n

\"\"<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"

wordpress\u5728\u5347\u7ea7\u5230\u6700\u65b0\u7248\u540e\uff0c\u53d1\u73b0\u5b57\u4f53\u989c\u8272\u7b49\u9009\u9879\u90fd\u6ca1\u4e86\u3002\u7f16\u8f91\u6587\u7ae0\u5c31\u4e0d\u65b9\u4fbf\u4e86\u3002\u7f51\u4e0a\u5404\u79cd\u7684\u627e\u65b9\u6cd5\uff0c\u90fd\u663e\u793a\u4e0d\u51fa […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[5,683,682],"class_list":["post-2055","post","type-post","status-publish","format-standard","hentry","category-web","tag-wordpress","tag-683","tag-682"],"_links":{"self":[{"href":"https:\/\/www.baishitou.cn\/wp-json\/wp\/v2\/posts\/2055","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.baishitou.cn\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.baishitou.cn\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.baishitou.cn\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.baishitou.cn\/wp-json\/wp\/v2\/comments?post=2055"}],"version-history":[{"count":0,"href":"https:\/\/www.baishitou.cn\/wp-json\/wp\/v2\/posts\/2055\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.baishitou.cn\/wp-json\/wp\/v2\/media?parent=2055"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.baishitou.cn\/wp-json\/wp\/v2\/categories?post=2055"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.baishitou.cn\/wp-json\/wp\/v2\/tags?post=2055"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}