{"id":1382,"date":"2025-06-10T10:08:56","date_gmt":"2025-06-10T02:08:56","guid":{"rendered":"https:\/\/www.zhaozhao123.cn\/wpcms\/wpdt\/1382.html"},"modified":"2025-06-10T10:08:56","modified_gmt":"2025-06-10T02:08:56","slug":"8%e4%b8%aa%e6%9c%80%e4%bd%b3wordpress%e6%96%b0%e9%97%bb%e6%8f%92%e4%bb%b6%ef%bc%88%e4%b8%93%e5%ae%b6%e6%8e%a8%e8%8d%90%ef%bc%89","status":"publish","type":"post","link":"https:\/\/www.zhaozhao123.cn\/wpcms\/post\/1382.html","title":{"rendered":"8\u4e2a\u6700\u4f73WordPress\u65b0\u95fb\u63d2\u4ef6\uff08\u4e13\u5bb6\u63a8\u8350\uff09"},"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<h2 class=\"wp-block-heading my-0\">&#20889; Bug&#24037;&#31243;&#24072;&#65306;<\/h2>\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;&#25776;&#20889;&#20851;&#20110;WordPress&#26032;&#38395;&#25554;&#20214;&#30340;&#25991;&#31456;&#26102;&#65292;&#25105;&#20204;&#38656;&#35201;&#30830;&#20445;&#25991;&#31456;&#19981;&#20165;&#25552;&#20379;&#20449;&#24687;&#65292;&#36824;&#33021;&#21560;&#24341;&#35835;&#32773;&#24182;&#28608;&#21457;&#20182;&#20204;&#30340;&#20852;&#36259;&#12290;&#19979;&#38754;&#25105;&#23558;&#20171;&#32461;&#20960;&#20010;&#34987;&#24191;&#27867;&#35748;&#20026;&#26159;&#20248;&#31168;&#30340;WordPress&#26032;&#38395;&#25554;&#20214;&#65292;&#24182;&#20026;&#27599;&#20010;&#25554;&#20214;&#25552;&#20379;&#19968;&#20123;&#35814;&#32454;&#30340;&#20449;&#24687;&#21644;&#24314;&#35758;&#12290;<\/p>\n<h3>1. WP News Pro<\/h3>\n<p><strong>&#31616;&#20171;&#65306;<\/strong>\nWP News Pro &#26159;&#19968;&#27454;&#21151;&#33021;&#24378;&#22823;&#30340;&#26032;&#38395;&#31649;&#29702;&#25554;&#20214;&#65292;&#23427;&#20801;&#35768;&#29992;&#25143;&#36731;&#26494;&#22320;&#21019;&#24314;&#12289;&#32534;&#36753;&#21644;&#21457;&#24067;&#26032;&#38395;&#25991;&#31456;&#65292;&#21516;&#26102;&#25903;&#25345;&#22810;&#35821;&#35328;&#21644;SEO&#20248;&#21270;&#12290;<\/p>\n<p><strong>&#20142;&#28857;&#65306;<\/strong><\/p>\n<ul>\n<li><strong>SEO&#21451;&#22909;:<\/strong> &#25903;&#25345;&#20803;&#25968;&#25454;&#12289;&#20851;&#38190;&#35789;&#26631;&#31614;&#21644;&#33258;&#23450;&#20041;&#26631;&#39064;&#12290;<\/li>\n<li><strong>&#22810;&#35821;&#35328;&#25903;&#25345;:<\/strong> &#21487;&#20197;&#26681;&#25454;&#38656;&#35201;&#28155;&#21152;&#22810;&#31181;&#35821;&#35328;&#29256;&#26412;&#12290;<\/li>\n<li><strong>&#33258;&#23450;&#20041;&#27169;&#26495;:<\/strong> &#20801;&#35768;&#29992;&#25143;&#33258;&#23450;&#20041;&#26032;&#38395;&#39029;&#38754;&#30340;&#24067;&#23616;&#21644;&#26679;&#24335;&#12290;<\/li>\n<\/ul>\n<p><strong>&#23433;&#35013;&#19982;&#37197;&#32622;&#65306;<\/strong><\/p>\n<ol>\n<li>&#30331;&#24405;&#21040;&#24744;&#30340; WordPress &#32593;&#31449;&#21518;&#21488;&#12290;<\/li>\n<li>&#23548;&#33322;&#33267;&ldquo;&#25554;&#20214;&rdquo; &gt; &ldquo;&#23433;&#35013;&#25554;&#20214;&rdquo;&#12290;<\/li>\n<li>&#22312;&#25628;&#32034;&#26694;&#20013;&#36755;&#20837;&ldquo;WP News Pro&rdquo;&#65292;&#28982;&#21518;&#28857;&#20987;&ldquo;&#31435;&#21363;&#23433;&#35013;&rdquo;&#12290;<\/li>\n<li>&#23433;&#35013;&#23436;&#25104;&#21518;&#65292;&#28608;&#27963;&#25554;&#20214;&#12290;<\/li>\n<li>&#26681;&#25454;&#30028;&#38754;&#25552;&#31034;&#23436;&#25104;&#35774;&#32622;&#65292;&#21253;&#25324;&#36873;&#25321;&#35821;&#35328;&#21644;&#33258;&#23450;&#20041;&#27169;&#26495;&#12290;<\/li>\n<\/ol>\n<p><strong>&#25928;&#26524;&#65306;<\/strong>\n&#19968;&#26086;&#35774;&#32622;&#22909;&#65292;&#24744;&#23601;&#21487;&#20197;&#36731;&#26494;&#22320;&#21019;&#24314;&#26032;&#30340;&#26032;&#38395;&#26465;&#30446;&#65292;&#24182;&#36890;&#36807;&#25554;&#20214;&#25552;&#20379;&#30340;&#24037;&#20855;&#23545;&#20854;&#36827;&#34892;&#31649;&#29702;&#21644;&#20248;&#21270;&#12290;<\/p>\n<h3>&#31034;&#20363;&#20195;&#30721;&#65306;<\/h3>\n<pre><code class=\"language-php\">\/\/ &#25554;&#20837;&#26032;&#25991;&#31456;\nfunction add_new_post() {\n    $post_id = wp_insert_post(array(\n        'post_title' =&gt; '&#26032;&#25991;&#31456;',\n        'post_content' =&gt; '&#36825;&#26159;&#26032;&#25991;&#31456;&#30340;&#20869;&#23481;&#12290;',\n        'post_status' =&gt; 'publish'\n    ));\n}\nadd_action('save_post', 'add_new_post');<\/code><\/pre>\n<p>&#36825;&#27573;&#20195;&#30721;&#20250;&#22312;&#25991;&#31456;&#20445;&#23384;&#21518;&#33258;&#21160;&#25554;&#20837;&#19968;&#26465;&#26032;&#25991;&#31456;&#65292;&#26377;&#21161;&#20110;&#31616;&#21270;&#26032;&#38395;&#20869;&#23481;&#30340;&#29983;&#25104;&#27969;&#31243;&#12290;<\/p>\n<h3>&#32467;&#35770;&#65306;<\/h3>\n<p>&#20197;&#19978;&#26159;&#22235;&#20010;&#34987;&#25512;&#33616;&#30340;WordPress&#26032;&#38395;&#25554;&#20214;&#65292;&#23427;&#20204;&#21508;&#33258;&#20855;&#26377;&#29420;&#29305;&#30340;&#21151;&#33021;&#21644;&#20248;&#21183;&#12290;&#36890;&#36807;&#36825;&#20123;&#25554;&#20214;&#65292;&#24744;&#21487;&#20197;&#26356;&#26377;&#25928;&#22320;&#31649;&#29702;&#32593;&#31449;&#19978;&#30340;&#26032;&#38395;&#20869;&#23481;&#65292;&#25552;&#39640;&#29992;&#25143;&#20307;&#39564;&#12290;&#24076;&#26395;&#36825;&#20123;&#24314;&#35758;&#33021;&#24110;&#21161;&#24744;&#26356;&#22909;&#22320;&#21033;&#29992;WordPress&#26469;&#25552;&#21319;&#26032;&#38395;&#21457;&#24067;&#25928;&#29575;&#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<h2 class=\"wp-block-heading my-0\">&#40657;&#26495;IDE&#25945;&#20070;&#21280;&#65306;<\/h2>\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><strong>&#19968;&#12289;NewsPress &#25554;&#20214;<\/strong><\/p>\n<p>NewsPress &#26159;&#19968;&#20010;&#38750;&#24120;&#21463;&#27426;&#36814;&#30340; WordPress &#26032;&#38395;&#25554;&#20214;&#65292;&#23427;&#25552;&#20379;&#20102;&#20016;&#23500;&#30340;&#21151;&#33021;&#21644;&#23450;&#21046;&#36873;&#39033;&#12290;&#20197;&#19979;&#26159;&#20351;&#29992; NewsPress &#30340;&#22522;&#26412;&#27493;&#39588;&#65306;<\/p>\n<ol>\n<li>\n<p>&#23433;&#35013;&#21644;&#28608;&#27963;&#65306;&#39318;&#20808;&#65292;&#22312;&#24744;&#30340; WordPress &#20027;&#39064;&#30446;&#24405;&#19979;&#25214;&#21040; <code>functions.php<\/code> &#25991;&#20214;&#24182;&#25171;&#24320;&#12290;&#22312;&#36825;&#20010;&#25991;&#20214;&#20013;&#65292;&#24744;&#23558;&#30475;&#21040;&#19968;&#20010;&#21517;&#20026; <code>register_newspress()<\/code> &#30340;&#20989;&#25968;&#12290;<\/p>\n<\/li>\n<li>\n<p>&#21019;&#24314;&#26032;&#38395;&#39029;&#65306;&#22312; <code>functions.php<\/code> &#25991;&#20214;&#20013;&#30340; <code>news_press.php<\/code> &#20301;&#32622;&#65292;&#28155;&#21152;&#20197;&#19979;&#20195;&#30721;&#20197;&#21019;&#24314;&#26032;&#38395;&#39029;&#38754;&#65306;<\/p>\n<pre><code class=\"language-php\">add_action('init', 'add_newspress_page');\nfunction add_newspress_page() {\n   register_post_type( 'news' );\n   add_menu_page( 'News Press', 'News Press', 'manage_options', 'news_press', 'news_press_page', plugins_url('\/assets\/images\/news.png', __FILE__), 5 );\n}\nfunction news_press_page() {\n   ?&gt;\n   &lt;div class=\"wrap\"&gt;\n       &lt;h1&gt;&lt;?php _e( 'News Press', 'news_press' ); ?&gt;&lt;\/h1&gt;\n       &lt;?php\n       if ( ! current_user_can( 'edit_posts' ) ) {\n           echo '&lt;p&gt;' . esc_html__( 'You do not have permission to edit posts.', 'news_press' ) . '&lt;\/p&gt;';\n           return;\n       }\n\n       $args = array(\n           'post_type' =&gt; 'news',\n           'posts_per_page' =&gt; -1,\n           'orderby' =&gt; 'menu_order',\n           'order' =&gt; 'ASC'\n       );\n\n       $news = new WP_Query( $args );\n\n       if ( $news-&gt;have_posts() ) : while ( $news-&gt;have_posts() ) : $news-&gt;the_post();\n           ?&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;h2&gt;&lt;a href=\"&lt;?php the_permalink(); ?&gt;\"&gt;&lt;?php the_title(); ?&gt;&lt;\/a&gt;&lt;\/h2&gt;\n               &lt;\/header&gt;\n               &lt;section class=\"entry-content\"&gt;\n                   &lt;?php the_content(); ?&gt;\n               &lt;\/section&gt;\n               &lt;footer class=\"entry-meta\"&gt;\n                   &lt;span class=\"byline-author\" itemprop=\"author\"&gt;&lt;?php the_author_posts_link(); ?&gt;&lt;\/span&gt;\n                   &lt;span class=\"entry-date published updated\"&gt;&lt;time datetime=\"&lt;?php the_time('c'); ?&gt;\"&gt;&lt;?php printf( __( '%1$s %2$s', 'news_press' ), get_the_date(), get_the_time() ); ?&gt;&lt;\/time&gt;&lt;\/span&gt;\n               &lt;\/footer&gt;\n           &lt;\/article&gt;&lt;!-- #post-## --&gt;\n           &lt;?php\n       endwhile;\n       wp_reset_query();\n\n       if ( ! empty( $news-&gt;found_posts ) ) :\n           echo '&lt;nav aria-label=\"Pagination\"&gt;';\n           echo '&lt;ul class=\"pagination\"&gt;';\n           for ( $i = 1; $i &lt;= $news-&gt;max_num_pages; $i++ ) :\n               echo '&lt;li&gt;&lt;a href=\"' . get_pagenum_link( $i ) . '\"&gt;' . $i . '&lt;\/a&gt;&lt;\/li&gt;';\n           endfor;\n           echo '&lt;\/ul&gt;';\n           echo '&lt;\/nav&gt;';\n       endif;\n\n       wp_reset_postdata();\n   &lt;?php\n}<\/code><\/pre>\n<\/li>\n<li>\n<p>&#37197;&#32622;&#20027;&#39064;&#26679;&#24335;&#65306;&#22312; <code>style.css<\/code> &#25991;&#20214;&#20013;&#65292;&#24744;&#21487;&#20197;&#33258;&#23450;&#20041; NewsPress &#30340;&#26679;&#24335;&#12290;<\/p>\n<\/li>\n<li>\n<p>&#22312; <code>functions.php<\/code> &#25991;&#20214;&#20013;&#28155;&#21152; NewsPress &#20026;&#20840;&#23616;&#33756;&#21333;&#39033;&#65306;<\/p>\n<pre><code class=\"language-php\">add_action('admin_menu', 'news_press_admin_menu');\nfunction news_press_admin_menu() {\n   add_menu_page( 'News Press', 'News Press', 'manage_options', 'news_press', 'news_press_page', plugins_url('\/assets\/images\/news.png', __FILE__));\n}<\/code><\/pre>\n<\/li>\n<\/ol>\n<p><strong>&#20108;&#12289;WPBakery Page Builder News Plugin<\/strong><\/p>\n<p>&#22914;&#26524;&#24744;&#27491;&#22312;&#20351;&#29992; WPBakery Page Builder&#65292;&#37027;&#20040;&#21487;&#20197;&#36731;&#26494;&#22320;&#38598;&#25104; NewsPress&#12290;&#21482;&#38656;&#36981;&#24490;&#20197;&#19979;&#27493;&#39588;&#65306;<\/p>\n<ol>\n<li>&#22312; <code>wpb_builder.js<\/code> &#20013;&#26597;&#25214; <code>pbjs<\/code> &#20989;&#25968;&#65292;&#24182;&#23558;&#20854;&#26367;&#25442;&#20026; NewsPress &#30340; JavaScript &#27169;&#22359;&#12290;<\/li>\n<li>&#23558; NewsPress &#30340; CSS &#21644; JS &#28155;&#21152;&#21040;&#24744;&#30340;&#20027;&#39064;&#25991;&#20214;&#22841;&#20013;&#12290;<\/li>\n<li>&#20462;&#25913;&#24744;&#30340;&#27169;&#26495;&#25991;&#20214;&#20197;&#21253;&#21547; NewsPress &#30340;&#30456;&#20851;&#20803;&#32032;&#12290;<\/li>\n<\/ol>\n<p><strong>&#19977;&#12289;WPForms News Plugin<\/strong><\/p>\n<p>WPForms &#25552;&#20379;&#20102;&#19968;&#20010;&#24378;&#22823;&#30340;&#26032;&#38395;&#25554;&#20214;&#65292;&#21487;&#20197;&#35753;&#29992;&#25143;&#36731;&#26494;&#31649;&#29702;&#20182;&#20204;&#30340;&#26032;&#38395;&#20869;&#23481;&#12290;&#20197;&#19979;&#26159;&#23433;&#35013;&#21644;&#37197;&#32622; WPForms &#30340;&#22522;&#26412;&#27493;&#39588;&#65306;<\/p>\n<ol>\n<li>&#23433;&#35013; WPForms &#24182;&#28608;&#27963;&#12290;<\/li>\n<li>&#22312; <code>functions.php<\/code> &#25991;&#20214;&#20013;&#65292;&#36890;&#36807; <code>add_shortcode<\/code> &#20989;&#25968;&#27880;&#20876; shortcode&#12290;<\/li>\n<li>&#20351;&#29992; <code>get_post_meta<\/code> &#25110; <code>get_post_custom<\/code> &#33719;&#21462;&#29305;&#23450;&#25991;&#31456;&#30340;&#20449;&#24687;&#12290;<\/li>\n<li>&#20351;&#29992; <code>echo<\/code> &#20989;&#25968;&#36755;&#20986;&#26032;&#38395;&#26631;&#39064;&#21644;&#27491;&#25991;&#12290;<\/li>\n<\/ol>\n<p><strong>&#22235;&#12289;WooCommerce News Plugin<\/strong><\/p>\n<p>&#23545;&#20110; WooCommerce &#29992;&#25143;&#65292;NewsPress &#21487;&#33021;&#26080;&#27861;&#28385;&#36275;&#38656;&#27714;&#12290;&#20294;&#26159;&#65292;&#24744;&#21487;&#20197;&#20351;&#29992;&#20854;&#20182; WordPress &#21830;&#24215;&#25554;&#20214;&#26469;&#23454;&#29616;&#31867;&#20284;&#30340;&#21151;&#33021;&#65292;&#22914; WooCommerce News Plugin&#12290;&#20197;&#19979;&#26159;&#23433;&#35013;&#21644;&#37197;&#32622; WooCommerce News Plugin &#30340;&#27493;&#39588;&#65306;<\/p>\n<ol>\n<li>\n<p>&#23433;&#35013; WooCommerce &#24182;&#28608;&#27963;&#12290;<\/p>\n<\/li>\n<li>\n<p>&#22312; <code>woocommerce-news.php<\/code> &#25991;&#20214;&#20013;&#65292;&#28155;&#21152;&#20197;&#19979;&#20195;&#30721;&#65306;<\/p>\n<pre><code class=\"language-php\">function wc_news() {\n   add_theme_support( 'wc-product-gallery-zoom' );\n   add_theme_support( 'wc-product-gallery-lightbox' );\n   add_theme_support( 'wc-product-gallery-slider' );\n   add_theme_support( 'wc-product-gallery-thumbs' );\n}\nadd_action( 'after_setup_theme', 'wc_news' );<\/code><\/pre>\n<\/li>\n<li>\n<p>&#22312; <code>product.php<\/code> &#25991;&#20214;&#20013;&#65292;&#28155;&#21152;&#20197;&#19979;&#20195;&#30721;&#65306;<\/p>\n<pre><code class=\"language-php\">&lt;?php\nif ( has_post_thumbnail( $product_id ) ) { ?&gt;\n   &lt;figure class=\"product-image product-thumb\"&gt;\n       &lt;?php the_post_thumbnail( 'thumbnail' ); ?&gt;\n   &lt;\/figure&gt;\n&lt;?php } else { ?&gt;\n   &lt;img src=\"\" alt=\"\"&gt;\n&lt;?php }\n?&gt;\n&lt;figcaption&gt;&lt;?php the_title(); ?&gt;&lt;\/figcaption&gt;\n&lt;div class=\"description\"&gt;\n   &lt;?php the_excerpt(); ?&gt;\n&lt;\/div&gt;\n&lt;?php\nif ( is_single() &amp;&amp; in_the_loop() &amp;&amp; is_active_sidebar( 'single_product_sidebar' ) ) { ?&gt;\n   &lt;div class=\"product-sidebar\"&gt;\n       &lt;?php dynamic_sidebar( 'single_product_sidebar' ); ?&gt;\n   &lt;\/div&gt;\n&lt;?php }\n?&gt;\n&lt;?php\nif ( is_single() &amp;&amp; in_the_loop() &amp;&amp; is_active_sidebar( 'category_sidebar' ) ) { ?&gt;\n   &lt;div class=\"category-sidebar\"&gt;\n       &lt;?php dynamic_sidebar( 'category_sidebar' ); ?&gt;\n   &lt;\/div&gt;\n&lt;?php }\nif ( is_single() &amp;&amp; in_the_loop() &amp;&amp; is_active_sidebar( 'tag_sidebar' ) ) { ?&gt;\n   &lt;div class=\"tag-sidebar\"&gt;\n       &lt;?php dynamic_sidebar( 'tag_sidebar' ); ?&gt;\n   &lt;\/div&gt;\n&lt;?php }\nif ( is_single() &amp;&amp; in_the_loop() &amp;&amp; is_active_sidebar( 'search_sidebar' ) ) { ?&gt;\n   &lt;div class=\"search-sidebar\"&gt;\n       &lt;?php dynamic_sidebar( 'search_sidebar' ); ?&gt;\n   &lt;\/div&gt;\n&lt;?php }\nif ( is_single() &amp;&amp; in_the_loop() &amp;&amp; is_active_sidebar( 'comments_sidebar' ) ) { ?&gt;\n   &lt;div class=\"comments-sidebar\"&gt;\n       &lt;?php dynamic_sidebar( 'comments_sidebar' ); ?&gt;\n   &lt;\/div&gt;\n&lt;?php }\nif ( is_single() &amp;&amp; in_the_loop() &amp;&amp; is_active_sidebar( 'author_sidebar' ) ) { ?&gt;\n   &lt;div class=\"author-sidebar\"&gt;\n       &lt;?php dynamic_sidebar( 'author_sidebar' ); ?&gt;\n   &lt;\/div&gt;\n&lt;?php }\nif ( is_single() &amp;&amp; in_the_loop() &amp;&amp; is_active_sidebar( 'product_sidebar' ) ) { ?&gt;\n   &lt;div class=\"product-sidebar\"&gt;\n       &lt;?php dynamic_sidebar( 'product_sidebar' ); ?&gt;\n   &lt;\/div&gt;\n&lt;?php }\nif ( is_single() &amp;&amp; in_the_loop() &amp;&amp; is_active_sidebar( 'woocommerce_sidebar' ) ) { ?&gt;\n   &lt;div class=\"woocommerce-sidebar\"&gt;\n       &lt;?php dynamic_sidebar( 'woocommerce_sidebar' ); ?&gt;\n   &lt;\/div&gt;\n&lt;?php }\nif ( is_single() &amp;&amp; in_the_loop() &amp;&amp; is_active_sidebar( 'page-sidebar' ) ) { ?&gt;\n   &lt;div class=\"page-sidebar\"&gt;\n       &lt;?php dynamic_sidebar( 'page-sidebar' ); ?&gt;\n   &lt;\/div&gt;\n&lt;?php }\nif ( is_single() &amp;&amp; in_the_loop() &amp;&amp; is_active_sidebar( 'archive-sidebar' ) ) { ?&gt;\n   &lt;div class=\"archive-sidebar\"&gt;\n       &lt;?php dynamic_sidebar( 'archive-sidebar' ); ?&gt;\n   &lt;\/div&gt;\n&lt;?php }\nif ( is_single() &amp;&amp; in_the_loop() &amp;&amp; is_active_sidebar( 'footer_sidebar' ) ) { ?&gt;\n   &lt;div class=\"footer-sidebar\"&gt;\n       &lt;?php dynamic_sidebar( 'footer_sidebar' ); ?&gt;\n   &lt;\/div&gt;\n&lt;?php }<\/code><\/pre>\n<\/li>\n<\/ol>\n<p>&#35831;&#27880;&#24847;&#65292;&#36825;&#20123;&#21482;&#26159;&#22522;&#30784;&#35774;&#32622;&#65292;&#23454;&#38469;&#24212;&#29992;&#26102;&#21487;&#33021;&#38656;&#35201;&#26681;&#25454;&#20855;&#20307;&#24773;&#20917;&#36827;&#34892;&#35843;&#25972;&#12290;&#24076;&#26395;&#36825;&#20123;&#24314;&#35758;&#23545;&#24744;&#26377;&#25152;&#24110;&#21161;&#65281;<\/p>\r\n<\/div>\r\n<\/div>\r\n<\/div>\r\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>&#20889; Bug&#24037;&#31243;&#24072;&#65306; &#22312;&#25776;&#20889;&#20851;&#20110;WordPress&#26032;&#38395;&#25554;&#20214;&#30340;&#25991;&#31456;&#26102;&#038;#..<\/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":[51],"tuisongtax":[],"class_list":["post-1382","post","type-post","status-publish","format-standard","hentry","category-wpdt","tag-jzgj"],"acf":[],"_links":{"self":[{"href":"https:\/\/www.zhaozhao123.cn\/wpcms\/wp-json\/wp\/v2\/posts\/1382","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=1382"}],"version-history":[{"count":0,"href":"https:\/\/www.zhaozhao123.cn\/wpcms\/wp-json\/wp\/v2\/posts\/1382\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.zhaozhao123.cn\/wpcms\/wp-json\/wp\/v2\/media?parent=1382"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.zhaozhao123.cn\/wpcms\/wp-json\/wp\/v2\/categories?post=1382"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.zhaozhao123.cn\/wpcms\/wp-json\/wp\/v2\/tags?post=1382"},{"taxonomy":"tuisongtax","embeddable":true,"href":"https:\/\/www.zhaozhao123.cn\/wpcms\/wp-json\/wp\/v2\/tuisongtax?post=1382"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}