{"id":1345,"date":"2012-06-05T07:12:14","date_gmt":"2012-06-05T14:12:14","guid":{"rendered":"http:\/\/www.wellgolly.com\/?p=1345"},"modified":"2012-06-05T14:11:51","modified_gmt":"2012-06-05T21:11:51","slug":"wordpress-twenty-eleven-theme","status":"publish","type":"post","link":"https:\/\/www.wellgolly.com\/?p=1345","title":{"rendered":"WordPress Twenty Eleven Theme"},"content":{"rendered":"<p>The Twenty Eleven Theme is a simple theme that works well for one of the sites I manage. Unfortunately, it is broken on iPads. The navigation on the right-hand side is all the way on the bottom. There is an easy fix.<\/p>\n<p>Open the file \/wp=content\/themes\/twentyeleven\/header.php<\/p>\n<p>A few lines down, the header block starts. Comment out (or delete) the line <code class=\"preserve-code-formatting\">&lt;meta name=&quot;viewport&quot; content=&quot;width=device-width&quot; \/&gt;<\/code>  and you are good to go. The code snippet below shows how I did it. <\/p>\n<p><pre><code class=\"preserve-code-formatting\">\n&lt;head&gt;\n&lt;meta charset=&quot;&lt;?php bloginfo( &#039;charset&#039; ); ?&gt;&quot; \/&gt;\n&lt;!-- Comment out this line to have it work the same on iPads\n&lt;meta name=&quot;viewport&quot; content=&quot;width=device-width&quot; \/&gt;--&gt;\n<\/code><\/pre><\/p>\n<p>Note: In HTML a comment starts with <code class=\"preserve-code-formatting\">&lt;!--<\/code>  and ends with <code class=\"preserve-code-formatting\"> --&gt;<\/code>  so I&#8217;ve basically added a text comment and continued it to the next line that contains the offending code.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The Twenty Eleven Theme is a simple theme that works well for one of the sites I manage. Unfortunately, it is broken on iPads. The navigation on the right-hand side is all the way on the bottom. There is an easy fix. Open the file \/wp=content\/themes\/twentyeleven\/header.php A few lines down, the header block starts. Comment &hellip; <a href=\"https:\/\/www.wellgolly.com\/?p=1345\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">WordPress Twenty Eleven Theme<\/span><\/a><\/p>\n","protected":false},"author":6,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8],"tags":[],"class_list":["post-1345","post","type-post","status-publish","format-standard","hentry","category-coding"],"_links":{"self":[{"href":"https:\/\/www.wellgolly.com\/index.php?rest_route=\/wp\/v2\/posts\/1345","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wellgolly.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wellgolly.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wellgolly.com\/index.php?rest_route=\/wp\/v2\/users\/6"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wellgolly.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1345"}],"version-history":[{"count":0,"href":"https:\/\/www.wellgolly.com\/index.php?rest_route=\/wp\/v2\/posts\/1345\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.wellgolly.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1345"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wellgolly.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1345"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wellgolly.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1345"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}