Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
+6 votes
2.0k views
in Plugins by
edited by

Download Hide Sidebar V1.2 Now

Change Log 1.2

  • Fixed conditional bug (thanks to sama55)
  • Removed checkbox for Custom
  • Hide sidebar on defined custom pages (new)

 

Download From Store

Download From GitHub

by
n how to hide sidebar on profile user ?

1 Answer

0 votes
by
edited by
Is the plugin compatible with  "Coustom content in home page instead of Q&A" function? 
 
The admin panel - the Layout tab
 
I have enabled the option - coustom content in home page instead of Q & A
 
 
 
In the previous version (1.1) This page (coustom content in home page instead of the Q & A) acted like other custom pages. Sidebar was enabled by default. It could be off together, and the other sub-pages created by the user.
 
In the current version (1.2) page (coustom content in home page instead of the Q & A) works differently. On this page (coustom content in home page instead of the Q & A) there are currently no sidebar. Although the sidebar is enabled by default for all pages Q2a.
 
"Coustom content in home page instead of Q&A"
default
sidebar is hidden and I can not turn it on.
by
custom_home_content if you mean by creating a custom page from Admin > Add Page

Than Yes this plugin works for that too. You just need to add URL Slug to the Custom Pages URL Slug field. If you don't know the url slug of your you can check in the URL

Browse your custom page and you will find your url something http://localhost/qa-site/index.php?qa=my-custom

So here my-custom is the page slug which usually made of your Page Name while creating. So place my-custom in Custom Pages URL Slug field and save. Now it should hide the sidebar for My Custom page.

BTW I will make a video tutorial later today.
by
I see, I think you are talking about Custom Home Content? Sorry I didn't understand that time...

If you are talking about that then yes it's hiding sidebar by default. Need fix.. will do and update the plugin.. Thanks..
by
I meant (coustom content in home page instead of the Q & A). I fixed description in my answer.
by
Okay fixed this issue and update by end of the day
by
Okay so I have added a feature for Custom Home Page Content. Download upgrade version from q2a market store or github
by
This is it !!!
by
Ah! .. Wait there is still one issue.. It's just crazy when one works another stack..
by
What problem ?
by
When you hide for Custom Home Content, It might hide for other pages as well. Can you please cross check once?
by
indeed ...
qa_main window - shall adopt size: width: 100%! important - the full width
and falls down below the sidepanel
by
Enable Custom Home Content activates to all sides setting in CSS (width: 100%! Important) for all windows <div class="qa_main">

It should only affect - Custom Home Content
by
Yes that is what I am trying to solve now. However everything is working fine.. may be will fix in couple of hours or so
by
Okay I fixed the issue at last. Please download upgrade version from store..
by
Unfortunately the latest version does not work hide sidebar in Custom Home Content
by
Ah! sorry for that.. I am some project and will try to fix once it done.
by
I have modified the conditional statements and also option keys with more specific prefix with q2am_ to avoid conflict with other keys. Please check once again with the new upgrade copy from a store or github.

I really appreciate your help to debug this plugin. Since it is a bit difficult to handle home custom content page and custom page. But I think now it's resolved.

Please check and confirm.
by
The main problem ended. Hide Sidebar works properly with Custom Home Content.

With interesting ... This feature does not work for pages positioned per party to USER, like: user / wall, user / actiwity, user / questions, user / answers, so for all USER / 'user_name' / *, but this is not a tragedy.

As if you need a tester other plug-ins ... :)
by
So the question from my side is does this plugin works perfectly for Custom home content and other pages? What you are saying may be for feature version. Currently was working on Custom home page
by
Last version Hide Sidebar 1.2 works properly.
by
Okay cool.... thanks for the confirmation and help to debug.
...