• Resolved PedroDK

    (@pedrodk)


    Hi LifterLMS,
    Is there a way to show a short description (maybe the course excerpt) below each Course thumbnail on the Courses page where a thumbnail grid of all courses are shown using this shortcode: [lifterlms_courses]

    See also this page for clarification:

    https://academy.lifterlms.com/all-courses/

    Thank you!

    cheers

    P.

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

Viewing 6 replies - 1 through 6 (of 6 total)
  • Hi @pedrodk,

    There is no way to add and except to the course loops. The only information that will show there is course difficulty, length, and categories.

    I apologize for the inconvenience!

    Please let us know if you have any further questions!

    Thanks and take care,

    Hi
    Maybe You can use Custom fields.
    Make custom field in each course – the same name for example: llms-excerpt.
    IMAGE
    Add different vaues for each course as excerpt and display it with function and hook:

    function display_excerpt() {
    	$course_id = get_the_ID();
    	$course_excerpt = get_post_meta( intval( $course_id ), 'llms-excerpt', true );
    		echo '<p>' . $course_excerpt  . '</p>';
    }
    add_filter( 'lifterlms_after_loop_item_title', 'display_excerpt', 30 );

    Of course You can adjust this function for Your needs

    @pedrodk,

    The solution put forth by @jurasjo should work if you’re open to writing / modifying the custom code.

    Thread Starter PedroDK

    (@pedrodk)

    Hi Natalie, jurasjo and Thomas,

    Thank you very much for your replies on this.

    Sorry for my late reply.

    I’ve been away for a few weeks, so now I will try out your suggestions.

    Cheers!
    P.

    Thread Starter PedroDK

    (@pedrodk)

    Hi jurasjo,
    Do you think I could do what you suggest by using the ACF – Advanced Custom Fields plugin?
    P.

    Hi

    WordPress already has the Custom Fields.
    LINK

    My previous description is based on this built in feature.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Course descriptions’ is closed to new replies.