- This topic has 8 replies, 2 voices, and was last updated 2 years, 11 months ago by
Leo.
-
AuthorPosts
-
February 22, 2020 at 3:04 am #1173386
Ramon
Hi guys,
First of all I wanna say: Nice template guys, congrats!
I’m facing a couple of problems but mostly all related to the same problem, the wpforo setting up with generatepress.
1. I can’t turn off the sidebar on WPForo pages. The plugin create dynamic pages and I can not turn off the sidebar with generatepress option. I tried to use a filter as mentioned on: https://docs.generatepress.com/article/sidebar-layout/
But didn’t work.I only want to disable generatepress sidebar and use the WPForo sidebar. Same as this example:
https://wpforo.com/community/faq/2. Also for those WPForo pages I would like to disable the second menu and the breadcrumbs. I attach you a screenshot to help you understand it.
Thanks in advance!
RamonFebruary 22, 2020 at 9:40 am #1173756Leo
StaffCustomer SupportHi there,
Can you please do this first?
https://www.screencast.com/t/cR07inBO7iy1. Is the linked page the page in question? If so looks like it’s just a static page so you can either use the disable element metabox:
https://docs.generatepress.com/article/disable-elements-overview/Or Layout Element for multiple pages:
https://docs.generatepress.com/article/layout-element-overview/2. You should be able to disable the secondary navigation using the same 2 methods mentioned above.
As for breadcrumbs, how are you adding it?
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/February 22, 2020 at 6:57 pm #1173998Ramon
Hi Leo,
As I already mentioned before, I can’t disable the sidebar on those pages with the methods you mentioned.
1. I can’t turn off the sidebar on WPForo pages. The plugin create dynamic pages and I can not turn off the sidebar with generatepress option. The page is not the linked one. WPForo generates another page.
2. Layout Elements doesn’t let me disable the sidebar on WPForo pages, I already checked.
The breadcrumps are added by Layout elements inserting a php code. I’m using Yoast SEO Breadcrumbs.
February 22, 2020 at 8:11 pm #1174020Leo
StaffCustomer SupportHmm that case you would need to check with WPForo’s support to see if there is a if statement we can use for this filter on those pages:
https://docs.generatepress.com/article/sidebar-layout/#using-a-functionThen we can use the same if statement for breadcrumbs:
https://docs.generatepress.com/article/generate_layout_element_display/Let me know what they say 🙂
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/February 22, 2020 at 9:13 pm #1174053Leo
StaffCustomer SupportBy if statement, I meant conditional tag like these:
https://codex.wordpress.org/Conditional_TagsWe would need something for WPForo.
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/February 22, 2020 at 10:15 pm #1174072Ramon
Alright, I’ll contact them and get back to you with the answer.
Thanks Leo.
February 23, 2020 at 12:55 pm #1174638Leo
StaffCustomer SupportNo problem 🙂
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/February 24, 2020 at 9:29 pm #1175887Ramon
Hi Leo, here’s the solution:
1. To delete the sidebar: WPForo creates a page called forum. All the changes made on that page will be applied to the WPForo pages. I deleted the sidebars on that page and started using the new WPforo sidebar created by the plugin (inside widgets page).
2. To delete breadcrumbs on WPForo pages: I used the following css:
.page-id-1778 #breadcrumbs {display:none;}Thanks Leo for your help.
February 25, 2020 at 8:58 am #1176516Leo
StaffCustomer SupportThanks for reporting back!
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/ -
AuthorPosts
- You must be logged in to reply to this topic.