If you have troubles since the update to WordPress 4.5 please read this post before opening a new thread.
My ultimate goal (for this thread) is to be able to display a page that contains blog posts of a specific category, and display that page without a header, footer/socket, or sidebar. I’d like a php solution because there are some other conditions I want to control about when the page gets displayed this way.
So far, I have a page that has the header and footer removed (for that page only, using conditional tags as suggested here: http://www.kriesi.at/support/topic/ (Purchase code hidden if logged out) – (Purchase code hidden if logged out) -page). So I’m 2/3 of the way to the goal.
But the sidebar is proving more tricky. My page is using a TemplateBuilder dynamic template that has a setting of “no sidebar” and it’s only element is a “blog” specifying a category to be displayed. It is here: http://parasolb.com/gallerytest .
In addition to trying to remove the sidebar using the template (where the sidebar shows even though I selected “no sidebar”–I figure the Default Blog Layout in Layout & Settings (with only choices of left or right) is overriding my dynamic template? Just a guess.) I looked for a similar method as I used for the header and footer, using conditional tags in php, but I’m not sure where the correct php file would be to do that for this scenario, since get_sidebar is called from a number of different places.
I would appreciate your help very much. Thanks!
You might want to try this plugin http://wordpress.org/extend/plugins/custom-sidebars/.
I had the same problem, so I opened up register-admin-options.php and found the Default Blog Layout option at about line 706. The no sidebar option is commented out, so I uncommented it, and that did the trick for me. I have not discovered any problems yet, but you may want to test it thoroughly before implementing on a live site.
The topic ‘Remove blog sidebar in Eunoia in certain cases’ is closed to new replies.