Archived topic
Remove Sidebar on One Post
17 replies · Started by Tom on September 18, 2020
I would like to remove the sidebar on a few of my posts. I have seen references to the layout metabox, but I cannot figure out where that is or how to activate it. I have version 2.4.2 of the theme and 1.11.3 of the GP Premium plugin installed.
Thanks
Hi Tom,
You can set your Layout Element's Display Rule to specific posts.
Here's a demo video of a Layout Element w/ no Sidebar that will only apply on "Hello world" post.
https://share.getcloudapp.com/WnuJolRd
Alternatively, you can edit the specific post's Layout > Sidebar.
https://share.getcloudapp.com/E0unx4WY
Let us know if it works for you.
Thanks, I accomplished it by using the first suggestion.
I don't have the layout section in the edit post page. How is that added?
Nice one,
Perhaps the layout metabox is unchecked on your editor options.
You can enable it here.
https://share.getcloudapp.com/nOukGDLr
I did have that option checked but it still doesn't show the layout section in the document settings. Does that maybe need to be enabled somewhere in the GP plugin? I went through the documentation and the only thing I could find was the disable sections module, but enabling that didn't change anything. I guess it could be a plugin conflict maybe.
Thanks
In that case it could be plugin conflict for sure.
Can you deactivate all plugins except GP Premium to test?
I did deactivate all the plugins and the layout section is still not showing. Is there a section of the GP plugin that needs to be enabled? I am using a child theme, could that be an issue?
Is there a section of the GP plugin that needs to be enabled?
No there isn't.
I am using a child theme, could that be an issue?
Don't think so but it might be worth to activate the parent theme to test.
The child theme was not an issue.
The display rule works, so unless you have another idea, we can close this issue.
Thanks
Hmm I wouldn't mind looking into this a bit more as it's strange.
Any chance you can provide the dashboard login info so I can take a look?
Please disable all plugins if you can.
Thanks :)
What email should I use for the access?
You can use the Private Information box below the reply box :)
Here is the info
Looks like it's working for me:
https://www.screencast.com/t/Y98j27XpZBkW
Are you seeing something different?
It still doesn't work for my usual account, but it works for the new account I created. Maybe my account has issues. It is an admin account. Any thoughts?