{"id":95,"date":"2012-01-02T06:36:54","date_gmt":"2012-01-02T06:36:54","guid":{"rendered":"http:\/\/katrina-morris.com\/blog\/?p=95"},"modified":"2012-01-02T06:46:10","modified_gmt":"2012-01-02T06:46:10","slug":"why-no-sidebar-on-wordpress-single-posts-in-twentyeleven","status":"publish","type":"post","link":"https:\/\/katrina-morris.com\/home\/why-no-sidebar-on-wordpress-single-posts-in-twentyeleven\/","title":{"rendered":"Why no sidebar on wordpress single posts in twentyeleven?"},"content":{"rendered":"<p>I&#8217;m using the default wordpress theme, twentyeleven, which I think is great. It&#8217;s clean and efficient and I&#8217;m very happy. I have a child theme just to add my own header and some styling, but otherwise it&#8217;s pretty stock. However, I just realized today that my single posts don&#8217;t have a sidebar! There is apparently a very good reason for this, explained in this article:<\/p>\n<p><a title=\"wptips article on new themes\" href=\"http:\/\/wpbtips.wordpress.com\/2011\/05\/04\/workings-of-duster\/\">The workings of Twenty Eleven \/\u00a0Duster<\/a><\/p>\n<p>The main point is that there is this cool new feature called Showcase, with which you can change the front page of your blog to a mixture of static and dynamic content with featured posts, rather than just the most recent posts. BUT I am not currently using the Showcase feature and it&#8217;s important to me that my readers have quick access to the rest of my blog when entering through a single post. SO, I did some digging and here&#8217;s what I found:<\/p>\n<p><a title=\"Add sidebar widget to single posts in wordpress twentyeleven\" href=\"http:\/\/futurewebblog.com\/add-sidebar-support-posts-twenty-eleven-theme\/\">Chris Aprea over at Future Web<\/a> came up with a great little solution. Just remove the single post filter in your child theme&#8217;s functions file. Then add a call to the sidebar in your single.php file and voila! Welcome back sidebar! Full instructions <a title=\"Add sidebar widget to single posts in wordpress twentyeleven\" href=\"http:\/\/futurewebblog.com\/add-sidebar-support-posts-twenty-eleven-theme\/\">here<\/a>.<\/p>\n<p>Chris commented out the previous\/next buttons, but I just moved them to the bottom before the comments. Then I reformatted them in my child styles.css file:<\/p>\n<p><a href=\"https:\/\/katrina-morris.com\/blog\/wp-content\/uploads\/2012\/01\/nav-single-css.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-99\" title=\"nav-single-css\" src=\"https:\/\/katrina-morris.com\/blog\/wp-content\/uploads\/2012\/01\/nav-single-css.png\" alt=\"nav-single css\" width=\"600\" height=\"231\" srcset=\"https:\/\/katrina-morris.com\/wp-content\/uploads\/2012\/01\/nav-single-css.png 600w, https:\/\/katrina-morris.com\/wp-content\/uploads\/2012\/01\/nav-single-css-300x115.png 300w, https:\/\/katrina-morris.com\/wp-content\/uploads\/2012\/01\/nav-single-css-500x192.png 500w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/a><\/p>\n<p>So that&#8217;s it! Pretty simple really. I&#8217;ll let you know if and when I decide that I MUST use Showcase. Will it be worth giving up the sidebar? I&#8217;m just not sure.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I&#8217;m using the default wordpress theme, twentyeleven, which I think is great. It&#8217;s clean and efficient and I&#8217;m very happy. I have a child theme just to add my own&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[33],"tags":[35,34],"class_list":{"0":"post-95","1":"post","2":"type-post","3":"status-publish","4":"format-standard","6":"category-wordpress-tinkering","7":"tag-sidebar","8":"tag-wordpress-themes"},"_links":{"self":[{"href":"https:\/\/katrina-morris.com\/home\/wp-json\/wp\/v2\/posts\/95","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/katrina-morris.com\/home\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/katrina-morris.com\/home\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/katrina-morris.com\/home\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/katrina-morris.com\/home\/wp-json\/wp\/v2\/comments?post=95"}],"version-history":[{"count":4,"href":"https:\/\/katrina-morris.com\/home\/wp-json\/wp\/v2\/posts\/95\/revisions"}],"predecessor-version":[{"id":98,"href":"https:\/\/katrina-morris.com\/home\/wp-json\/wp\/v2\/posts\/95\/revisions\/98"}],"wp:attachment":[{"href":"https:\/\/katrina-morris.com\/home\/wp-json\/wp\/v2\/media?parent=95"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/katrina-morris.com\/home\/wp-json\/wp\/v2\/categories?post=95"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/katrina-morris.com\/home\/wp-json\/wp\/v2\/tags?post=95"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}