{"id":3680,"date":"2025-06-12T02:57:55","date_gmt":"2025-06-11T18:57:55","guid":{"rendered":"https:\/\/www.zhaozhao123.cn\/wpcms\/wpdt\/3680.html"},"modified":"2025-06-12T02:57:55","modified_gmt":"2025-06-11T18:57:55","slug":"%e5%a6%82%e4%bd%95%e5%9c%a8wordpress%e4%b8%ad%e6%9b%b4%e6%94%b9%e7%94%a8%e6%88%b7%e5%a4%b4%e5%83%8f%e7%9a%84%e5%bd%a2%e7%8a%b6","status":"publish","type":"post","link":"https:\/\/www.zhaozhao123.cn\/wpcms\/post\/3680.html","title":{"rendered":"\u5982\u4f55\u5728WordPress\u4e2d\u66f4\u6539\u7528\u6237\u5934\u50cf\u7684\u5f62\u72b6"},"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;&#26356;&#25913;&#29992;&#25143;&#22836;&#20687;&#30340;&#24418;&#29366;&#21487;&#20197;&#36890;&#36807;&#33258;&#23450;&#20041;CSS&#26469;&#23454;&#29616;&#12290;&#36825;&#31181;&#26041;&#27861;&#20801;&#35768;&#20320;&#26681;&#25454;&#20010;&#20154;&#21916;&#22909;&#25110;&#32593;&#31449;&#35774;&#35745;&#38656;&#27714;&#65292;&#20026;&#27599;&#20010;&#29992;&#25143;&#23450;&#21046;&#19981;&#21516;&#30340;&#22836;&#20687;&#26679;&#24335;&#12290;<\/p>\n<h3>&#27493;&#39588;1: &#21019;&#24314;&#25110;&#32534;&#36753;&#33258;&#23450;&#20041;CSS&#25991;&#20214;<\/h3>\n<p>&#39318;&#20808;&#65292;&#20320;&#38656;&#35201;&#21019;&#24314;&#19968;&#20010;&#26032;&#30340;CSS&#25991;&#20214;&#25110;&#32773;&#20462;&#25913;&#29616;&#26377;&#30340;CSS&#25991;&#20214;&#12290;&#20320;&#21487;&#20197;&#36890;&#36807;&#20197;&#19979;&#20004;&#31181;&#26041;&#27861;&#20043;&#19968;&#65306;<\/p>\n<ul>\n<li>\n<p><strong>&#25163;&#21160;&#21019;&#24314;<\/strong>&#65306;&#25171;&#24320;<code>wp-content\/themes\/your-theme-name\/style.css<\/code>&#65288;&#20551;&#35774;&#20320;&#30340;&#20027;&#39064;&#21517;&#31216;&#26159;<code>your-theme-name<\/code>&#65289;&#65292;&#25214;&#21040;&#24182;&#28155;&#21152;&#26032;&#30340;CSS&#35268;&#21017;&#12290;<\/p>\n<pre><code class=\"language-css\">.profile-picture {\nshape-image-source: url('https:\/\/example.com\/path\/to\/profile-picture.png');\nshape-margin: 0;\nwidth: 250px; \/* &#26681;&#25454;&#38656;&#35201;&#35843;&#25972;&#23485;&#24230; *\/\nheight: auto;\n}<\/code><\/pre>\n<\/li>\n<li>\n<p><strong>&#20174;&#25554;&#20214;&#23548;&#20837;<\/strong>&#65306;&#22914;&#26524;&#20320;&#26377;&#20854;&#20182;&#20027;&#39064;&#25110;&#32773;&#27169;&#26495;&#65292;&#21487;&#20197;&#32771;&#34385;&#20351;&#29992;&#25554;&#20214;&#22914;<code>Custom CSS &amp; JS<\/code>&#26469;&#36731;&#26494;&#22320;&#28155;&#21152;&#33258;&#23450;&#20041;CSS&#12290;<\/p>\n<\/li>\n<\/ul>\n<h3>&#27493;&#39588;2: &#24212;&#29992;CSS&#21040;&#20027;&#39064;<\/h3>\n<p>&#19968;&#26086;&#20320;&#23436;&#25104;&#20102;CSS&#25991;&#20214;&#30340;&#32534;&#20889;&#21644;&#20445;&#23384;&#65292;&#35760;&#24471;&#23558;&#20854;&#24212;&#29992;&#21040;&#20320;&#30340;&#20027;&#39064;&#20013;&#12290;&#36825;&#36890;&#24120;&#38656;&#35201;&#36890;&#36807;&#20197;&#19979;&#26041;&#24335;&#65306;<\/p>\n<ol>\n<li>&#30331;&#24405;&#21040;WordPress&#21518;&#21488;&#12290;<\/li>\n<li>&#36827;&#20837;<code>Appearance &gt; Customize &gt; Additional CSS<\/code>&#65288;&#22914;&#26524;&#21551;&#29992;&#65289;&#25110;<code>Appearance &gt; Theme Editor<\/code>&#65288;&#19981;&#21551;&#29992;&#65289;&#12290;<\/li>\n<li>&#22312;&#31354;&#30333;&#21306;&#22495;&#36755;&#20837;&#20320;&#30340;&#33258;&#23450;&#20041;CSS&#20195;&#30721;&#12290;<\/li>\n<\/ol>\n<h3>&#31034;&#20363;&#20195;&#30721;<\/h3>\n<p>&#36825;&#37324;&#26377;&#19968;&#20010;&#31616;&#21333;&#30340;&#31034;&#20363;&#65292;&#29992;&#20110;&#25913;&#21464;&#40664;&#35748;&#30340;&#22278;&#24418;&#22836;&#20687;&#20026;&#27491;&#26041;&#24418;&#65306;<\/p>\n<pre><code class=\"language-css\">\/* &#20462;&#25913;&#40664;&#35748;&#22278;&#24418;&#22836;&#20687;&#20026;&#27491;&#26041;&#24418; *\/\n.profile-picture {\n  shape-image-source: url('\/path\/to\/default-profile-picture.png');\n  shape-margin: 0;\n  width: 200px; \/* &#35774;&#32622;&#23485;&#39640;&#27604; *\/\n  height: 200px;\n}<\/code><\/pre>\n<h3>&#20351;&#29992;&#27493;&#39588;&#21450;&#25928;&#26524;<\/h3>\n<ol>\n<li>&#25171;&#24320;&#20320;&#30340;&#20027;&#39064;&#30340;<code>style.css<\/code>&#25991;&#20214;&#12290;<\/li>\n<li>&#28155;&#21152;&#19978;&#36848;CSS&#20195;&#30721;&#21040;<code>.profile-picture<\/code>&#31867;&#20013;&#12290;<\/li>\n<li>&#20445;&#23384;&#25991;&#20214;&#24182;&#21047;&#26032;&#39029;&#38754;&#26597;&#30475;&#25928;&#26524;&#12290;<\/li>\n<\/ol>\n<p>&#36825;&#26679;&#65292;&#24403;&#29992;&#25143;&#35775;&#38382;&#20320;&#30340;&#32593;&#31449;&#26102;&#65292;&#20182;&#20204;&#30340;&#22836;&#20687;&#23558;&#20250;&#26174;&#31034;&#20026;&#27491;&#26041;&#24418;&#24418;&#29366;&#65292;&#32780;&#19981;&#26159;&#40664;&#35748;&#30340;&#22278;&#24418;&#12290;&#36825;&#20010;&#35774;&#32622;&#21487;&#20197;&#26681;&#25454;&#38656;&#35201;&#35843;&#25972;&#22823;&#23567;&#21644;&#24418;&#29366;&#65292;&#20197;&#36866;&#24212;&#29305;&#23450;&#30340;&#35774;&#35745;&#38656;&#27714;&#12290;<\/p>\n<p>&#35831;&#27880;&#24847;&#65292;&#36825;&#31181;&#20570;&#27861;&#21487;&#33021;&#20250;&#24433;&#21709;&#25152;&#26377;&#29992;&#25143;&#30340;&#22836;&#20687;&#26174;&#31034;&#65292;&#22240;&#27492;&#22312;&#23454;&#38469;&#24212;&#29992;&#21069;&#65292;&#35831;&#30830;&#20445;&#27979;&#35797;&#20854;&#23545;&#29992;&#25143;&#20307;&#39564;&#30340;&#24433;&#21709;&#12290;<\/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>&#35201;&#26356;&#25913;WordPress&#29992;&#25143;&#22836;&#20687;&#30340;&#24418;&#29366;&#65292;&#24744;&#21487;&#20197;&#20351;&#29992;WordPress&#25554;&#20214;&#25110;&#33258;&#23450;&#20041;&#20027;&#39064;&#21151;&#33021;&#26469;&#23454;&#29616;&#12290;&#20197;&#19979;&#26159;&#19968;&#20123;&#26041;&#27861;&#65306;<\/p>\n<h3>&#26041;&#27861;1&#65306;&#20351;&#29992;WordPress&#25554;&#20214;<\/h3>\n<h4>&#27493;&#39588;1: &#23433;&#35013;&#24182;&#28608;&#27963;&ldquo;WP Profile Avatar Editor&rdquo;<\/h4>\n<p>&#39318;&#20808;&#65292;&#24744;&#38656;&#35201;&#23433;&#35013;&#21644;&#28608;&#27963;&#21517;&#20026;&ldquo;WP Profile Avatar Editor&rdquo;&#30340;&#25554;&#20214;&#12290;&#27492;&#25554;&#20214;&#20801;&#35768;&#24744;&#36731;&#26494;&#32534;&#36753;&#21644;&#31649;&#29702;&#29992;&#25143;&#30340;&#22836;&#20687;&#12290;<\/p>\n<h4>&#27493;&#39588;2: &#36873;&#25321;&#21644;&#35774;&#32622;&#26032;&#30340;&#22836;&#20687;<\/h4>\n<p>&#25171;&#24320;&#25554;&#20214;&#38754;&#26495;&#65292;&#25214;&#21040;&#24182;&#28857;&#20987;&ldquo;Profile Avatar&rdquo;&#12290;&#36825;&#23558;&#25171;&#24320;&#19968;&#20010;&#26032;&#31383;&#21475;&#65292;&#35753;&#24744;&#36873;&#25321;&#24819;&#35201;&#26367;&#25442;&#30340;&#29616;&#26377;&#22836;&#20687;&#12290;<\/p>\n<h4>&#27493;&#39588;3: &#32534;&#36753;&#22836;&#20687;<\/h4>\n<p>&#19968;&#26086;&#36873;&#25321;&#20102;&#22836;&#20687;&#65292;&#24744;&#21487;&#20197;&#22312;&#27492;&#22788;&#32534;&#36753;&#23427;&#12290;&#20363;&#22914;&#65292;&#21487;&#20197;&#35843;&#25972;&#22823;&#23567;&#12289;&#39068;&#33394;&#12289;&#28155;&#21152;&#25991;&#23383;&#31561;&#12290;<\/p>\n<h4>&#27493;&#39588;4: &#26356;&#26032;&#22836;&#20687;<\/h4>\n<p>&#20445;&#23384;&#24744;&#30340;&#26356;&#25913;&#21518;&#65292;&#21482;&#38656;&#28857;&#20987;&ldquo;Update&rdquo;&#25353;&#38062;&#21363;&#21487;&#24212;&#29992;&#20462;&#25913;&#12290;<\/p>\n<h3>&#26041;&#27861;2&#65306;&#33258;&#23450;&#20041;&#20027;&#39064;&#26679;&#24335;<\/h3>\n<h4>&#27493;&#39588;1: &#25171;&#24320;&#32593;&#31449;&#27169;&#26495;<\/h4>\n<p>&#30331;&#24405;&#21040;WordPress&#32593;&#31449;&#21518;&#21488;&#65292;&#28982;&#21518;&#36716;&#21040;&ldquo;Appearance &gt; Customize&rdquo;&#37096;&#20998;&#12290;&#22312;&#36825;&#37324;&#65292;&#24744;&#21487;&#20197;&#30475;&#21040;&#21487;&#29992;&#30340;&#20027;&#39064;&#36873;&#39033;&#12290;<\/p>\n<h4>&#27493;&#39588;2: &#26356;&#25913;&#20027;&#39064;&#26679;&#24335;<\/h4>\n<p>&#22312;&#24038;&#20391;&#30340;&#33756;&#21333;&#20013;&#65292;&#26597;&#25214;&#24182;&#28857;&#20987;&ldquo;Avatar&rdquo;&#26631;&#31614;&#12290;&#36825;&#20250;&#26174;&#31034;&#24403;&#21069;&#20027;&#39064;&#20013;&#30340;&#29992;&#25143;&#22836;&#20687;&#26679;&#24335;&#12290;<\/p>\n<h4>&#27493;&#39588;3: &#33258;&#23450;&#20041;&#22836;&#20687;<\/h4>\n<p>&#25214;&#21040;&ldquo;Avatar&rdquo;&#37096;&#20998;&#19979;&#30340;&#30456;&#20851;&#36873;&#39033;&#21345;&#65292;&#22914;&ldquo;Background Image&rdquo;&#65292;&#28982;&#21518;&#25353;&#29031;&#25552;&#31034;&#36827;&#34892;&#25805;&#20316;&#65288;&#22914;&#19978;&#20256;&#22270;&#29255;&#12289;&#35009;&#21098;&#31561;&#65289;&#12290;<\/p>\n<h4>&#27493;&#39588;4: &#24212;&#29992;&#26356;&#25913;<\/h4>\n<p>&#20445;&#23384;&#24744;&#30340;&#35774;&#32622;&#21518;&#65292;&#20027;&#39064;&#23601;&#20250;&#33258;&#21160;&#26356;&#26032;&#20197;&#36866;&#24212;&#26032;&#30340;&#22836;&#20687;&#26679;&#24335;&#12290;<\/p>\n<h3>&#27880;&#24847;&#20107;&#39033;&#65306;<\/h3>\n<ul>\n<li>&#20351;&#29992;&#25554;&#20214;&#26102;&#65292;&#35831;&#30830;&#20445;&#24050;&#33719;&#24471;&#30456;&#24212;&#26435;&#38480;&#12290;<\/li>\n<li>&#23545;&#20110;&#22797;&#26434;&#30340;&#35774;&#35745;&#65292;&#21487;&#33021;&#38656;&#35201;&#39069;&#22806;&#30340;CSS&#30693;&#35782;&#21644;&#32463;&#39564;&#25165;&#33021;&#23436;&#20840;&#25511;&#21046;&#22836;&#20687;&#12290;<\/li>\n<li>&#22312;&#23581;&#35797;&#20219;&#20309;&#33258;&#23450;&#20041;&#22836;&#37096;&#20043;&#21069;&#65292;&#35831;&#21153;&#24517;&#22791;&#20221;&#24744;&#30340;&#32593;&#31449;&#20197;&#38450;&#19975;&#19968;&#12290;<\/li>\n<\/ul>\n<p>&#36890;&#36807;&#19978;&#36848;&#20004;&#31181;&#26041;&#27861;&#65292;&#24744;&#21487;&#20197;&#25104;&#21151;&#22320;&#22312;WordPress&#20013;&#26356;&#25913;&#29992;&#25143;&#22836;&#20687;&#30340;&#24418;&#29366;&#12290;&#22914;&#26524;&#24744;&#36935;&#21040;&#20219;&#20309;&#38382;&#39064;&#65292;&#35831;&#38543;&#26102;&#25552;&#38382;&#65281;<\/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;&#26356;&#25913;&#29992;&#25143;&#22836;&#20687;&#30340;&#24418;&#29366;&#21487;&#20197;&#36890;&#36807;&#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":[2107,2106],"tuisongtax":[],"class_list":["post-3680","post","type-post","status-publish","format-standard","hentry","category-wpdt","tag-cjyy","tag-cjzn"],"acf":[],"_links":{"self":[{"href":"https:\/\/www.zhaozhao123.cn\/wpcms\/wp-json\/wp\/v2\/posts\/3680","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=3680"}],"version-history":[{"count":0,"href":"https:\/\/www.zhaozhao123.cn\/wpcms\/wp-json\/wp\/v2\/posts\/3680\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.zhaozhao123.cn\/wpcms\/wp-json\/wp\/v2\/media?parent=3680"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.zhaozhao123.cn\/wpcms\/wp-json\/wp\/v2\/categories?post=3680"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.zhaozhao123.cn\/wpcms\/wp-json\/wp\/v2\/tags?post=3680"},{"taxonomy":"tuisongtax","embeddable":true,"href":"https:\/\/www.zhaozhao123.cn\/wpcms\/wp-json\/wp\/v2\/tuisongtax?post=3680"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}