• Resolved PedroDK

    (@pedrodk)


    Hi,
    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!
    Thanks.
    P.

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • jurasjo

    (@jurasjo)

    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.

    @pedrodk

    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)
  • The topic ‘Move ‘Back to course’ button i LifterLMS’ is closed to new replies.