Viewing 4 replies - 1 through 4 (of 4 total)
  • Hey @david Dumonde,

    We don’t have a way to display videos on the course tiles on the course archives but you could edit the template to include a video with some custom development.

    These are just examples, you’ll need to write the real code yourself, but this should get you moving in the right direction:

    You’ll want to first remove the action that outputs the featured image:

    remove_action( 'lifterlms_before_shop_loop_item_title', 'lifterlms_template_loop_course_thumbnail', 10 );

    Then create a new action to replace it:

    add_action( 'lifterlms_before_shop_loop_item_title', function() {
    echo '<iframe src="https://whatever.com"></iframe>';
    }, 10 );

    Hope that helps!

    Thread Starter David Dumonde

    (@everlearners)

    That’s excellent, Thomas! I think I can work with that! Thanks!

    @david Dumonde,

    Good to hear.

    After you’ve had time to take a look at the solution please don’t forget to mark this as resolved.

    Take care,

    @david Dumonde,

    As we haven’t had any activity in a week I’m going to mark this as resolved.

    If you need anything further just post a reply and I’ll re-open.

    Take care!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Replace featured image with video’ is closed to new replies.