{"id":541,"date":"2019-06-21T13:39:39","date_gmt":"2019-06-21T05:39:39","guid":{"rendered":"https:\/\/www.liningyao.com\/?p=541"},"modified":"2019-06-21T19:14:56","modified_gmt":"2019-06-21T11:14:56","slug":"%e5%a6%82%e4%bd%95%e5%9c%a8wordpress-rt-theme-19-%e4%b8%bb%e9%a2%98%e5%ba%95%e9%83%a8%e5%a2%9e%e5%8a%a0%e7%bd%91%e7%ab%99%e7%bb%9f%e8%ae%a1%e5%9b%be%e6%a0%87","status":"publish","type":"post","link":"https:\/\/www.liningyao.com\/?p=541","title":{"rendered":"\u5982\u4f55\u5728WordPress RT-Theme 19 \u4e3b\u9898\u5e95\u90e8\u589e\u52a0\u7f51\u7ad9\u7edf\u8ba1\u56fe\u6807"},"content":{"rendered":"<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-547\" src=\"https:\/\/www.liningyao.com\/wp-content\/uploads\/2019\/06\/Wordpress-RT-Theme-19-1024x563.png\" alt=\"\" width=\"1024\" height=\"563\" srcset=\"https:\/\/www.liningyao.com\/wp-content\/uploads\/2019\/06\/Wordpress-RT-Theme-19-1024x563.png 1024w, https:\/\/www.liningyao.com\/wp-content\/uploads\/2019\/06\/Wordpress-RT-Theme-19-300x165.png 300w, https:\/\/www.liningyao.com\/wp-content\/uploads\/2019\/06\/Wordpress-RT-Theme-19-768x422.png 768w, https:\/\/www.liningyao.com\/wp-content\/uploads\/2019\/06\/Wordpress-RT-Theme-19.png 1049w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/p>\n<p>\u4e00\u822c\u7684\u7f51\u7ad9\u7edf\u8ba1\u5728\u5e95\u90e8\u90fd\u4f1a\u6709\u4e00\u4e2a\u56fe\u6807\u3002<\/p>\n<p>WordPress RT-Theme 18 \u53ef\u4ee5\u5728\u5e95\u90e8\u7684COPYRIGHT\u8fd9\u91cc\u6dfb\u52a0HTML\u4ee3\u7801\uff0c\u4f46\u662fWordpress RT-Theme 19\u53d6\u6d88\u4e86\u8fd9\u4e2a\u529f\u80fd\u3002<\/p>\n<p>\u82e5\u9700\u8981\u589e\u52a0\u8fd9\u4e2a\u529f\u80fd\u9700\u8981\u4fee\u6539functions.php\uff0c\u5728\u7248\u6743\u6587\u5b57\u540e\u9762\u6dfb\u52a0\u4ee3\u7801\u5982\u4e0b\uff1a<\/p>\n<p><span style=\"text-decoration: underline;\">You can put the following function to the end of your functions.php to add anything just after the copyright text;<\/span><\/p>\n<pre><code>&lt;\/p&gt;\n&lt;p&gt;add_filter( &quot;footer_copyright_text&quot;, function( $copyright ){&lt;br \/&gt;\nob_start();&lt;br \/&gt;\n?&gt;&lt;\/p&gt;\n&lt;p&gt;---------------- PUT YOUR CODE HERE \u8fd9\u91cc\u6dfb\u52a0\u4f60\u90fd\u8981\u7684\u4ee3\u7801--------------------&lt;\/p&gt;\n&lt;p&gt;&lt;?php&lt;br \/&gt;\n$custom_code = ob_get_contents();&lt;br \/&gt;\nob_end_clean();&lt;br \/&gt;\nreturn $copyright.$custom_code;&lt;br \/&gt;\n}, 10, 1 );&lt;\/p&gt;\n&lt;p&gt;<\/code><\/pre>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u4e00\u822c\u7684\u7f51\u7ad9\u7edf\u8ba1\u5728\u5e95\u90e8\u90fd\u4f1a\u6709\u4e00\u4e2a\u56fe\u6807\u3002 WordPress RT-Theme 18 \u53ef\u4ee5\u5728\u5e95\u90e8\u7684COPYRIGH [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[19],"class_list":["post-541","post","type-post","status-publish","format-standard","hentry","category-website-and-seo","tag-wordpress"],"_links":{"self":[{"href":"https:\/\/www.liningyao.com\/index.php?rest_route=\/wp\/v2\/posts\/541","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.liningyao.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.liningyao.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.liningyao.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.liningyao.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=541"}],"version-history":[{"count":8,"href":"https:\/\/www.liningyao.com\/index.php?rest_route=\/wp\/v2\/posts\/541\/revisions"}],"predecessor-version":[{"id":551,"href":"https:\/\/www.liningyao.com\/index.php?rest_route=\/wp\/v2\/posts\/541\/revisions\/551"}],"wp:attachment":[{"href":"https:\/\/www.liningyao.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=541"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.liningyao.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=541"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.liningyao.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=541"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}