{"id":857,"date":"2011-04-19T18:41:38","date_gmt":"2011-04-19T10:41:38","guid":{"rendered":"http:\/\/www.vmsvr.com\/wordpress\/?p=857"},"modified":"2011-04-19T18:42:20","modified_gmt":"2011-04-19T10:42:20","slug":"%e8%a7%a3%e5%86%b3dynamic-content-gallery%e6%8f%92%e4%bb%b6%e4%b8%8d%e8%83%bd%e5%9c%a8%e9%bb%98%e8%ae%a4%e4%b8%bb%e9%a2%98%e4%bd%bf%e7%94%a8%e7%9a%84%e6%96%b9%e6%b3%95%ef%bc%81","status":"publish","type":"post","link":"https:\/\/www.vmsvr.com\/wordpress\/post\/2011\/04\/19\/857.html","title":{"rendered":"\u89e3\u51b3Dynamic Content Gallery\u63d2\u4ef6\u4e0d\u80fd\u5728\u9ed8\u8ba4\u4e3b\u9898\u4f7f\u7528\u7684\u65b9\u6cd5\uff01"},"content":{"rendered":"<p>\u524d\u6bb5\u65f6\u95f4\u6253\u7b97\u6574\u4e2a\u5e7b\u706f\u7247\u63d2\u4ef6\uff0c\u8ba9\u9996\u9875\u663e\u793a\u5e7b\u706f\u7247\uff0c\u6253\u7b97\u4f7f\u7528Dynamic Content Gallery\u8fd9\u6b3e\u63d2\u4ef6\uff0c\u4f46\u662f\u542f\u7528\u4e4b\u540e\uff0c\u5728loop.php\u91cc\u76f8\u5e94\u4f4d\u7f6e\u6dfb\u52a0<span style=\"color: rgb(255, 0, 0);\">&lt;?php dynamic_content_gallery(); ?&gt;<\/span>\u540e\u5374\u53d1\u73b0\u4e0d\u4ec5\u9996\u9875\u663e\u793a\u5e7b\u706f\u7247\uff0c\u5206\u7c7b\u76ee\u5f55\u5374\u51fa\u73b0\u4e86\u9519\u8bef\uff0c\u67e5\u770b\u5b98\u7f51\u624d\u53d1\u73b0\u4e0a\u9762\u63d0\u793a\u4e0d\u80fd\u5728\u9ed8\u8ba4\u4e3b\u9898loop.php\u6587\u4ef6\u91cc\u4f7f\u7528\uff01\u4e0d\u5f97\u5df2\u7981\u7528\u4e86\u63d2\u4ef6\u3002<\/p>\n<div align=\"right\" style=\"font-size: 12px;\"><!--more \u7ee7\u7eed\u9605\u8bfb\u5168\u6587--><\/div>\n<p>\u901a\u8fc7\u8fd9\u51e0\u5929\u7814\u7a76\u7ec8\u4e8e\u53d1\u73b0\u5982\u4f55\u5728\u9ed8\u8ba4\u4e3b\u9898<span class='wp_keywordlink_affiliate'><a href=\"https:\/\/www.vmsvr.com\/wordpress\/tag\/twentyten\" title=\"View all posts in twentyten\" target=\"_blank\">twentyten<\/a><\/span>\u91cc\u4f7f\u7528Dynamic Content Gallery\u63d2\u4ef6\uff0c\u53ea\u9700\u8981\u5728\u4e3b\u9898\u6587\u4ef6\u5939\u91ccindex.php\u5199\u5165<span style=\"color: rgb(255, 0, 0);\">&lt;?php dynamic_content_gallery(); ?&gt;<\/span>\u4ee3\u7801\u5373\u53ef\uff0c\u5199\u5728\u6ce8\u91ca\u524d\u9762\uff0c<span style=\"color: rgb(255, 0, 0);\">&lt;div id=&quot;content&quot; role=&quot;main&quot;&gt;<\/span><span>\u4e0b\u9762\u5373\u53ef\uff01<\/span><\/p>\n<p><span style=\"color: rgb(255, 0, 0);\">&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&lt;div id=&quot;container&quot;&gt;<br \/>\n\t&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&lt;div id=&quot;content&quot; role=&quot;main&quot;&gt;<br \/>\n\t&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&lt;div&gt;<br \/>\n\t&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&lt;?php dynamic_content_gallery(); ?&gt;<br \/>\n\t&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&lt;\/div&gt;<br \/>\n\t&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&lt;?php<br \/>\n\t&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;\/* Run the loop to output the posts.<br \/>\n\t&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp; * If you want to overload this in a child theme then include a file<br \/>\n\t&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp; * called loop-index.php and that will be used instead.<br \/>\n\t&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp; *\/<br \/>\n\t&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp; get_template_part( &#39;loop&#39;, &#39;index&#39; );<br \/>\n\t&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;?&gt;<br \/>\n\t&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&lt;\/div&gt;&lt;!&#8211; #content &#8211;&gt;<br \/>\n\t&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&lt;\/div&gt;&lt;!&#8211; #container &#8211;&gt;<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u524d\u6bb5\u65f6\u95f4\u6253\u7b97\u6574\u4e2a\u5e7b\u706f\u7247\u63d2\u4ef6\uff0c\u8ba9\u9996\u9875\u663e\u793a\u5e7b\u706f\u7247\uff0c\u6253\u7b97\u4f7f\u7528Dynamic Conte &hellip; <a href=\"https:\/\/www.vmsvr.com\/wordpress\/post\/2011\/04\/19\/857.html\">\u7ee7\u7eed\u9605\u8bfb <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[139,14],"tags":[88,127],"class_list":["post-857","post","type-post","status-publish","format-standard","hentry","category-technology","category-post","tag-twentyten","tag-wordpress"],"views":4202,"_links":{"self":[{"href":"https:\/\/www.vmsvr.com\/wordpress\/wp-json\/wp\/v2\/posts\/857","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.vmsvr.com\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.vmsvr.com\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.vmsvr.com\/wordpress\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.vmsvr.com\/wordpress\/wp-json\/wp\/v2\/comments?post=857"}],"version-history":[{"count":0,"href":"https:\/\/www.vmsvr.com\/wordpress\/wp-json\/wp\/v2\/posts\/857\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.vmsvr.com\/wordpress\/wp-json\/wp\/v2\/media?parent=857"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.vmsvr.com\/wordpress\/wp-json\/wp\/v2\/categories?post=857"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.vmsvr.com\/wordpress\/wp-json\/wp\/v2\/tags?post=857"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}