-
AuthorPosts
-
November 29, 2018 at 2:00 pm #1038955
Hi there,
I want to use LifterLMS in my Enfold Theme. I have installed the plugin and as per the documentation of LifterLMS, I have added appropriate code to the theme functions.php. Please see below URL for the documentation.I can see there are multiple sidebar registered in the theme. I tried them one by one, but none seems to be working.
I wanted to show the sidebar on my Course or Lesson pages.
Can you please guide me step by steps how can I get the sidebar on my Course or Lesson pages.
I would like to add that when I installed the LifterLMS plugin on my localhost using a default WordPress theme, it is showing properly.
An early reply will be highly appreciated
Thanks!December 1, 2018 at 10:50 am #1039613Hey springmediastrategies,
Where can we see the results you are getting on a live site?
Best regards,
RikardDecember 1, 2018 at 12:14 pm #1039628Using the LifterlLMS, I have created a couple of courses. Each course has lesson. I want to show the sidebar on the course pages.
The LifterLMS has also registered two sidebars to show on Course and Lesson pages. If you have seen the video or the code on the URL that I mentioned above, I wanted to know what is id of the sidebar that I should use in code below:
function my_llms_sidebar_function( $id ) {
$my_sidebar_id = ‘my-sidebar-id’; // replace this with your theme’s sidebar ID
return $my_sidebar_id;
}
Please let me know if you need any other detail.
ThanksDecember 4, 2018 at 4:00 pm #1040751Hi springmediastrategies,
Did you follow this tutorial?
Best regards,
VictoriaDecember 4, 2018 at 4:40 pm #1040778Yes, I followed and added the code to my functions.php.
- This reply was modified 5 years, 11 months ago by springmediastrategies.
December 10, 2018 at 1:47 pm #1043071Hi,
What is the name of the sidebar where you’re applying it to? You can find the name of the sidebars registered by the theme in the includes > admin > register-widget-area.php file.
Best regards,
IsmaelDecember 13, 2018 at 11:36 am #1044808Thanks everyone for the help. I managed to show the sidebars on the required pages.
Thanks for your support.December 14, 2018 at 7:16 am #1045162 -
AuthorPosts
- You must be logged in to reply to this topic.