Support » Plugin: LifterLMS » Move ‘Back to course’ button i LifterLMS

  • Resolved PedroDK


    I am trying to find out how I can move the ‘Back to course’ button from the top of the single lesson page to the bottom.
    It’s the button with the CSS class ‘llms-parent-course-link’.
    Can I do this without going into the temlate php-files and find the it’s place and move it by reordering the structure of that file?
    I would like that!

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi
    You can use built in hook like shown below.

    So first:

    remove_action( 'lifterlms_single_lesson_before_summary', 'lifterlms_template_single_parent_course', 10 );

    and then for example:

    add_action( 'lifterlms_single_lesson_after_summary', 'lifterlms_template_single_parent_course', 21 );

    Put those two lines in Your theme’s functions.php file. Link will be placed under Prev/Next lesson buttons.

    Plugin Author Thomas Patrick Levy



    What @jurasjo has suggested should work perfectly.

    If you have any further questions please let us know.

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.