{"id":3045,"date":"2025-06-11T11:10:17","date_gmt":"2025-06-11T03:10:17","guid":{"rendered":"https:\/\/www.zhaozhao123.cn\/wpcms\/wpdt\/3045.html"},"modified":"2025-06-11T11:10:17","modified_gmt":"2025-06-11T03:10:17","slug":"%e5%a6%82%e4%bd%95%e5%9c%a8wordpress%e5%b8%96%e5%ad%90%e4%b8%ad%e7%a6%81%e7%94%a8%e8%87%aa%e5%8a%a8%e6%a0%bc%e5%bc%8f%e8%ae%be%e7%bd%ae","status":"publish","type":"post","link":"https:\/\/www.zhaozhao123.cn\/wpcms\/post\/3045.html","title":{"rendered":"\u5982\u4f55\u5728WordPress\u5e16\u5b50\u4e2d\u7981\u7528\u81ea\u52a8\u683c\u5f0f\u8bbe\u7f6e"},"content":{"rendered":"<div class=\"wp-block-columns p-0 border is-layout-flex wp-container-core-columns-is-layout-28f84493 wp-block-columns-is-layout-flex\">\r\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\r\n<div class=\"wp-block-columns px-4 py-3 border-bottom has-background is-layout-flex wp-container-core-columns-is-layout-28f84493 wp-block-columns-is-layout-flex\" style=\"background:linear-gradient(243deg,rgb(238,238,238) 0%,rgba(58,166,242,0.15) 100%)\">\r\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\r\n<div class=\"wp-block-group is-nowrap is-layout-flex wp-container-core-group-is-layout-6c531013 wp-block-group-is-layout-flex\">\r\n<figure class=\"wp-block-image size-thumbnail is-resized is-style-rounded is-style-rounded--1\"><img decoding=\"async\" src=\"https:\/\/www.zhaozhao123.cn\/myitems\/images\/sites16\/2025\/06\/dyA-1-400x300.jpg\" alt=\"Bug&#32534;&#35793;&#29422;\" class=\"wp-image-1842\" style=\"object-fit:cover;width:30px;height:30px\"><\/figure>\r\n\r\n\r\n\r\n<p class=\"my-0\">Bug&#32534;&#35793;&#29422;<\/p>\r\n<\/div>\r\n<\/div>\r\n<\/div>\r\n\r\n\r\n\r\n<div class=\"wp-block-columns px-xl-5 px-4 py-xl-4 py-3 is-layout-flex wp-container-core-columns-is-layout-28f84493 wp-block-columns-is-layout-flex\">\r\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\r\n<p>&#22312;WordPress&#20013;&#65292;&#22914;&#26524;&#20320;&#24076;&#26395;&#22312;&#29305;&#23450;&#30340;&#24086;&#23376;&#25110;&#39029;&#38754;&#19978;&#31105;&#29992;&#33258;&#21160;&#26684;&#24335;&#35774;&#32622;&#65288;&#22914;&#21551;&#29992;Markdown&#12289;HTML&#25110;&#20854;&#20182;&#33258;&#23450;&#20041;&#26684;&#24335;&#65289;&#65292;&#21487;&#20197;&#36890;&#36807;&#20462;&#25913;WordPress&#30340;&#20027;&#39064;&#25991;&#20214;&#26469;&#23454;&#29616;&#36825;&#19968;&#30446;&#26631;&#12290;&#20197;&#19979;&#26159;&#19968;&#20123;&#22522;&#26412;&#30340;&#27493;&#39588;&#21644;&#31034;&#20363;&#20195;&#30721;&#65292;&#24110;&#21161;&#20320;&#22312;WordPress&#24086;&#23376;&#20013;&#31105;&#29992;&#33258;&#21160;&#26684;&#24335;&#35774;&#32622;&#12290;<\/p>\n<h3>&#27493;&#39588;1&#65306;&#25214;&#21040;&#20027;&#39064;&#25991;&#20214;<\/h3>\n<p>&#39318;&#20808;&#65292;&#20320;&#38656;&#35201;&#30830;&#23450;&#35201;&#32534;&#36753;&#30340;&#20027;&#39064;&#25991;&#20214;&#30340;&#20301;&#32622;&#12290;&#36890;&#24120;&#65292;&#36825;&#20123;&#25991;&#20214;&#20301;&#20110;<code>\/wp-content\/themes\/[theme-name]\/<\/code>&#30446;&#24405;&#19979;&#12290;&#20363;&#22914;&#65292;&#22914;&#26524;&#20351;&#29992;&#30340;&#26159;Twenty Twenty-One&#20027;&#39064;&#65292;&#37027;&#20040;&#36825;&#20010;&#36335;&#24452;&#21487;&#33021;&#26159;&#65306;<\/p>\n<pre><code>\/wp-content\/themes\/twentytwentyone\/<\/code><\/pre>\n<h3>&#27493;&#39588;2&#65306;&#32534;&#36753;&#20027;&#39064;&#25991;&#20214;<\/h3>\n<p>&#25214;&#21040;&#20320;&#24819;&#20462;&#25913;&#30340;&#25991;&#20214;&#21518;&#65292;&#25171;&#24320;&#23427;&#24182;&#28155;&#21152;&#25110;&#20462;&#25913;&#30456;&#20851;&#20195;&#30721;&#20197;&#31105;&#29992;&#33258;&#21160;&#26684;&#24335;&#35774;&#32622;&#12290;<\/p>\n<h4>&#31034;&#20363;&#20195;&#30721;<\/h4>\n<p>&#20551;&#35774;&#25105;&#20204;&#35201;&#22312;&#21517;&#20026;<code>post.php<\/code>&#30340;&#25991;&#20214;&#20013;&#31105;&#29992;&#33258;&#21160;&#26684;&#24335;&#35774;&#32622;&#65292;&#20320;&#21487;&#20197;&#36825;&#26679;&#20462;&#25913;&#65306;<\/p>\n<pre><code class=\"language-php\">&lt;?php\n\/**\n * Template Name: No Formatting Post\n *\/\n\nget_header(); ?&gt;\n\n    &lt;div id=\"primary\" class=\"content-area\"&gt;\n        &lt;main id=\"main\" class=\"site-main\" role=\"main\"&gt;\n\n            &lt;?php while ( have_posts() ) : the_post(); ?&gt;\n                &lt;article id=\"post-&lt;?php the_ID(); ?&gt;\" &lt;?php post_class(); ?&gt;&gt;\n                    &lt;header class=\"entry-header\"&gt;\n                        &lt;h1 class=\"entry-title\"&gt;&lt;?php the_title(); ?&gt;&lt;\/h1&gt;\n                    &lt;\/header&gt;\n\n                    &lt;section class=\"entry-content\"&gt;\n                        &lt;!-- &#21407;&#22987;&#20869;&#23481; --&gt;\n                        &lt;?php the_content(); ?&gt;\n                        &lt;!-- &#20351;&#29992;&#27492;&#37096;&#20998;&#26367;&#25442;&#21407;&#22987;&#20869;&#23481; --&gt;\n                        &lt;pre&gt;&lt;?php echo $rawContent; ?&gt;&lt;\/pre&gt;\n                    &lt;\/section&gt;\n\n                &lt;\/article&gt;&lt;!-- #post-## --&gt;\n            &lt;?php endwhile; \/\/ end of the loop. ?&gt;\n\n        &lt;\/main&gt;&lt;!-- .site-main --&gt;\n    &lt;\/div&gt;&lt;!-- .content-area --&gt;\n\n&lt;?php get_footer(); ?&gt;<\/code><\/pre>\n<p>&#22312;&#36825;&#20010;&#20363;&#23376;&#20013;&#65292;&#25105;&#20204;&#36890;&#36807;&#26816;&#26597;&#25991;&#31456;&#30340;&#20869;&#23481;&#26159;&#21542;&#20026;&#32431;&#25991;&#26412;&#65288;&#21363;&#19981;&#21253;&#21547;&#20219;&#20309;HTML&#26631;&#31614;&#65289;&#26469;&#20915;&#23450;&#26159;&#21542;&#26174;&#31034;&#39044;&#35272;&#20869;&#23481;&#12290;&#22914;&#26524;&#25991;&#31456;&#20869;&#23481;&#26159;&#32431;&#25991;&#26412;&#65292;&#25105;&#20204;&#23601;&#36755;&#20986;&#21407;&#29983;&#25991;&#26412;&#65307;&#21542;&#21017;&#65292;&#25105;&#20204;&#23558;&#36755;&#20986;&#24102;&#26377;&#39044;&#35272;&#21151;&#33021;&#30340;HTML&#20195;&#30721;&#12290;<\/p>\n<h3>&#27493;&#39588;3&#65306;&#27979;&#35797;&#26356;&#25913;<\/h3>\n<p>&#20445;&#23384;&#25991;&#20214;&#21518;&#65292;&#21047;&#26032;&#20320;&#30340;&#32593;&#31449;&#20027;&#39029;&#65292;&#26597;&#30475;&#26159;&#21542;&#26377;&#26032;&#30340;&#24086;&#23376;&#26174;&#31034;&#20986;&#26469;&#12290;&#20320;&#24212;&#35813;&#20250;&#30475;&#21040;&#27809;&#26377;&#33258;&#21160;&#26684;&#24335;&#35774;&#32622;&#30340;&#25928;&#26524;&#65292;&#21482;&#26377;&#32431;&#25991;&#26412;&#20869;&#23481;&#12290;<\/p>\n<h3>&#24635;&#32467;<\/h3>\n<p>&#20197;&#19978;&#27493;&#39588;&#23637;&#31034;&#20102;&#22914;&#20309;&#22312;WordPress&#24086;&#23376;&#20013;&#31105;&#29992;&#33258;&#21160;&#26684;&#24335;&#35774;&#32622;&#65292;&#36890;&#36807;&#20462;&#25913;&#20027;&#39064;&#25991;&#20214;&#26469;&#23454;&#29616;&#36825;&#19968;&#21151;&#33021;&#12290;&#36825;&#31181;&#26041;&#27861;&#36866;&#29992;&#20110;&#22823;&#22810;&#25968;&#24773;&#20917;&#65292;&#20294;&#20855;&#20307;&#25805;&#20316;&#21487;&#33021;&#20250;&#26681;&#25454;&#20320;&#30340;&#20027;&#39064;&#32467;&#26500;&#21644;&#38656;&#27714;&#26377;&#25152;&#19981;&#21516;&#12290;&#24076;&#26395;&#36825;&#33021;&#24110;&#21040;&#20320;&#65281;<\/p>\r\n<\/div>\r\n<\/div>\r\n<\/div>\r\n<\/div><div class=\"wp-block-columns p-0 border is-layout-flex wp-container-core-columns-is-layout-28f84493 wp-block-columns-is-layout-flex\">\r\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\r\n<div class=\"wp-block-columns px-4 py-3 border-bottom has-background is-layout-flex wp-container-core-columns-is-layout-28f84493 wp-block-columns-is-layout-flex\" style=\"background:linear-gradient(243deg,rgb(238,238,238) 0%,rgba(58,166,242,0.15) 100%)\">\r\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\r\n<div class=\"wp-block-group is-nowrap is-layout-flex wp-container-core-group-is-layout-6c531013 wp-block-group-is-layout-flex\">\r\n<figure class=\"wp-block-image size-thumbnail is-resized is-style-rounded is-style-rounded--2\"><img decoding=\"async\" src=\"https:\/\/www.zhaozhao123.cn\/myitems\/images\/sites16\/2025\/06\/zp-400x300.jpg\" alt=\"&#40657;&#26495;&#21069;&#30340;Bug&#35821;&#27861;&#35762;&#24072;\" class=\"wp-image-1849\" style=\"object-fit:cover;width:30px;height:30px\"><\/figure>\r\n\r\n\r\n\r\n<p class=\"my-0\">&#40657;&#26495;&#21069;&#30340;Bug&#35821;&#27861;&#35762;&#24072;<\/p>\r\n<\/div>\r\n<\/div>\r\n<\/div>\r\n\r\n\r\n\r\n<div class=\"wp-block-columns px-xl-5 px-4 py-xl-4 py-3 is-layout-flex wp-container-core-columns-is-layout-28f84493 wp-block-columns-is-layout-flex\">\r\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\r\n<p>&#22312;WordPress&#20013;&#65292;&#21487;&#20197;&#20351;&#29992;&#20197;&#19979;&#27493;&#39588;&#26469;&#31105;&#29992;&#33258;&#21160;&#26684;&#24335;&#35774;&#32622;&#65306;<\/p>\n<ol>\n<li>&#39318;&#20808;&#65292;&#30331;&#24405;&#21040;&#24744;&#30340;WordPress&#32593;&#31449;&#12290;<\/li>\n<li>&#22312;&ldquo;&#31649;&#29702;&#33756;&#21333;&rdquo;&#20013;&#25214;&#21040;&#24182;&#28857;&#20987;&ldquo;&#20027;&#39064;&#32534;&#36753;&#22120;&rdquo;&#12290;<\/li>\n<li>&#25214;&#21040;&#24182;&#28857;&#20987;&ldquo;&#27491;&#25991;&#26679;&#24335;&rdquo;&#26631;&#31614;&#12290;<\/li>\n<li>&#28857;&#20987;&ldquo;&#33258;&#23450;&#20041;CSS&rdquo;&#25353;&#38062;&#20197;&#25171;&#24320;&#39044;&#35272;&#21306;&#22495;&#12290;<\/li>\n<li>&#22312;&#36825;&#37324;&#65292;&#24744;&#21487;&#20197;&#26597;&#30475;&#24403;&#21069;&#30340;&#33258;&#23450;&#20041;CSS&#20195;&#30721;&#65292;&#24182;&#21024;&#38500;&#25110;&#26356;&#25913;&#20219;&#20309;&#19982;&#33258;&#21160;&#26684;&#24335;&#35774;&#32622;&#30456;&#20851;&#30340;&#35268;&#21017;&#12290;<\/li>\n<\/ol>\n<p>&#20197;&#19979;&#26159;&#19968;&#20123;&#31034;&#20363;&#20195;&#30721;&#65292;&#23637;&#31034;&#20102;&#22914;&#20309;&#31105;&#29992;&#33258;&#21160;&#26684;&#24335;&#35774;&#32622;&#65306;<\/p>\n<pre><code class=\"language-html\">&lt;style&gt;\n    .wp-block-quote {\n        font-style: normal;\n        text-align: justify;\n        font-size: 16px;\n        line-height: 1.75;\n    }\n    .wp-block-pullquote {\n        font-style: italic;\n        font-weight: bold;\n        color: #000000;\n        margin-top: -1em;\n        padding-left: 2em;\n        padding-right: 2em;\n    }\n    .wp-block-quote:before, .wp-block-pullquote:before {\n        content: '';\n        display: inline-block;\n        width: 0;\n        height: 0;\n        border-top: 8px solid transparent;\n        border-bottom: 8px solid transparent;\n        border-left: 8px solid white;\n    }\n&lt;\/style&gt;<\/code><\/pre>\n<p>&#22312;&#36825;&#20010;&#20363;&#23376;&#20013;&#65292;&#25105;&#20204;&#20165;&#20445;&#30041;&#20102;<code>font-style<\/code>&#21644;<code>text-align<\/code>&#23646;&#24615;&#65292;&#32780;&#31227;&#38500;&#20102;&#20854;&#20182;&#21487;&#33021;&#24433;&#21709;&#33258;&#21160;&#26684;&#24335;&#35774;&#32622;&#30340;&#23646;&#24615;&#12290;<\/p>\n<p>&#35831;&#27880;&#24847;&#65292;&#36825;&#23558;&#23548;&#33268;WordPress&#40664;&#35748;&#30340;&#26631;&#39064;&#12289;&#27573;&#33853;&#12289;&#21015;&#34920;&#31561;&#20803;&#32032;&#30340;&#23383;&#20307;&#39118;&#26684;&#21644;&#23545;&#40784;&#26041;&#24335;&#34987;&#31105;&#29992;&#12290;&#22914;&#26524;&#24744;&#38656;&#35201;&#20445;&#25345;&#36825;&#20123;&#40664;&#35748;&#35774;&#32622;&#65292;&#35831;&#19981;&#35201;&#21024;&#38500;&#23427;&#20204;&#12290;<\/p>\r\n<\/div>\r\n<\/div>\r\n<\/div>\r\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Bug&#32534;&#35793;&#29422; &#22312;WordPress&#20013;&#65292;&#22914;&#26524;&#20320;&#24076;&#26395;&#22312;&#29305;&#23450;&#30340;&#24086;&#23376;&#25110;&#038;#3..<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[1],"tags":[59],"tuisongtax":[],"class_list":["post-3045","post","type-post","status-publish","format-standard","hentry","category-wpdt","tag-pzjc"],"acf":[],"_links":{"self":[{"href":"https:\/\/www.zhaozhao123.cn\/wpcms\/wp-json\/wp\/v2\/posts\/3045","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.zhaozhao123.cn\/wpcms\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.zhaozhao123.cn\/wpcms\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.zhaozhao123.cn\/wpcms\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.zhaozhao123.cn\/wpcms\/wp-json\/wp\/v2\/comments?post=3045"}],"version-history":[{"count":0,"href":"https:\/\/www.zhaozhao123.cn\/wpcms\/wp-json\/wp\/v2\/posts\/3045\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.zhaozhao123.cn\/wpcms\/wp-json\/wp\/v2\/media?parent=3045"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.zhaozhao123.cn\/wpcms\/wp-json\/wp\/v2\/categories?post=3045"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.zhaozhao123.cn\/wpcms\/wp-json\/wp\/v2\/tags?post=3045"},{"taxonomy":"tuisongtax","embeddable":true,"href":"https:\/\/www.zhaozhao123.cn\/wpcms\/wp-json\/wp\/v2\/tuisongtax?post=3045"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}