February 4, 2020 at 6:31 am #1181165
I found this previous post about this: https://kriesi.at/support/topic/remove-sidebar-from-post-for-use-enfold-with-wp-courseware/#post-1181101
But I would like to bring it up again, as I would like to format the site without a sidebar. Here is what I wrote on that thread, but was asked to move it to a new post.
I know this post is really old, but it looked liked it was still open. I found a code snippet on the WP Courseware support site about adding sidebar support for the Genesis theme. I imagine we could do the same for Enfold support. Here is a screenshot of the support page with the code snippet: https://www.screencast.com/t/OMJdDT1k
Here is a screenshot of a Unit in WP Courseware that shows the options on the right. There is no Sidebar support like with normal pages or posts. https://www.screencast.com/t/QeoFNBQdM
-FredFebruary 6, 2020 at 12:03 am #1181930
This is a great idea, we will do forward it to our developers so they can discuss this out.
BasilisOctober 19, 2022 at 1:01 pm #1369383
is there any outcome on this? I’m very much interested in a solution for WP Courseware, too.
It relates to my current topic which is in addition looking for “author” checkbox support through screen options for WP Coursware units: https://kriesi.at/support/topic/wp-courseware-screen-option-author-layout-for-modules-and-units/
This is exactly what I asked for in the section on “layout” in the above topic.
MichaelOctober 20, 2022 at 4:45 am #1369533
Are you trying to remove the sidebar from the course unit pages? You may need to create a copy of the single-course_unit.php file or template in your child theme and remove the get_sidebar() function.
In the previous post, we provided a filter which will enable the Layout metaboxes but please note that the settings there will only work if the post type is using the appropriate template or code. To do that, you may need to copy the content of the single.php file from the Enfold theme, move it to the single-course_unit.php file and make the necessary changes to make it compatible with the plugin. Unfortunately, we do not provide support for third party plugins as stated on our support policy. You may need to ask for additional assistance from the plugins authors.
Please continue on the previous thread.
IsmaelOctober 20, 2022 at 9:47 am #1369548
layout box support for WP Courseware units has been solved through your answer and functions.php code suggestion in the other thread:
Thank you very much
MichaelOctober 20, 2022 at 6:44 pm #1369650
- The topic ‘Remove sidebar from post for use Enfold with WP Courseware’ is closed to new replies.