[Resolved] layouts sidebar is displaying above enfold theme sidebar
This thread is resolved. Here is a description of the problem and solution.
Problem:
The issue that here is that the user was using the Enfold theme but created a custom layout for his CPT. He added a custom Sidebar using Layouts but when previewing on the frontend the default theme's sidebar is overlaid her as well.
Solution:
The solution to this would be to disable the sidebar by going to your enfold theme options.
This support ticket is created 6 years, 8 months ago. There's a good chance that you are reading advice that it now obsolete.
This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.
Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.
I am trying to:
display layouts sidebar on custom post type. but theme sidebar is also visible. layouts sidebar is above theme sidebar. I want to remove theme sidebar from one post type only. If I remove this sidebar from theme options, my sidebars are removed from entire posts inbuilt post type. I am using enfold child theme and I have copied single.php and made it single-lawyer.php. I want everything to be done by toolset - not by enfold.
Link to a page where the issue can be seen: hidden link
I expected to see: single sidebar
I know how to remove sidebar from theme-options. But I want to remove sidebar without using theme options so that sidebar remains with blog posts which is inbuilt WP post type. I have opened a thread with theme developer also. See this - hidden link
While they might suggest some theme related solution, can you suggest a toolset solution?
I have done a temporary fix - unless you suggest that it is the best option with toolset. I copied sidebar.php and made another sidebar. Then i changed code in single-lawyer.php to get that sidebar
The single-lawyer.php file was created by you correct?
If so and you've removed the sidebar code, then this was what I was about to suggest as its the only way I can think of to remove the sidebar without affecting the other posts.