No coursepress pro id found

Hi, I do not find the ID of a course. When I edit a course my address looks like this:
/wp-admin/post.php?post=28287&action=edit&lang=de

There is no special course ID. If I am using the post ID (in this case 28287) the shortcode doesn't work correctly. No title and details link not working.
I tried this: [course show="title,summary,cost,button" course_id="28287"]
and getting this (see attachment)

kind regards R.

  • Luís
    • Support

    Hi FLYINGFOX ,

    Hope you're doing well today!

    You are right, you can find the course ID through the URL, as you mentioned. However, to display the title you will need an additional attribute: "show_title".

    This is require when showing the "title" field, as mentioned in the Shortcodes section (CoursePress -> Settings -> Shortcodes):

    So, your shortcode should be:

    [course show="title,summary,cost,button" show_title="yes" course_id="28287"]

    However, regarding to the "Details" button, I was able to replicate the issue, it's not "redirecting" the user to the Course page, so, I flagged the developer so they can get it fixed up asap. Either myself or the developer will reply back here once we have pushed a fix out.

    Cheers, Luís

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.