Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
+1 vote
118 views
in Themes by

I have a made a custom panel for my website in my theme which I dont want to show on the admin and user pages. How do I hide it because

 

function sidepanel() // removes sidebar for user profile pages
        {
            if ($this->template!='user')
                qa_html_theme_base::sidepanel();

does not work here if I put it to be

function mypanel() // removes sidebar for user profile pages
        {
            if ($this->template!='user')
                qa_html_theme_base::mypanel();

Q2A version: 1.6.3

Please log in or register to answer this question.

...