• Hello,

    I try to use a shortcode [learn_press_courses category=”ressources”] to list only some courses, but it doesn’t apply : all courses are shown

    I tried with differents categories without success.

    Thanks for your help.

Viewing 1 replies (of 1 total)
  • Plugin Support brianvu-tp

    (@briantp)

    Hi 1formanet,

    Thank you for reaching out to us.

    Regarding the shortcode you are using, the category attribute is currently not supported in that format. To filter courses by a specific category, please use the term_id parameter instead.

    The correct shortcode format should be:

    [learn_press_courses term_id=1346]

    How to find your term_id:

    Go to your WordPress Admin → Courses → Categories.

    Click on the specific category you want to display (e.g., “Ressources”).

    Look at the URL in your browser’s address bar. You will see something like tag_ID=1346.

    The number (e.g., 1346) is the term_id you need to use in the shortcode.

    Please try updating your shortcode with the correct ID and let us know if it works as expected!

    Best regards,
    Brianvu-tp

Viewing 1 replies (of 1 total)

You must be logged in to reply to this topic.