{"id":3208,"date":"2025-06-11T19:22:57","date_gmt":"2025-06-11T11:22:57","guid":{"rendered":"https:\/\/www.zhaozhao123.cn\/wpcms\/wpdt\/3208.html"},"modified":"2025-06-11T19:22:57","modified_gmt":"2025-06-11T11:22:57","slug":"%e5%a6%82%e4%bd%95%e5%9c%a8wordpress%e4%b8%ad%e5%af%bc%e5%85%a5%e5%a4%96%e9%83%a8%e5%9b%be%e7%89%87","status":"publish","type":"post","link":"https:\/\/www.zhaozhao123.cn\/wpcms\/post\/3208.html","title":{"rendered":"\u5982\u4f55\u5728WordPress\u4e2d\u5bfc\u5165\u5916\u90e8\u56fe\u7247"},"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;&#23548;&#20837;&#22806;&#37096;&#22270;&#29255;&#26377;&#20960;&#31181;&#26041;&#27861;&#65292;&#36825;&#37324;&#25105;&#23558;&#20171;&#32461;&#20854;&#20013;&#30340;&#20004;&#31181;&#65306;&#20351;&#29992;<code>wp_insert_attachment()<\/code>&#20989;&#25968;&#21644;&#20351;&#29992;<code>wp_handle_sideload_image()<\/code>&#20989;&#25968;&#12290;<\/p>\n<h3>&#26041;&#27861;&#19968;&#65306;&#20351;&#29992;<code>wp_insert_attachment()<\/code><\/h3>\n<ol>\n<li>\n<p><strong>&#20934;&#22791;&#25991;&#20214;<\/strong>&#65306;&#39318;&#20808;&#65292;&#20320;&#38656;&#35201;&#26377;&#19968;&#20010;&#22806;&#37096;&#22270;&#29255;&#25991;&#20214;&#65288;&#20363;&#22914; <code>.jpg<\/code>, <code>.png<\/code> &#31561;&#65289;&#12290;<\/p>\n<\/li>\n<li>\n<p><strong>&#33719;&#21462;URL<\/strong>&#65306;&#36890;&#36807;&#26381;&#21153;&#22120;&#31471;&#33050;&#26412;&#25110;&#30452;&#25509;&#22312;&#26412;&#22320;&#27979;&#35797;&#29615;&#22659;&#20013;&#30340;&#27983;&#35272;&#22120;&#35775;&#38382;&#35813;&#22270;&#29255;&#65292;&#33719;&#21462;&#20854;URL&#22320;&#22336;&#12290;<\/p>\n<\/li>\n<li>\n<p><strong>&#25554;&#20837;&#22270;&#29255;&#21040;&#25968;&#25454;&#24211;<\/strong>&#65306;<\/p>\n<ul>\n<li>&#20351;&#29992;<code>wp_insert_attachment()<\/code>&#20989;&#25968;&#23558;&#22270;&#29255;&#19978;&#20256;&#21040;WordPress&#12290;\n<pre><code class=\"language-php\">\n\/\/ &#20445;&#23384;&#22270;&#29255;&#36335;&#24452;&#21040;&#25968;&#25454;&#24211;\n$image_id = wp_insert_attachment( array(\n'post_title' =&gt; basename($file),\n'post_content' =&gt; '',\n'post_status' =&gt; 'inherit',\n'post_type' =&gt; 'attachment',\n'guid' =&gt; $file,\n'post_mime_type' =&gt; getimagesize($file)['mime'],\n'image_default_size' =&gt; 0,\n'image_default_width' =&gt; null,\n'image_default_height' =&gt; null,\n'image_editor' =&gt; 'none'\n), $file );<\/code><\/pre><\/li>\n<\/ul>\n<p>\/\/ &#33719;&#21462;&#22270;&#29255;ID\n$imgId = $image_id;<\/p>\n<pre><code><\/code><\/pre>\n<\/li>\n<li>\n<p><strong>&#28155;&#21152;&#22270;&#29255;&#21040;&#24086;&#23376;\/&#39029;&#38754;<\/strong>&#65306;<\/p>\n<ul>\n<li>&#20351;&#29992;<code>add_post_thumbnail()<\/code>&#20989;&#25968;&#23558;&#22270;&#29255;&#28155;&#21152;&#21040;&#24403;&#21069;&#30340;&#24086;&#23376;&#25110;&#39029;&#38754;&#12290;\n<pre><code class=\"language-php\">add_post_thumbnail( 'your-post-id', array(\n'size'     =&gt; 'thumbnail',\n'alt'      =&gt; 'Alt Text',\n'caption'  =&gt; 'Caption for the image',\n'align'    =&gt; 'center',\n'width'    =&gt; 500,\n'height'   =&gt; 300\n) );<\/code><\/pre><\/li>\n<\/ul>\n<\/li>\n<li>\n<p><strong>&#26816;&#26597;&#22270;&#29255;&#26159;&#21542;&#25104;&#21151;<\/strong>&#65306;&#21487;&#20197;&#36890;&#36807;&#32534;&#36753;&#22120;&#26597;&#30475;&#25554;&#20214;&#25110;&#36890;&#36807;<code>get_attached_media()<\/code>&#20989;&#25968;&#26469;&#30830;&#35748;&#22270;&#29255;&#26159;&#21542;&#24050;&#32463;&#27491;&#30830;&#25554;&#20837;&#12290;<\/p>\n<\/li>\n<\/ol>\n<h3>&#31034;&#20363;&#20195;&#30721;<\/h3>\n<pre><code class=\"language-php\">\/\/ &#20551;&#35774;&#25105;&#20204;&#26377;&#19968;&#20010;&#21517;&#20026; \"example.jpg\" &#30340;&#22806;&#37096;&#22270;&#29255;&#25991;&#20214;\n$file = '\/path\/to\/example.jpg';\n\n\/\/ &#31532;&#19968;&#27493;&#65306;&#20445;&#23384;&#22270;&#29255;&#21040;WordPress&#25968;&#25454;&#24211;\n$image_id = wp_insert_attachment(array(\n    'post_title' =&gt; basename($file),\n    'post_content' =&gt; '',\n    'post_status' =&gt; 'inherit',\n    'post_type' =&gt; 'attachment',\n    'guid' =&gt; $file,\n    'post_mime_type' =&gt; getimagesize($file)['mime'],\n    'image_default_size' =&gt; 0,\n    'image_default_width' =&gt; null,\n    'image_default_height' =&gt; null,\n    'image_editor' =&gt; 'none'\n), $file);\n\n\/\/ &#31532;&#20108;&#27493;&#65306;&#33719;&#21462;&#22270;&#29255;ID\n$imgId = $image_id;\n\n\/\/ &#28155;&#21152;&#22270;&#29255;&#21040;&#24086;&#23376;\/&#39029;&#38754;\nadd_post_thumbnail('your-post-id', array(\n    'size'     =&gt; 'thumbnail',\n    'alt'      =&gt; 'Example Image',\n    'caption'  =&gt; 'This is an example caption.',\n    'align'    =&gt; 'left',\n    'width'    =&gt; 500,\n    'height'   =&gt; 300\n));<\/code><\/pre>\n<h3>&#26041;&#27861;&#20108;&#65306;&#20351;&#29992;<code>wp_handle_sideload_image()<\/code><\/h3>\n<p>&#36825;&#20010;&#26041;&#27861;&#36866;&#29992;&#20110;&#36890;&#36807;HTTP&#35831;&#27714;&#20256;&#36755;&#30340;&#22270;&#29255;&#25968;&#25454;&#12290;<\/p>\n<ol>\n<li><strong>&#20934;&#22791;&#25991;&#20214;<\/strong>&#65306;&#30830;&#20445;&#20320;&#30340;&#22270;&#29255;&#25991;&#20214;&#21487;&#20197;&#30452;&#25509;&#36890;&#36807;HTTP GET&#35831;&#27714;&#20256;&#36865;&#21040;WordPress&#26381;&#21153;&#22120;&#12290;<\/li>\n<li><strong>&#22788;&#29702;&#22270;&#29255;<\/strong>&#65306;&#21019;&#24314;&#19968;&#20010;PHP&#33050;&#26412;&#26469;&#22788;&#29702;&#22270;&#29255;&#25968;&#25454;&#24182;&#23558;&#20854;&#23384;&#20648;&#22312;WordPress&#23186;&#20307;&#24211;&#20013;&#12290;<\/li>\n<li><strong>&#35843;&#29992;<code>wp_handle_sideload_image()<\/code><\/strong>&#65306;<\/li>\n<\/ol>\n<pre><code class=\"language-php\">\/\/ &#20934;&#22791;&#22270;&#29255;&#25968;&#25454;\n$data = file_get_contents(\"http:\/\/example.com\/path\/to\/image.png\");\n\n\/\/ &#21019;&#24314;&#22270;&#29255;&#23545;&#35937;\n$image = new WP_Image_Editor_GD();\n\n\/\/ &#35774;&#32622;&#22270;&#20687;&#23646;&#24615;\n$image-&gt;set('quality', 90);\n$image-&gt;setImageResource($data);\n\n\/\/ &#23558;&#22270;&#29255;&#36716;&#25442;&#20026;WordPress&#26684;&#24335;\n$image_data = $image-&gt;saveAsImageString();\n\n\/\/ &#35843;&#29992;wp_handle_sideload_image()\n$result = wp_handle_sideload_image($image_data, 'my-image-id');\n\n\/\/ &#26816;&#26597;&#32467;&#26524;\nif (isset($result['url'])) {\n    echo \"&#22270;&#29255;&#24050;&#25104;&#21151;&#19978;&#20256;&#21040;WordPress&#23186;&#20307;&#24211;&#12290;&lt;br&gt;\";\n} else {\n    echo \"&#19978;&#20256;&#22833;&#36133;&#65292;&#35831;&#26816;&#26597;&#38169;&#35823;&#20449;&#24687;&#12290;&lt;br&gt;\";\n}<\/code><\/pre>\n<p>&#36825;&#31181;&#26041;&#27861;&#30340;&#20248;&#28857;&#26159;&#21487;&#20197;&#21160;&#24577;&#22320;&#21152;&#36733;&#22270;&#29255;&#65292;&#32780;&#19981;&#38656;&#35201;&#39044;&#20808;&#19978;&#20256;&#21040;&#26381;&#21153;&#22120;&#19978;&#12290;&#19981;&#36807;&#65292;&#23427;&#20381;&#36182;&#20110;WordPress Media Library&#21151;&#33021;&#30340;&#25903;&#25345;&#65292;&#25152;&#20197;&#21487;&#33021;&#38656;&#35201;&#22312;&#29305;&#23450;&#29615;&#22659;&#20013;&#27979;&#35797;&#12290;<\/p>\n<h3>&#24635;&#32467;<\/h3>\n<p>&#26080;&#35770;&#26159;&#20351;&#29992;<code>wp_insert_attachment()<\/code>&#36824;&#26159;<code>wp_handle_sideload_image()<\/code>&#65292;&#20851;&#38190;&#22312;&#20110;&#29702;&#35299;WordPress&#26159;&#22914;&#20309;&#22788;&#29702;&#22270;&#29255;&#19978;&#20256;&#30340;&#12290;&#36825;&#20123;&#20989;&#25968;&#21487;&#20197;&#24110;&#21161;&#20320;&#22312;WordPress&#20013;&#36731;&#26494;&#22320;&#38598;&#25104;&#22806;&#37096;&#22270;&#29255;&#36164;&#28304;&#12290;&#24076;&#26395;&#36825;&#33021;&#24110;&#21161;&#20320;&#39034;&#21033;&#23454;&#29616;&#22270;&#29255;&#30340;&#23548;&#20837;&#24037;&#20316;&#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;&#20320;&#21487;&#20197;&#20351;&#29992;&#22810;&#31181;&#26041;&#24335;&#23558;&#22806;&#37096;&#22270;&#29255;&#28155;&#21152;&#21040;&#20320;&#30340;&#32593;&#31449;&#19978;&#12290;&#20197;&#19979;&#26159;&#19968;&#20123;&#22522;&#26412;&#30340;&#26041;&#27861;&#65306;<\/p>\n<ol>\n<li>\n<p><strong>&#20351;&#29992;WordPress&#25554;&#20214;<\/strong>&#65306;WordPress&#25552;&#20379;&#20102;&#35768;&#22810;&#21487;&#20197;&#33258;&#21160;&#22788;&#29702;&#22270;&#29255;&#19978;&#20256;&#21644;&#31649;&#29702;&#21151;&#33021;&#30340;&#25554;&#20214;&#12290;&#20363;&#22914;&#65292;&#8221;Image Upload Manager&#8221;&#12289;&#8221;Media Library&#8221; &#21644; &#8220;WooCommerce&#8221; &#31561;&#25554;&#20214;&#37117;&#21487;&#20197;&#24110;&#21161;&#20320;&#36731;&#26494;&#22320;&#20174;&#20854;&#20182;&#22320;&#26041;&#19979;&#36733;&#22270;&#29255;&#24182;&#23558;&#20854;&#19978;&#20256;&#21040;&#20320;&#30340;&#32593;&#31449;&#12290;<\/p>\n<\/li>\n<li>\n<p><strong>&#36890;&#36807;&#25302;&#25918;<\/strong>&#65306;&#20320;&#21487;&#20197;&#30452;&#25509;&#22312;WordPress&#30340;&#32534;&#36753;&#22120;&#20013;&#25302;&#25918;&#22270;&#29255;&#25991;&#20214;&#21040;&#39029;&#38754;&#25110;&#21338;&#23458;&#25991;&#31456;&#30340;&#39030;&#37096;&#12290;&#36825;&#31181;&#26041;&#27861;&#31616;&#21333;&#30452;&#35266;&#65292;&#36866;&#21512;&#21021;&#23398;&#32773;&#12290;<\/p>\n<\/li>\n<li>\n<p><strong>&#20351;&#29992;WordPress&#33258;&#24102;&#30340;&#21151;&#33021;<\/strong>&#65306;&#34429;&#28982;&#19981;&#26159;&#26368;&#24120;&#29992;&#30340;&#26041;&#27861;&#65292;&#20294;&#22914;&#26524;&#20320;&#26377;WordPress&#30340;&#22522;&#26412;&#30693;&#35782;&#65292;&#20320;&#21487;&#20197;&#20351;&#29992;WordPress&#26412;&#36523;&#25552;&#20379;&#30340;&#21151;&#33021;&#26469;&#23454;&#29616;&#36825;&#20010;&#30446;&#26631;&#12290;&#20855;&#20307;&#26469;&#35828;&#65292;&#20320;&#38656;&#35201;&#21019;&#24314;&#19968;&#20010;&#21253;&#21547;&#22270;&#29255;&#30340;&#39029;&#38754;&#65288;&#22914;&ldquo;&#20851;&#20110;&#25105;&#20204;&rdquo;&#12289;&ldquo;&#32852;&#31995;&#25105;&#20204;&rdquo;&#31561;&#65289;&#65292;&#28982;&#21518;&#22312;&#35813;&#39029;&#38754;&#20013;&#36873;&#25321;&#22270;&#29255;&#25991;&#20214;&#12290;<\/p>\n<\/li>\n<li>\n<p><strong>&#20351;&#29992;WordPress&#20027;&#39064;<\/strong>&#65306;&#19968;&#20123;WordPress&#20027;&#39064;&#21487;&#33021;&#25552;&#20379;&#20102;&#19968;&#20010;&#39044;&#23450;&#20041;&#30340;&#36873;&#39033;&#65292;&#20801;&#35768;&#29992;&#25143;&#20174;&#22806;&#37096;URL&#19978;&#20256;&#22270;&#29255;&#12290;&#36825;&#36890;&#24120;&#38656;&#35201;&#20320;&#23545;HTML&#26377;&#25152;&#20102;&#35299;&#12290;<\/p>\n<\/li>\n<\/ol>\n<p>&#19979;&#38754;&#25105;&#23558;&#23637;&#31034;&#19968;&#20010;&#31616;&#21333;&#30340;&#20363;&#23376;&#65292;&#35828;&#26126;&#22914;&#20309;&#20351;&#29992;WordPress&#33258;&#24102;&#30340;&#21151;&#33021;&#26469;&#21152;&#36733;&#22806;&#37096;&#22270;&#29255;&#12290;<\/p>\n<h3>&#31034;&#20363;&#20195;&#30721;<\/h3>\n<p>&#39318;&#20808;&#65292;&#30830;&#20445;&#20320;&#22312;<code>wp-content\/plugins<\/code>&#30446;&#24405;&#19979;&#26377;&#19968;&#20010;&#21517;&#20026;<code>image_upload_manager.php<\/code>&#30340;&#25991;&#20214;&#65292;&#28982;&#21518;&#23558;&#20197;&#19979;&#20195;&#30721;&#22797;&#21046;&#31896;&#36148;&#21040;&#35813;&#25991;&#20214;&#20013;&#65306;<\/p>\n<pre><code class=\"language-php\">&lt;?php\n\/\/ This is an example of how to load images from a URL in WordPress.\nadd_action('admin_init', 'upload_image');\n\nfunction upload_image() {\n    \/\/ Get the current user ID and their role\n    $current_user_id = get_current_user_id();\n    $current_role     = wp_get_current_roles();\n\n    \/\/ Check if the user has permission to add files\n    if (isset($_POST['file']) &amp;&amp; isset($_FILES['file']['name'])) {\n\n        \/\/ Validate that the file type is allowed\n        if ($_FILES['file']['type'] == 'image\/jpeg' || $_FILES['file']['type'] == 'image\/png') {\n            \/\/ Get the uploaded file details\n            $file_name = $_FILES['file']['name'];\n            $file_path = wp_upload_dir()['basedir'] . '\/uploads\/' . sanitize_file_name($file_name);\n            $file_type = $_FILES['file']['type'];\n\n            \/\/ Make sure the directory exists or create it\n            mkdir($file_path, 0777, true);\n\n            \/\/ Save the image\n            move_uploaded_file($_FILES['file']['tmp_name'], $file_path);\n\n            \/\/ Set the image attributes\n            $image_url = wp_get_attachment_url(get_post_thumbnail_id());\n            $alt_text   = '';\n            $caption    = '';\n\n            \/\/ Update the post with new image url\n            update_post_meta($post-&gt;ID, '_thumbnail_id', get_the_ID());\n\n            \/\/ If there's an alt text provided, set it\n            if (!empty($_POST['alt_text'])) {\n                $alt_text = esc_attr(trim($_POST['alt_text']));\n            }\n\n            \/\/ If there's a caption provided, set it\n            if (!empty($_POST['caption'])) {\n                $caption = esc_attr(trim($_POST['caption']));\n            }\n\n            \/\/ Update the post meta\n            update_post_meta($post-&gt;ID, '_wp_attachment_image_alt', $alt_text);\n            update_post_meta($post-&gt;ID, '_wp_attachment_caption', $caption);\n\n            \/\/ Redirect to the original page after saving the changes\n            header(\"Location: {$image_url}\");\n            exit;\n        } else {\n            \/\/ If the file type isn't allowed, display an error message\n            wp_die('Only JPEG and PNG files are allowed.');\n        }\n    }\n}<\/code><\/pre>\n<h3>&#22914;&#20309;&#20351;&#29992;&#27492;&#20195;&#30721;<\/h3>\n<ol>\n<li>&#23558;&#19978;&#36848;&#20195;&#30721;&#20445;&#23384;&#20026;<code>image_upload_manager.php<\/code>&#12290;<\/li>\n<li>&#22312;&#20320;&#30340;WordPress&#23433;&#35013;&#30446;&#24405;&#19979;&#30340;<code>wp-content\/plugins\/<\/code>&#30446;&#24405;&#19979;&#65292;&#25214;&#21040;&#35813;&#25991;&#20214;&#12290;<\/li>\n<li>&#25171;&#24320;&#24182;&#36816;&#34892;&#35813;&#33050;&#26412;&#20197;&#39564;&#35777;&#20854;&#21151;&#33021;&#26159;&#21542;&#27491;&#30830;&#24037;&#20316;&#12290;<\/li>\n<\/ol>\n<p>&#27880;&#24847;&#65306;&#35831;&#26681;&#25454;&#23454;&#38469;&#24773;&#20917;&#35843;&#25972;&#20195;&#30721;&#20013;&#30340;&#21464;&#37327;&#21517;&#21644;&#36335;&#24452;&#12290;&#27492;&#22806;&#65292;&#30001;&#20110;&#23433;&#20840;&#21407;&#22240;&#65292;&#35831;&#36991;&#20813;&#22312;&#23454;&#38469;&#29983;&#20135;&#29615;&#22659;&#20013;&#20351;&#29992;&#27492;&#31867;&#26041;&#27861;&#26469;&#19978;&#20256;&#25935;&#24863;&#25991;&#20214;&#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;&#23548;&#20837;&#22806;&#37096;&#22270;&#29255;&#26377;&#20960;&#31181;&#26041;&#27861;&#65292;&#36825;&#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-3208","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\/3208","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=3208"}],"version-history":[{"count":0,"href":"https:\/\/www.zhaozhao123.cn\/wpcms\/wp-json\/wp\/v2\/posts\/3208\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.zhaozhao123.cn\/wpcms\/wp-json\/wp\/v2\/media?parent=3208"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.zhaozhao123.cn\/wpcms\/wp-json\/wp\/v2\/categories?post=3208"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.zhaozhao123.cn\/wpcms\/wp-json\/wp\/v2\/tags?post=3208"},{"taxonomy":"tuisongtax","embeddable":true,"href":"https:\/\/www.zhaozhao123.cn\/wpcms\/wp-json\/wp\/v2\/tuisongtax?post=3208"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}