Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
0 votes
987 views
in Plugins by
is there a way to remove the Q2A sidebar? It would be particularly useful if it was easily customizable through a plugin to allow for larger body designs.

Alternatively, can the content in the RHS sidebar be customized? to remove or add content / HTML?
Q2A version: 1.5.2

1 Answer

+1 vote
by

add this to qa-theme.php inside the class:

 

        function body_content()
        {
            $this->body_prefix();
            $this->notices();

        
            $this->output('<DIV CLASS="qa-body-wrapper">', '');

            $this->widgets('full', 'top');
            $this->header();
            
            $this->widgets('full', 'high');
             //$this->sidepanel();
            $this->main();
            $this->widgets('full', 'low');
            $this->footer();
            $this->widgets('full', 'bottom');        
            $this->output('</DIV> <!-- END body-wrapper -->');


            
            $this->body_suffix();
        }


having // before the function wont let it be executed.

by
Thanks, I'm surprised it's not a configuration option in admin that I missed.

Having the "example_page" plugin default built into source code has really helped me understand what the hell is going on.
by
can you tell me how to remove the sidebar from specific pages like tags,users, login etc ?
...