Sidebar on Coursepress pages

I am using Custom Sidebars pro but can't add a sidebar (Right Sidebar) in some of the CoursePress pages like:

https://advsp*****.wpengine.com/courses/
https://advsp*****.wpengine.com/courses/non-scholae-sed-vitae-discimus/units/praesent-venenatis-consectetur-habitasse-a-nisi-hac-hendrerit/page/1#module-3895
And this one that in not related to CoursePress but:

https://advsp*****.wpengine.comwiki/

Also, in this page, one of the widgets is not working (the navigation menu):

  • Kasia Swiderska

    Hello Michael,

    CoursePress uses virtual pages as you already know, so you can't enable or disable sidebars as you can't edit them. The CoursePress virtual pages use the same page.php template the other pages in your site use. So to display sidebar on courses pages you need to use sidebar "Right". I checked and it displays widgets there correctly.

    There are two options - use this main right sidebar for the courses and its modules and set different sidebar (with Custom Sidebars) for other pages using the same Right sidebar.
    Or create new template in you child theme archive-course.php file which will contain the code for the new separate sidebar to show up.
    Functions for adding new sidebar:
    https://codex.wordpress.org/Function_Reference/register_sidebars
    https://developer.wordpress.org/reference/functions/get_sidebar/

    And this one that in not related to CoursePress but:

    https://advsp*****.wpengine.comwiki/

    Also, in this page, one of the widgets is not working (the navigation menu):

    From what I see that particular widget is set to "Show on checked pages" but no pages are checked and also had "Show on ticked". I changed that and now widget displays on page:

    kind regards,
    Kasia

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.