ea_ld_course_grid
This shortcode shows the LearnDash courses on the site in different styles depending on the templates, as well as with different extra functionalities. It can take multiple parameters, as follows:
If a course has a product_id pointing to a correct WC product, then the price of that product will be used on the course grid to show the price of the course. If not, then it will show the price of the course in the Learndash course settings.
ea_ld_course_grid template="1"
ea_ld_course_grid template="1" featured_courses="true"
ea_ld_course_grid template="2"
Learn the main basic concepts for building computer applications through…
Ex oratio ocurreret argumentum est, no eos meis tempor pertinacia,…
Debitis rationibus et est, ea omnis facete placerat duo. Urbanitas…
Adipisci sapientem has ut, eam posse clita soleat in. Pro…
Sit fabellas expetenda intellegat ne, nec dicam quidam dissentiet eu.…
Ut tollit accumsan suavitate has, quo ne utroque dignissim deseruisse,…
Vix illum oporteat ne. His rebum principes ei. Omnis sententiae…
ea_ld_course_grid template="3"
ea_ld_course_grid template="4"
ea_ld_course_grid template="6"
Learn the main basic concepts for building computer applications through programming In the most basic…
Ex oratio ocurreret argumentum est, no eos meis tempor pertinacia, an pri enim mucius accommodare.…
Debitis rationibus et est, ea omnis facete placerat duo. Urbanitas dissentiet ut pri, ut menandri…
Adipisci sapientem has ut, eam posse clita soleat in. Pro ex verterem iracundia consectetuer, eam…
Sit fabellas expetenda intellegat ne, nec dicam quidam dissentiet eu. Eam cu causae admodum, at…
Ut tollit accumsan suavitate has, quo ne utroque dignissim deseruisse, eu dicant luptatum duo. Id…
This shortcode displays this list of courses in a small vertical format, very similar to how “related courses” appear on a Udemy course page.
Parameters:
ea_ld_mini_course_grid
Learn the main basic concepts for building computer…
Ex oratio ocurreret argumentum est, no eos meis…
Debitis rationibus et est, ea omnis facete placerat…
Adipisci sapientem has ut, eam posse clita soleat…
Sit fabellas expetenda intellegat ne, nec dicam quidam…
Ut tollit accumsan suavitate has, quo ne utroque…
Vix illum oporteat ne. His rebum principes ei.…
This shortcode displays the course categories in a grid with images. Images in course categories are NOT part of LearnDash, this is new functionality added by this plugin. Meaning a user when creating/editing a LearnDash course category can now add a featured image like in post/pages/products.
Additional parameters:
ea_ld_course_categories with_links="true"
These shortcodes are meant to just display information about the site in a simple way.
ea_author id="post id"
Self-explanatory. Displays the name of the author of the post/page.
ea_current_year
Displays the current year.
ea_site_title
Displays the name of the site.
These shortcodes are meant to break existing LearnDash shortcodes into small bits.
ea_ld_stats_points id="x"
Render a simple text with the number of points the user has. Current logged-in user by default.
ea_ld_stats_certificates id="x"
Render a simple text with the number of certificates the user has. Current logged-in user by default.
ea_ld_stats_enrolled id="x"
Renders a simple text with the number of enrolled courses the user is in. Current logged-in user by default.
ea_ld_stats_completed id="x"
Renders a simple text with the number of courses the user has completed. Current logged-in user by default.
ea_ld_stats_course_progress id="X" course_id="Y" type='percentage'
Renders a simple text with the % of completion a user has with a course by course_id. The Type parameter by default is ‘percentage’, any other value will render “An out of B steps”. See examples below.
ea_ld_user_avatar id="X" type="horizontal" size="medium"
Renders a the avatar with the name of a user by id.
Type can be ‘horizontal’ or ‘vertical’ (default). Size can be ‘tiny’, ‘small’ or ‘medium’ (default).
ea_ld_stats_questions global="true" course_id="x" user_id="y"
Display the total number of questions of quizzes with some parameters:
ea_ld_quiz_last_attempt quiz_id="x" user_id="y"
Display the date of the last attempt by the user on a specific quiz.
ea_ld_quiz_average course_id="x" user_id="y" type="percentage"
Display the average score by ‘type’ of attempted quizzes by the user_id in a course_id or globally:
ea_ld_quiz_last_score user_id='' quiz_id='' course_id='' type='percentage'
Display the last score (points or percentage) of the last attempted quiz by a user.
This shortcode displays the content (lessons, topics, etc) of a course depending on a template style. It only has two parameters: course_id and template.
ea_ld_course_content
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla porta, ipsum tempor sollicitudin dignissim, nulla enim scelerisque magna, non aliquet diam felis id sapien. In egestas at est sit amet iaculis. Maecenas sem diam, interdum lacinia pulvinar non, finibus faucibus tellus
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla porta, ipsum tempor sollicitudin dignissim, nulla enim scelerisque magna, non aliquet diam felis id sapien. In egestas at est sit amet iaculis. Maecenas sem diam, interdum lacinia pulvinar non, finibus faucibus tellus
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla porta, ipsum tempor sollicitudin dignissim, nulla enim scelerisque magna, non aliquet diam felis id sapien. In egestas at est sit amet iaculis. Maecenas sem diam, interdum lacinia pulvinar non, finibus faucibus tellus
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla porta, ipsum tempor sollicitudin dignissim, nulla enim scelerisque magna, non aliquet diam felis id sapien. In egestas at est sit amet iaculis. Maecenas sem diam, interdum lacinia pulvinar non, finibus faucibus tellus
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla porta, ipsum tempor sollicitudin dignissim, nulla enim scelerisque magna, non aliquet diam felis id sapien. In egestas at est sit amet iaculis. Maecenas sem diam, interdum lacinia pulvinar non, finibus faucibus tellus
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla porta, ipsum tempor sollicitudin dignissim, nulla enim scelerisque magna, non aliquet diam felis id sapien. In egestas at est sit amet iaculis. Maecenas sem diam, interdum lacinia pulvinar non, finibus faucibus tellus
This shortcode displays the price of a LearnDash course. Some things to consider:
ea_ld_course_price course_id="53"
$40.00
This shortcode displays the price of a LearnDash course with a manual discount attached to it if the user wants it, alongside a button.
Things to consider:
ea_ld_course_price_discount course_id="53" discount="10"
10% Disc. 44.44
This shortcode displays the star rating of a WooCommerce product with a bunch of parameters:
ea_wc_star_rating product_id="360"
The following shortcodes are part of the Course Reviews for LearnDash plugin.
ea_ld_reviews
By default this shortcode renders three sections: 1) A review submit form only for logged-in users 2) a Summary displaying average rating and progress bars and 3) a List of reviews with pagination.
Parameters:
Write a review
Only logged in and enrolled users can post reviews.
Please Wait...
4
5 Stars
Click to select/unselect 5 Star reviews4 Stars
Click to select/unselect 4 Star reviews3 Stars
Click to select/unselect 3 Star reviews2 Stars
Click to select/unselect 2 Star reviews1 Stars
Click to select/unselect 1 Star reviews
No reviews.
ea_ld_reviews_list id="118" stars="5" columns="2"
Additional parameters:
ea_ld_reviews_summary id="118"
4
5 Stars
4 Stars
3 Stars
2 Stars
1 Stars
ea_ld_review_form id="118"
NOTE: ea_ld_review_form can not be used on the same page as ea_ld_reviews.
Write a review
Only logged in and enrolled users can post reviews.