{"id":33,"date":"2008-02-21T16:44:36","date_gmt":"2008-02-21T08:44:36","guid":{"rendered":"http:\/\/blog.pighead.cc\/pighead\/?p=33"},"modified":"2010-09-23T21:49:29","modified_gmt":"2010-09-23T13:49:29","slug":"garland-theme-for-wordpress","status":"publish","type":"post","link":"https:\/\/blog.pighead.cc\/pighead\/2008\/02\/21\/33\/garland-theme-for-wordpress\/","title":{"rendered":"garland theme, wordpress"},"content":{"rendered":"<p>Drupal \u5f9e 5.0 \u958b\u59cb\u7684\u9810\u8a2d\u7248\u578b\u662f garland\uff0c\u7576\u521d\u5728 Drupal 5.0 \u63a8\u51fa\u524d wordpress \u5c31\u5077\u8dd1\u9084\u5f15\u767c\u4e86\u4e00\u4e9b\u98a8\u6ce2\uff0c\u4e0d\u904e\u5728 Drupal 5.0 \u6b63\u5f0f\u63a8\u51fa\u4e4b\u5f8c\uff0c\u5927\u5bb6\u5c31\u53ef\u4ee5\u5927\u65b9\u7528\u4e86\u3002<\/p>\n<p><a href=\"http:\/\/incoherentbabble.com\/2008\/02\/03\/fresh-garland-release\/\">\u9019\u908a<\/a>\u53ef\u4ee5\u4e0b\u8f09\u3002<\/p>\n<p>\u4e4b\u524d\u5728\u66f4\u65b0\u5b8c wordpress \u4e4b\u5f8c\uff0c\u60f3\u9806\u4fbf\u6574\u7406\u4e00\u4e0b theme\uff0c\u9592\u9592\u6c92\u4e8b\u8dd1\u53bb<a href=\"http:\/\/validator.w3.org\/\">\u6e2c\u4e00\u4e0b<\/a>\uff0c\u7d50\u679c\u767c\u73fe\u904e\u4e0d\u4e86 XHTMl 1.0 Strict\uff0c\u5927\u81f4\u4e0a\u770b\u4e00\u4e0b\u767c\u73fe\u4e3b\u8981\u7684\u932f\u8aa4\u8a0a\u606f\u662f\u9019\u6a23\u5b50\u7684\uff1a<\/p>\n<blockquote><p>Entity references start with an ampersand (&amp;) and end with a semicolon (;). If you want to use a literal ampersand in your document you must encode it as &#8220;&amp;&#8221; (even inside URLs!).<\/p><\/blockquote>\n<p>\u55ef\uff1f\u539f\u4f86\u662f\u5728\u62b1\u6028 &#8220;&amp;&#8221; \u7684\u554a\uff0c\u770b\u4e86\u4e00\u4e0b\u539f\u59cb\u78bc\u767c\u73fe\u554f\u984c\u662f\u5728\u50b3\u53c3\u6578\u7d66\u7522\u751f\u5716\u5f62\u7684\u7a0b\u5f0f (image.php) \u7684\u9019\u908a\u7522\u751f\u7684\u554f\u984c\uff0c\u9577\u5f97\u6709\u9ede\u50cf\u662f\u9019\u6a23\u5b50\uff1a<\/p>\n<pre lang=\"none\">image.php?src=body.png&amp;base=83ceaa&amp;top=23c293&amp;bottom=35c047<\/pre>\n<p>\u90a3\u597d\u5427\uff0c\u5c31\u7167\u8aaa\u660e\u628a &#8220;&amp;&#8221; \u6539\u6210 &#8220;&amp;&#8221; \u597d\u4e86\u3002 \u7522\u751f\u9019\u6bb5\u7a0b\u5f0f\u7684\u662f functions.php\uff0c\u6240\u4ee5\u5c31\u628a\u88e1\u9762\u7684 php \u7a0b\u5f0f\u548c java script \u90fd\u6539\u4e00\u6539\u5427\u3002<\/p>\n<p>\u5728\u4fee\u6539\u5b8c\u4e4b\u5f8c\u6574\u500b\u7248\u9762\u6709\u5716\u7684\u5730\u65b9\u5168\u9ed1\uff0c\u986f\u7136\u9019\u6a23\u50b3\u53c3\u6578\u6703\u6709\u554f\u984c\uff0c\u7121\u6cd5\u8a2d\u5b9a\u6b63\u78ba\u7684\u984f\u8272\u3002 \u518d\u9032\u53bb\u770b\u4e00\u4e0b\u7a0b\u5f0f\u767c\u73fe\u5176\u5be6\u9084\u883b\u55ae\u7d14\u7684\uff0c\u56e0\u70ba\u524d\u9762\u52a0\u4e86 &#8220;amp;&#8221;\uff0c\u6240\u4ee5\u672c\u4f86\u53eb &#8220;top&#8221; \u7684\u8b8a\u6578\u6703\u88ab\u89e3\u8b80\u6210 &#8220;amp;top&#8221; \u4e86\uff0c\u800c\u8655\u7406\u5716\u5f62\u7684\u7a0b\u5f0f\u8981\u627e\u7684\u662f &#8220;top&#8221; \u800c\u4e0d\u662f &#8220;amp;top&#8221;\uff0c\u90a3\u7576\u7136\u6703\u51fa\u554f\u984c\u4e86\u3002 \u6240\u4ee5\u63a5\u4e0b\u4f86\u5c31\u662f\u8981\u4fee\u6539\u8b93\u8655\u7406\u5716\u5f62\u7684\u7a0b\u5f0f\u77e5\u9053\u8981\u53bb\u627e &#8220;amp;top&#8221;\uff0c\u8a66\u4e86\u4e00\u4e0b\u767c\u73fe\u9019\u500b\u4e5f\u883b\u7c21\u55ae\u7684\uff0c\u53ea\u8981\u5728 images-base\/image-data.php \u7684 sanitize_color() \u51fd\u6578\u7684\u958b\u982d\u52a0\u4e0a\u9019\u6bb5\u7a0b\u5f0f\uff0c\u5c31\u4e00\u5207\u6b63\u5e38\u4e86<\/p>\n<pre lang=\"none\">$get = \"amp;\" . $get;<\/pre>\n<p>\u554a\u5176\u5be6\u4e0d\u6539\u7684\u8a71\u5728\u4e00\u822c\u7684\u700f\u89bd\u5668\u4e0a\u986f\u793a\u4e5f\u662f\u5b8c\u5168\u6b63\u5e38\uff0c\u6240\u4ee5\u4e0d\u6539\u5176\u5be6\u4e5f\u6c92\u5565\u554f\u984c\u5c31\u662f\u4e86\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Drupal \u5f9e 5.0 \u958b\u59cb\u7684\u9810\u8a2d\u7248\u578b\u662f garland\uff0c\u7576\u521d\u5728 Drupal 5.0 \u63a8\u51fa\u524d wordpress \u5c31\u5077\u8dd1\u9084\u5f15\u767c\u4e86\u4e00\u4e9b\u98a8\u6ce2\uff0c\u4e0d\u904e\u5728 Drupal 5.0 \u6b63\u5f0f\u63a8\u51fa\u4e4b\u5f8c\uff0c\u5927\u5bb6\u5c31\u53ef\u4ee5\u5927\u65b9\u7528\u4e86\u3002 \u9019\u908a\u53ef\u4ee5\u4e0b\u8f09\u3002 \u4e4b\u524d\u5728\u66f4\u65b0\u5b8c wordpress \u4e4b\u5f8c\uff0c\u60f3\u9806\u4fbf\u6574\u7406\u4e00\u4e0b theme\uff0c\u9592\u9592\u6c92\u4e8b\u8dd1\u53bb\u6e2c\u4e00\u4e0b\uff0c\u7d50\u679c\u767c\u73fe\u904e\u4e0d\u4e86 XHTMl 1.0 Strict\uff0c\u5927\u81f4\u4e0a\u770b\u4e00\u4e0b\u767c\u73fe\u4e3b\u8981\u7684\u932f\u8aa4\u8a0a\u606f\u662f\u9019\u6a23\u5b50\u7684\uff1a Entity references start with an ampersand (&amp;) and end with a semicolon (;). If you [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[197],"tags":[],"class_list":["post-33","post","type-post","status-publish","format-standard","hentry","category-318blog"],"_links":{"self":[{"href":"https:\/\/blog.pighead.cc\/pighead\/wp-json\/wp\/v2\/posts\/33","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.pighead.cc\/pighead\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.pighead.cc\/pighead\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.pighead.cc\/pighead\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.pighead.cc\/pighead\/wp-json\/wp\/v2\/comments?post=33"}],"version-history":[{"count":3,"href":"https:\/\/blog.pighead.cc\/pighead\/wp-json\/wp\/v2\/posts\/33\/revisions"}],"predecessor-version":[{"id":35,"href":"https:\/\/blog.pighead.cc\/pighead\/wp-json\/wp\/v2\/posts\/33\/revisions\/35"}],"wp:attachment":[{"href":"https:\/\/blog.pighead.cc\/pighead\/wp-json\/wp\/v2\/media?parent=33"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.pighead.cc\/pighead\/wp-json\/wp\/v2\/categories?post=33"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.pighead.cc\/pighead\/wp-json\/wp\/v2\/tags?post=33"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}