{"id":54,"date":"2018-09-06T16:47:42","date_gmt":"2018-09-06T16:47:42","guid":{"rendered":"https:\/\/learndash.com\/support\/?docs=documentation\/shortcodes"},"modified":"2025-06-19T15:42:19","modified_gmt":"2025-06-19T19:42:19","password":"","slug":"shortcodes-blocks","status":"publish","type":"docs","link":"https:\/\/learndash.com\/support\/kb\/core\/getting-started-with-learndash\/shortcodes-blocks\/","title":{"rendered":"Shortcodes and Blocks"},"content":{"rendered":"\n<p>Shortcodes and blocks provide you with additional ways to insert LearnDash content into your courses, pages, posts and other custom post types. This article will list out every piece of dynamic LearnDash content you can add to your site, and explain how to do it with both a shortcode and a block.<\/p>\n\n\n\n<p>Creating a certificate? Check out our <a href=\"https:\/\/learndash.com\/support\/docs\/core\/certificates\/certificate-shortcodes\/\">certificate shortcodes here<\/a><\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-what-s-the-difference\">What&#8217;s the Difference?<\/h2>\n\n\n\n<p><strong>Shortcodes<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>The original way to add dynamic content into the WordPress editor<\/li>\n\n\n\n<li>Can also be used to insert LearnDash content into page builders<\/li>\n\n\n\n<li>Contain options (also called parameters) to customize the information displayed<\/li>\n\n\n\n<li>Here&#8217;s an example shortcode, with one parameter: <code>[ld_course_list num=\"10\"]<\/code><\/li>\n<\/ul>\n\n\n\n<p><strong>Blocks<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Only available when using the new content editor released in WordPress 5.0<\/li>\n\n\n\n<li>Contain all the same features and options as shortcodes<\/li>\n\n\n\n<li>Provide an easier interface in which to insert content &amp; customize the options<\/li>\n<\/ul>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"902\" height=\"968\" src=\"https:\/\/learndash.com\/support\/wp-content\/uploads\/2018\/09\/learndash-blocks-list-in-editor.jpg\" alt=\"List of LearnDash blocks in editor\" class=\"wp-image-1985\" style=\"width:810px;height:auto\" srcset=\"https:\/\/learndash.com\/support\/wp-content\/uploads\/2018\/09\/learndash-blocks-list-in-editor.jpg 902w, https:\/\/learndash.com\/support\/wp-content\/uploads\/2018\/09\/learndash-blocks-list-in-editor-373x400.jpg 373w, https:\/\/learndash.com\/support\/wp-content\/uploads\/2018\/09\/learndash-blocks-list-in-editor-768x824.jpg 768w, https:\/\/learndash.com\/support\/wp-content\/uploads\/2018\/09\/learndash-blocks-list-in-editor-745x800.jpg 745w\" sizes=\"auto, (max-width: 902px) 100vw, 902px\" \/><\/figure><\/div>\n\n\n<h2 class=\"wp-block-heading\" id=\"h-which-one-to-use\">Which One To Use?<\/h2>\n\n\n\n<p>Every shortcode has a corresponding block, and every block has a corresponding shortcode. There are no feature differences between the two. Here are a few questions you can ask yourself to figure out which to use:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Using the new WordPress editor (Gutenberg)?<\/strong> If yes, you can use either. You&#8217;ll likely find blocks easier to use, but if you&#8217;re comfortable with shortcodes, they are still available to you.<\/li>\n\n\n\n<li><strong>Using the Classic Editor plugin?<\/strong> If yes, than you&#8217;ll need to use a shortcode.<\/li>\n\n\n\n<li><strong>Using a page builder?<\/strong> If yes, you&#8217;ll need to use a shortcode. Blocks are not yet available in most page builders.<\/li>\n\n\n\n<li><strong>Inserting content into a widget\/sidebar?<\/strong> You&#8217;ll need to use a shortcode. Blocks are not yet available to use inside of widgets.<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-how-to-use-them\">How to Use Them<\/h2>\n\n\n\n<p>Before we explain what each block and shortcode does, let&#8217;s briefly discuss how to use them.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-blocks\">Blocks<\/h3>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"648\" height=\"530\" src=\"https:\/\/learndash.com\/support\/wp-content\/uploads\/2018\/09\/insert-learndash-block-animation.gif\" alt=\"How to insert a LearnDash block\" class=\"wp-image-1988\" style=\"width:739px;height:auto\"\/><\/figure><\/div>\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"306\" height=\"586\" src=\"https:\/\/learndash.com\/support\/wp-content\/uploads\/2018\/09\/learndash-block-options-panel-animation.gif\" alt=\"LearnDash block options panel example\" class=\"wp-image-1989\" style=\"width:306px;height:auto\"\/><\/figure><\/div>\n\n\n<p>Blocks are inserted into the WordPress editor by clicking on the <code>+<\/code> icon, and then either searching for the name of the block, or scrolling through the list of available options. When you find the block you want to add, simply click on it.<\/p>\n\n\n\n<p>After adding the block, you can customize the options in the block options panel in the sidebar. The options will vary depending on which block you have selected. This example shows <em>some<\/em> of the options for the LearnDash Course List block.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-shortcodes\">Shortcodes<\/h3>\n\n\n\n<p>All shortcodes use square brackets (<code>[<\/code> and <code>]<\/code>), along with the name of the particular shortcode you&#8217;re using, and any parameters (options) you want to set.<\/p>\n\n\n\n<p>Here&#8217;s a shortcode that displays a user&#8217;s LearnDash profile information, in its default state, with no parameters:<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.25rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#2e3440ff\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#d8dee9ff;display:none\" aria-label=\"Copy\" class=\"code-block-pro-copy-button\"><textarea class=\"code-block-pro-copy-button-textarea\" aria-hidden=\"true\" readonly>[ld_profile]<\/textarea><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2\"><\/path><\/svg><\/span><pre class=\"shiki nord\" style=\"background-color: #2e3440ff\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #D8DEE9FF\">[<\/span><span style=\"color: #D8DEE9\">ld_profile<\/span><span style=\"color: #D8DEE9FF\">]<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p>Here&#8217;s that same shortcode with parameters added to it, to display the user&#8217;s courses in ascending order by course title:<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.25rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#2e3440ff\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#d8dee9ff;display:none\" aria-label=\"Copy\" class=\"code-block-pro-copy-button\"><textarea class=\"code-block-pro-copy-button-textarea\" aria-hidden=\"true\" readonly>[ld_profile orderby=&#8221;title&#8221; order=&#8221;ASC&#8221;]<\/textarea><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2\"><\/path><\/svg><\/span><pre class=\"shiki nord\" style=\"background-color: #2e3440ff\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #ECEFF4\">[<\/span><span style=\"color: #D8DEE9FF\">ld_profile orderby<\/span><span style=\"color: #81A1C1\">=<\/span><span style=\"color: #ECEFF4\">&quot;<\/span><span style=\"color: #A3BE8C\">title<\/span><span style=\"color: #ECEFF4\">&quot;<\/span><span style=\"color: #D8DEE9FF\"> order<\/span><span style=\"color: #81A1C1\">=<\/span><span style=\"color: #ECEFF4\">&quot;<\/span><span style=\"color: #A3BE8C\">ASC<\/span><span style=\"color: #ECEFF4\">&quot;<\/span><span style=\"color: #ECEFF4\">]<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p>There&#8217;s one other way to use a shortcode. You can check to see if a certain thing is true, and if it is, output the contents <strong>contained within<\/strong> the shortcode. Here&#8217;s an example that would check to see if someone is enrolled in the course, and if they are, display a message.<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.25rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#2e3440ff\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#d8dee9ff;display:none\" aria-label=\"Copy\" class=\"code-block-pro-copy-button\"><textarea class=\"code-block-pro-copy-button-textarea\" aria-hidden=\"true\" readonly>[student]Only a student enrolled in the course would see this.[\/student]<\/textarea><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2\"><\/path><\/svg><\/span><pre class=\"shiki nord\" style=\"background-color: #2e3440ff\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #ECEFF4\">[<\/span><span style=\"color: #D8DEE9FF\">student<\/span><span style=\"color: #ECEFF4\">]<\/span><span style=\"color: #D8DEE9FF\">Only a student enrolled in the course would see this<\/span><span style=\"color: #81A1C1\">.<\/span><span style=\"color: #ECEFF4\">[<\/span><span style=\"color: #81A1C1\">\/<\/span><span style=\"color: #D8DEE9FF\">student<\/span><span style=\"color: #ECEFF4\">]<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p>You&#8217;ll notice this version has both an opening &amp; a closing shortcode, with the closing shortcode being preceded with a forward slash (<code>\/<\/code>).<\/p>\n\n\n\n<p class=\"note\"><strong>DEVELOPERS<\/strong><br>You can also add shortcodes to your theme files or custom plugins via the <a href=\"https:\/\/developer.wordpress.org\/reference\/functions\/do_shortcode\/\"><code class=\" prettyprinted\"><span class=\"pln\">do_shortcode()<\/span><\/code> function<\/a>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-all-learndash-blocks-amp-shortcodes\">All LearnDash Blocks &amp; Shortcodes<\/h2>\n\n\n\n<p>Here&#8217;s a complete list of all available LearnDash blocks\/shortcodes. Click on the name for more information on how to use them, as well as all the available parameters.<\/p>\n\n\n\n<figure class=\"wp-block-table stretch is-style-stripes\"><table class=\"has-border-color has-theme-palette-2-border-color has-fixed-layout\" style=\"border-width:2px\"><thead><tr><th>Block<\/th><th>Shortcode<\/th><th>Description<\/th><\/tr><\/thead><tbody><tr><td colspan=\"3\"><strong>Common LearnDash Blocks\/Shortcodes<\/strong><\/td><\/tr><tr><td><a href=\"#learndash_profile_ld_profile\"><strong>LearnDash Profile<\/strong><\/a><\/td><td><code>[ld_profile]<\/code><\/td><td>Displays basic user information (name, avatar, etc.), as well as total courses, course points, a list of enrolled courses, quiz results &amp; certificates earned.<\/td><\/tr><tr><td><a href=\"#learndash_user_course_points_ld_user_course_points\"><strong>LearnDash User Course Points<\/strong><\/a><\/td><td><code>[ld_user_course_points]<\/code><\/td><td>Displays the earned course points, for that user, on any page.<\/td><\/tr><tr><td><a href=\"#learndash_course_progress_learndash_course_progress\"><strong>LearnDash Course Progress<\/strong><\/a><\/td><td><code>[learndash_course_progress]<\/code><\/td><td>Displays a progress bar with the user&#8217;s progress for that course.<\/td><\/tr><tr><td><a href=\"#learndash_course_list_ld_course_list\"><strong>LearnDash Course List<\/strong><\/a><\/td><td><code>[ld_course_list]<\/code><\/td><td>Displays a list of courses. Many options are available to filter &amp; customize the output. When the <a href=\"https:\/\/learndash.com\/support\/docs\/add-ons\/course-grid\/\">Course Grid add-on<\/a> is enabled, it will display courses in a grid layout.<\/td><\/tr><tr><td><a href=\"#learndash_lesson_list_ld_lesson_list\"><strong>LearnDash Lesson List<\/strong><\/a><\/td><td><code>[ld_lesson_list]<\/code><\/td><td>Similar to <strong>[ld_course_list]<\/strong> but displays a list of <strong>lessons<\/strong>. Also works with the Course Grid add-on.<\/td><\/tr><tr><td><a href=\"#learndash_topic_list_ld_topic_list\"><strong>LearnDash Topic List<\/strong><\/a><\/td><td><code>[ld_topic_list]<\/code><\/td><td>Similar to <strong>[ld_course_list]<\/strong> but displays a list of <strong>topics<\/strong>. Also works with the Course Grid add-on.<\/td><\/tr><tr><td><a href=\"#learndash_quiz_list_ld_quiz_list\"><strong>LearnDash Quiz List<\/strong><\/a><\/td><td><code>[ld_quiz_list]<\/code><\/td><td>Similar to <strong>[ld_course_list]<\/strong> but displays a list of <strong>quizzes<\/strong>. Also works with the Course Grid add-on.<\/td><\/tr><tr><td><a href=\"#learndash_group_list_ld_group_list\"><strong>LearnDash Group List<\/strong><\/a><\/td><td><code>[ld_group_list]<\/code><\/td><td>Similar to <strong>[ld_course_list]<\/strong> but displays a list of <strong>groups<\/strong>. Also works with the Course Grid add-on.<\/td><\/tr><tr><td><a href=\"#learndash_course_content_course_content\"><strong>LearnDash Course Content<\/strong><\/a><\/td><td><code>[course_content]<\/code><\/td><td>Displays a complete list of lessons, topics &amp; quizzes associated with that course.<\/td><\/tr><tr><td><a href=\"#learndash_user_groups_user_groups\"><strong>LearnDash User Groups<\/strong><\/a><\/td><td><code>[user_groups]<\/code><\/td><td>Displays the list of groups users are assigned to as either users or leaders.<\/td><\/tr><tr><td><a href=\"#learndash_course_expire_status_ld_course_expire_status\"><strong>LearnDash Course Expire Status<\/strong><\/a><\/td><td><code>[ld_course_expire_status]<\/code><\/td><td>Displays the expiration date of a course for the current user.<\/td><\/tr><tr><td><a href=\"#ld_video\"><strong>LearnDash Video<\/strong><\/a><\/td><td><code>[ld_video]<\/code><\/td><td>Displays a video anywhere within a lesson or topic page. You must be usingvideo progressionfor this shortcode to work.<\/td><\/tr><tr><td><a href=\"#learndash_payment_buttons_learndash_payment_buttons\"><strong>LearnDash Payment Buttons<\/strong><\/a><\/td><td><code>[learndash_payment_buttons]<\/code><\/td><td>Displays the payment button for a particular course, anywhere on the page.<\/td><\/tr><tr><td><a href=\"#learndash_course_info_ld_course_info\"><strong>LearnDash Course Info<\/strong><\/a><\/td><td><code>[ld_course_info]<\/code><\/td><td>Displays a list of registered courses, course progress details &amp; all quizzes the user has taken.<\/td><\/tr><tr><td><a href=\"#learndash_login_learndash_login\"><strong>LearnDash Login<\/strong><\/a><\/td><td><code>[learndash_login]<\/code><\/td><td>Displays a login link that reveals the LearnDash login &amp; registration pop-up modal when clicked.<\/td><\/tr><tr><td><a href=\"#learndash_certificate_ld_certificate\"><strong>LearnDash Certificate<\/strong><\/a><\/td><td><code>[ld_certificate]<\/code><\/td><td>Displays a download link of an earned certificate.<\/td><\/tr><tr><td><a href=\"#learndash_resume_course_ld_course_resume\"><strong>LearnDash Resume Course<\/strong><\/a><\/td><td><code>[ld_course_resume]<\/code><\/td><td>Returns a user to the last step in the Course (format: link\/button).<\/td><\/tr><tr><td><a href=\"#learndash-reset-password-ld_reset_password\"><b>LearnDash Reset Password<\/b><\/a><\/td><td><code>[ld_reset_password]<\/code><\/td><td>Creates a reset password form for the users to reset their passwords.<\/td><\/tr><tr><td colspan=\"3\"><strong>Conditionally Display Content<\/strong><br>Show\/Hide content for certain users or groups<\/td><\/tr><tr><td><a href=\"#learndash_visitor_visitor\"><strong>LearnDash Visitor<\/strong><\/a><\/td><td><code><\/code><\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p><a href=\"#learndash_student_student\"><strong>LearnDash Student<\/strong><\/a><\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.25rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#2e3440ff\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#d8dee9ff;display:none\" aria-label=\"Copy\" class=\"code-block-pro-copy-button\"><textarea class=\"code-block-pro-copy-button-textarea\" aria-hidden=\"true\" readonly>[visitor]Displays content if a user is &lt;strong>NOT&lt;\/strong> enrolled in a course. Requires a closing[\/visitor]<\/textarea><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2\"><\/path><\/svg><\/span><pre class=\"shiki nord\" style=\"background-color: #2e3440ff\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #ECEFF4\">[<\/span><span style=\"color: #D8DEE9FF\">visitor<\/span><span style=\"color: #ECEFF4\">]<\/span><span style=\"color: #D8DEE9FF\">Displays content <\/span><span style=\"color: #81A1C1\">if<\/span><span style=\"color: #D8DEE9FF\"> a user is <\/span><span style=\"color: #81A1C1\">&lt;<\/span><span style=\"color: #D8DEE9FF\">strong<\/span><span style=\"color: #81A1C1\">&gt;<\/span><span style=\"color: #D8DEE9FF\">NOT<\/span><span style=\"color: #81A1C1\">&lt;\/<\/span><span style=\"color: #D8DEE9FF\">strong<\/span><span style=\"color: #81A1C1\">&gt;<\/span><span style=\"color: #D8DEE9FF\"> enrolled in a course<\/span><span style=\"color: #81A1C1\">.<\/span><span style=\"color: #D8DEE9FF\"> Requires a closing<\/span><span style=\"color: #ECEFF4\">[<\/span><span style=\"color: #81A1C1\">\/<\/span><span style=\"color: #D8DEE9FF\">visitor<\/span><span style=\"color: #ECEFF4\">]<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.25rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#2e3440ff\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#d8dee9ff;display:none\" aria-label=\"Copy\" class=\"code-block-pro-copy-button\"><textarea class=\"code-block-pro-copy-button-textarea\" aria-hidden=\"true\" readonly>[student]Displays content if a user &lt;strong>IS&lt;\/strong> enrolled in a course. Can also be used to display content to individual users (based on user id). Requires a closing[\/student]<\/textarea><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2\"><\/path><\/svg><\/span><pre class=\"shiki nord\" style=\"background-color: #2e3440ff\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #ECEFF4\">[<\/span><span style=\"color: #D8DEE9FF\">student<\/span><span style=\"color: #ECEFF4\">]<\/span><span style=\"color: #D8DEE9FF\">Displays content <\/span><span style=\"color: #81A1C1\">if<\/span><span style=\"color: #D8DEE9FF\"> a user <\/span><span style=\"color: #81A1C1\">&lt;<\/span><span style=\"color: #D8DEE9FF\">strong<\/span><span style=\"color: #81A1C1\">&gt;<\/span><span style=\"color: #D8DEE9FF\">IS<\/span><span style=\"color: #81A1C1\">&lt;\/<\/span><span style=\"color: #D8DEE9FF\">strong<\/span><span style=\"color: #81A1C1\">&gt;<\/span><span style=\"color: #D8DEE9FF\"> enrolled in a course<\/span><span style=\"color: #81A1C1\">.<\/span><span style=\"color: #D8DEE9FF\"> Can also be used to display content to individual <\/span><span style=\"color: #88C0D0\">users <\/span><span style=\"color: #ECEFF4\">(<\/span><span style=\"color: #88C0D0\">based <\/span><span style=\"color: #81A1C1\">on<\/span><span style=\"color: #88C0D0\"> user id<\/span><span style=\"color: #ECEFF4\">)<\/span><span style=\"color: #81A1C1\">.<\/span><span style=\"color: #D8DEE9FF\"> Requires a closing<\/span><span style=\"color: #ECEFF4\">[<\/span><span style=\"color: #81A1C1\">\/<\/span><span style=\"color: #D8DEE9FF\">student<\/span><span style=\"color: #ECEFF4\">]<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p><a href=\"#learndash_course_not_started_course_notstarted\"><strong>LearnDash Course Not Started<\/strong><\/a><\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.25rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#2e3440ff\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#d8dee9ff;display:none\" aria-label=\"Copy\" class=\"code-block-pro-copy-button\"><textarea class=\"code-block-pro-copy-button-textarea\" aria-hidden=\"true\" readonly>[course_notstarted]Displays content if a user has access to a course, but has not completed any steps. Requires a closing[\/course_notstarted]<\/textarea><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2\"><\/path><\/svg><\/span><pre class=\"shiki nord\" style=\"background-color: #2e3440ff\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #ECEFF4\">[<\/span><span style=\"color: #D8DEE9FF\">course_notstarted<\/span><span style=\"color: #ECEFF4\">]<\/span><span style=\"color: #D8DEE9FF\">Displays content <\/span><span style=\"color: #81A1C1\">if<\/span><span style=\"color: #D8DEE9FF\"> a user has access to a course<\/span><span style=\"color: #ECEFF4\">,<\/span><span style=\"color: #D8DEE9FF\"> but has not completed any steps<\/span><span style=\"color: #81A1C1\">.<\/span><span style=\"color: #D8DEE9FF\"> Requires a closing<\/span><span style=\"color: #ECEFF4\">[<\/span><span style=\"color: #81A1C1\">\/<\/span><span style=\"color: #D8DEE9FF\">course_notstarted<\/span><span style=\"color: #ECEFF4\">]<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p><a href=\"#learndash_course_in_progress_course_inprogress\"><strong>LearnDash Course In Progress<\/strong><\/a><\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.25rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#2e3440ff\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#d8dee9ff;display:none\" aria-label=\"Copy\" class=\"code-block-pro-copy-button\"><textarea class=\"code-block-pro-copy-button-textarea\" aria-hidden=\"true\" readonly>[course_inprogress]Displays content if a user has access to a course, has completed at least one step, but has not finished the entire course. Requires a closing[\/course_inprogress]<\/textarea><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2\"><\/path><\/svg><\/span><pre class=\"shiki nord\" style=\"background-color: #2e3440ff\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #ECEFF4\">[<\/span><span style=\"color: #D8DEE9FF\">course_inprogress<\/span><span style=\"color: #ECEFF4\">]<\/span><span style=\"color: #D8DEE9FF\">Displays content <\/span><span style=\"color: #81A1C1\">if<\/span><span style=\"color: #D8DEE9FF\"> a user has access to a course<\/span><span style=\"color: #ECEFF4\">,<\/span><span style=\"color: #D8DEE9FF\"> has completed at least one step<\/span><span style=\"color: #ECEFF4\">,<\/span><span style=\"color: #D8DEE9FF\"> but has not finished the entire course<\/span><span style=\"color: #81A1C1\">.<\/span><span style=\"color: #D8DEE9FF\"> Requires a closing<\/span><span style=\"color: #ECEFF4\">[<\/span><span style=\"color: #81A1C1\">\/<\/span><span style=\"color: #D8DEE9FF\">course_inprogress<\/span><span style=\"color: #ECEFF4\">]<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p><a href=\"#learndash_course_complete_course_complete\"><strong>LearnDash Course Complete<\/strong><\/a><\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.25rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#2e3440ff\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#d8dee9ff;display:none\" aria-label=\"Copy\" class=\"code-block-pro-copy-button\"><textarea class=\"code-block-pro-copy-button-textarea\" aria-hidden=\"true\" readonly>[course_complete]Displays content if a user &lt;strong>has fully completed&lt;\/strong> a course. Requires a closing[\/course_complete]<\/textarea><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2\"><\/path><\/svg><\/span><pre class=\"shiki nord\" style=\"background-color: #2e3440ff\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #ECEFF4\">[<\/span><span style=\"color: #D8DEE9FF\">course_complete<\/span><span style=\"color: #ECEFF4\">]<\/span><span style=\"color: #D8DEE9FF\">Displays content <\/span><span style=\"color: #81A1C1\">if<\/span><span style=\"color: #D8DEE9FF\"> a user <\/span><span style=\"color: #81A1C1\">&lt;<\/span><span style=\"color: #D8DEE9FF\">strong<\/span><span style=\"color: #81A1C1\">&gt;<\/span><span style=\"color: #D8DEE9FF\">has fully completed<\/span><span style=\"color: #81A1C1\">&lt;\/<\/span><span style=\"color: #D8DEE9FF\">strong<\/span><span style=\"color: #81A1C1\">&gt;<\/span><span style=\"color: #D8DEE9FF\"> a course<\/span><span style=\"color: #81A1C1\">.<\/span><span style=\"color: #D8DEE9FF\"> Requires a closing<\/span><span style=\"color: #ECEFF4\">[<\/span><span style=\"color: #81A1C1\">\/<\/span><span style=\"color: #D8DEE9FF\">course_complete<\/span><span style=\"color: #ECEFF4\">]<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p><a href=\"#learndash_quiz_complete_quiz_complete\"><strong>LearnDash Quiz Complete<\/strong><\/a><\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.25rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#2e3440ff\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#d8dee9ff;display:none\" aria-label=\"Copy\" class=\"code-block-pro-copy-button\"><textarea class=\"code-block-pro-copy-button-textarea\" aria-hidden=\"true\" readonly>[ld_quiz_complete]Displays content if a user has completed a quiz. Requires a closing[\/ld_quiz_complete]<\/textarea><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2\"><\/path><\/svg><\/span><pre class=\"shiki nord\" style=\"background-color: #2e3440ff\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #ECEFF4\">[<\/span><span style=\"color: #D8DEE9FF\">ld_quiz_complete<\/span><span style=\"color: #ECEFF4\">]<\/span><span style=\"color: #D8DEE9FF\">Displays content <\/span><span style=\"color: #81A1C1\">if<\/span><span style=\"color: #D8DEE9FF\"> a user has completed a quiz<\/span><span style=\"color: #81A1C1\">.<\/span><span style=\"color: #D8DEE9FF\"> Requires a closing<\/span><span style=\"color: #ECEFF4\">[<\/span><span style=\"color: #81A1C1\">\/<\/span><span style=\"color: #D8DEE9FF\">ld_quiz_complete<\/span><span style=\"color: #ECEFF4\">]<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p><a href=\"#learndash-group-message-ld_group\"><strong>LearnDash Group Message<\/strong><\/a><\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.25rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#2e3440ff\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#d8dee9ff;display:none\" aria-label=\"Copy\" class=\"code-block-pro-copy-button\"><textarea class=\"code-block-pro-copy-button-textarea\" aria-hidden=\"true\" readonly>[ld_group]Displays a specified message to group enrollees.Requires specified group ID and a closing [\/ld_group]<\/textarea><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2\"><\/path><\/svg><\/span><pre class=\"shiki nord\" style=\"background-color: #2e3440ff\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #ECEFF4\">[<\/span><span style=\"color: #D8DEE9FF\">ld_group<\/span><span style=\"color: #ECEFF4\">]<\/span><span style=\"color: #D8DEE9FF\">Displays a specified message to group enrollees<\/span><span style=\"color: #81A1C1\">.<\/span><span style=\"color: #D8DEE9FF\">Requires specified group ID <\/span><span style=\"color: #81A1C1\">and<\/span><span style=\"color: #D8DEE9FF\"> a closing <\/span><span style=\"color: #ECEFF4\">[<\/span><span style=\"color: #81A1C1\">\/<\/span><span style=\"color: #D8DEE9FF\">ld_group<\/span><span style=\"color: #ECEFF4\">]<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p><strong>Certificate Shortcodes<\/strong><br><a href=\"https:\/\/learndash.com\/support\/docs\/core\/certificates\/certificate-shortcodes\/\">View our list of certificate shortcodes<\/a><\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-common-blocks-and-shortcodes\">Common Blocks and Shortcodes<\/h2>\n\n\n\n<p>Let&#8217;s talk about how to use the main LearnDash shortcodes, and discuss the options available with each one. The method for customizing LearnDash blocks is the same for each block, so we&#8217;re going to focus on the code needed to customize the shortcodes. Remember, if you&#8217;re using the Gutenberg blocks, all the same options are available in the block options panel in the sidebar.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-learndash-profile\">LearnDash Profile<\/h3>\n\n\n\n<p>The LearnDash Profile block\/shortcode can be used to build a student profile. By default, it will output the following information related to the currently logged-in user:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Avatar (profile image)<\/li>\n\n\n\n<li>Name<\/li>\n\n\n\n<li>Link to edit profile<\/li>\n\n\n\n<li>Total number of courses enrolled in, courses completed, certificates awarded &amp; points earned<\/li>\n\n\n\n<li>List of registered courses, which includes:\n<ul class=\"wp-block-list\">\n<li>ability to search courses<\/li>\n\n\n\n<li>course progress indicators<\/li>\n\n\n\n<li>links to download certificates<\/li>\n\n\n\n<li>quizzes taken, along with date, scores &amp; statistics<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"1506\" height=\"1264\" src=\"https:\/\/learndash.com\/support\/wp-content\/uploads\/2018\/09\/learndash-user-profile-frontend-example.jpg\" alt=\"LearnDash User Profile, frontend example\" class=\"wp-image-2140\" style=\"width:636px;height:auto\" srcset=\"https:\/\/learndash.com\/support\/wp-content\/uploads\/2018\/09\/learndash-user-profile-frontend-example.jpg 1506w, https:\/\/learndash.com\/support\/wp-content\/uploads\/2018\/09\/learndash-user-profile-frontend-example-400x336.jpg 400w, https:\/\/learndash.com\/support\/wp-content\/uploads\/2018\/09\/learndash-user-profile-frontend-example-768x645.jpg 768w, https:\/\/learndash.com\/support\/wp-content\/uploads\/2018\/09\/learndash-user-profile-frontend-example-800x671.jpg 800w\" sizes=\"auto, (max-width: 1506px) 100vw, 1506px\" \/><\/figure><\/div>\n\n\n<p>You can also use the button at the top to quickly expand\/collapse all registered course information.<\/p>\n\n\n\n<p>The following parameters are available when using the<code>[ld_profile]<\/code> shortcode:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><code>per_page=\"10\"<\/code> &#8211; sets the number of courses to display on one page, before pagination is used<\/li>\n\n\n\n<li><code>course_points_user=\"no\"<\/code> &#8211; prevents the display of a user&#8217;s earned course points (default is &#8220;yes&#8221;)<\/li>\n\n\n\n<li><code>expand_all=\"yes\"<\/code> &#8211; expands all sections of the profile (default is &#8220;no&#8221;)<\/li>\n\n\n\n<li><code>orderby=\"title\"<\/code> &#8211; determines how the courses should be sorted (default is &#8220;id&#8221;). This should be used in conjunction with the <code>order<\/code> parameter. <a href=\"https:\/\/codex.wordpress.org\/Class_Reference\/WP_Query#Order_.26_Orderby_Parameters\">See full list of orderby parameters <\/a><\/li>\n\n\n\n<li><code>order=\"ASC\"<\/code> &#8211; determines the order in which courses are sorted. This should be used in conjunction with the <code>orderby<\/code> parameter. Use either &#8220;ASC&#8221; or &#8220;DESC&#8221;.<\/li>\n\n\n\n<li><code>profile_link=\"no\"<\/code> &#8211; determines whether or not the profile link is shown or hidden. The default is yes.<\/li>\n\n\n\n<li><code>show_quizzes=\"no\"<\/code> &#8211; determines whether or not the users quiz attempts are shown or hidden. The default is yes.<\/li>\n\n\n\n<li><code>show_search=\"no\"<\/code> &#8211; determines whether the search functions is shown. The default is yes.<\/li>\n\n\n\n<li><code>show_header=\"no\"<\/code>&#8211; determines if the header is shown or hidden. The default is yes.<\/li>\n\n\n\n<li><code>quiz_num=\"5\"<\/code> &#8211; sets number of quizzes to show per page when quizzes are shown &amp; expanded. The default is to use whatever is set using <code>per_page<\/code> option.<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-learndash-user-course-points\">LearnDash User Course Points<\/h3>\n\n\n\n<p>You likely won&#8217;t find many uses for the <code>[ld_user_course_points]<\/code> shortcode, but it could be used to build your own student profile page using a page builder.<\/p>\n\n\n\n<p>Simply insert <code>[ld_user_course_points]<\/code> onto its own line, or use the block, and it will output this:<\/p>\n\n\n\n<p><strong>Earned Course Points:<\/strong> 100<\/p>\n\n\n\n<p>This will display the total, cumulative points that the current user has received.This includes both &#8220;earned&#8221; course points as well as any &#8220;extra&#8221; course points you&#8217;ve assigned to the user via their WordPress profile.<\/p>\n\n\n\n<p>There is only one parameter, if you want to target a specific user ID: <code>[ld_user_course_points user_id=\"5\"]<\/code><\/p>\n\n\n\n<p>This would show the course points for the user with an ID of 5. The default usage will automatically show points for the logged-in user.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-learndash-course-progress\">LearnDash Course Progress<\/h3>\n\n\n\n<p>The <code>[learndash_course_progress]<\/code> shortcode displays a progress bar with the current user&#8217;s progress for that course.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1004\" height=\"140\" src=\"https:\/\/learndash.com\/support\/wp-content\/uploads\/2018\/09\/learndash-course-progress-frontend-example.jpg\" alt=\"LearnDash course progress, frontend example\" class=\"wp-image-1994\" srcset=\"https:\/\/learndash.com\/support\/wp-content\/uploads\/2018\/09\/learndash-course-progress-frontend-example.jpg 1004w, https:\/\/learndash.com\/support\/wp-content\/uploads\/2018\/09\/learndash-course-progress-frontend-example-400x56.jpg 400w, https:\/\/learndash.com\/support\/wp-content\/uploads\/2018\/09\/learndash-course-progress-frontend-example-768x107.jpg 768w, https:\/\/learndash.com\/support\/wp-content\/uploads\/2018\/09\/learndash-course-progress-frontend-example-800x112.jpg 800w\" sizes=\"auto, (max-width: 1004px) 100vw, 1004px\" \/><\/figure><\/div>\n\n\n<p>It is most commonly used on a course, lesson, topic or quiz page, and it automatically detects 1) which course is currently being accessed, and 2) which user is logged in.<\/p>\n\n\n\n<p>You&#8217;ll typically use the default <code>[learndash_course_progress]<\/code> shortcode without any parameters, but if you&#8217;re using it outside of a course, or for a specific user, there are two options you can use:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><code>[learndash_course_progress user_id=\"5\"]<\/code> &#8211; Displays the progress for a specific user<\/li>\n\n\n\n<li><code>[learndash_course_progress course_id=\"12\"]<\/code> &#8211; Displays the progress for a specific course<\/li>\n<\/ul>\n\n\n\n<p>This shortcode works great with page builders when building a custom layout for your courses, lessons &amp; topics.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-learndash-course-list\">LearnDash Course List<\/h3>\n\n\n\n<p>The <code>[ld_course_list]<\/code> shortcode displays a list of courses, and it comes with a lot of parameters to customize which courses are shown and how they are laid out. The LearnDash Course List is most commonly used in conjunction with the <a href=\"https:\/\/learndash.com\/support\/docs\/add-ons\/course-grid\/\">Course Grid add-on<\/a>.<b><\/b><\/p>\n\n\n<div class=\"wp-block-image alignnone\">\n<figure class=\"aligncenter size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"2326\" height=\"1098\" src=\"https:\/\/learndash.com\/support\/wp-content\/uploads\/2019\/03\/learndash-course-grid-frontend-example-ld3-theme.jpg\" alt=\"LearnDash course grid with the 3.0 theme applied\" class=\"wp-image-1957\" style=\"width:911px;height:auto\" srcset=\"https:\/\/learndash.com\/support\/wp-content\/uploads\/2019\/03\/learndash-course-grid-frontend-example-ld3-theme.jpg 2326w, https:\/\/learndash.com\/support\/wp-content\/uploads\/2019\/03\/learndash-course-grid-frontend-example-ld3-theme-400x189.jpg 400w, https:\/\/learndash.com\/support\/wp-content\/uploads\/2019\/03\/learndash-course-grid-frontend-example-ld3-theme-768x363.jpg 768w, https:\/\/learndash.com\/support\/wp-content\/uploads\/2019\/03\/learndash-course-grid-frontend-example-ld3-theme-800x378.jpg 800w\" sizes=\"auto, (max-width: 2326px) 100vw, 2326px\" \/><\/figure><\/div>\n\n\n<p>Because of the long list of options available, please head over to our <a href=\"https:\/\/learndash.com\/support\/docs\/add-ons\/course-grid\/\" rel=\"nofollow\">Course Grid add-on article<\/a> to learn about all of the available options.<\/p>\n\n\n\n<p><span style=\"font-weight: 400;\">This block allows for the display a sub-set of enrolled courses based on the course progress status. This is only available when the &#8220;My Courses&#8221; option is set to show &#8220;Enrolled Courses Only&#8221;.<\/span><\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-learndash-lesson-list\">LearnDash Lesson List<\/h3>\n\n\n\n<p>The LearnDash Lesson List works in much the same way as the Course List, only it displays lessons instead of courses. Here&#8217;s an example of it in use:<\/p>\n\n\n<div class=\"wp-block-image alignnone\">\n<figure class=\"aligncenter size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"2048\" height=\"694\" src=\"https:\/\/learndash.com\/support\/wp-content\/uploads\/2018\/09\/learndash-lesson-list-frontend-example.jpg\" alt=\"LearnDash lesson list, frontend example\" class=\"wp-image-1995\" style=\"width:890px;height:auto\" srcset=\"https:\/\/learndash.com\/support\/wp-content\/uploads\/2018\/09\/learndash-lesson-list-frontend-example.jpg 2048w, https:\/\/learndash.com\/support\/wp-content\/uploads\/2018\/09\/learndash-lesson-list-frontend-example-400x136.jpg 400w, https:\/\/learndash.com\/support\/wp-content\/uploads\/2018\/09\/learndash-lesson-list-frontend-example-768x260.jpg 768w, https:\/\/learndash.com\/support\/wp-content\/uploads\/2018\/09\/learndash-lesson-list-frontend-example-800x271.jpg 800w\" sizes=\"auto, (max-width: 2048px) 100vw, 2048px\" \/><\/figure><\/div>\n\n\n<p>This shortcode would be best used on a course page, instead of using the default course content table. Be sure to <a href=\"https:\/\/learndash.com\/support\/docs\/add-ons\/course-grid\/#featured_image\">upload a featured image<\/a> for each lesson to replace the placeholder images.<\/p>\n\n\n\n<p>Here&#8217;s an example on how to use this shortcode:<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.25rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#2e3440ff\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#d8dee9ff;display:none\" aria-label=\"Copy\" class=\"code-block-pro-copy-button\"><textarea class=\"code-block-pro-copy-button-textarea\" aria-hidden=\"true\" readonly>[ld_lesson_list course_id=&#8221;yyxx&#8221;]<\/textarea><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2\"><\/path><\/svg><\/span><pre class=\"shiki nord\" style=\"background-color: #2e3440ff\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #ECEFF4\">[<\/span><span style=\"color: #D8DEE9FF\">ld_lesson_list course_id<\/span><span style=\"color: #81A1C1\">=<\/span><span style=\"color: #ECEFF4\">&quot;<\/span><span style=\"color: #A3BE8C\">yyxx<\/span><span style=\"color: #ECEFF4\">&quot;<\/span><span style=\"color: #ECEFF4\">]<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p>You can specify a specific course by adding the <code>course_id<\/code> parameter to filter the lessons you want to display.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-learndash-topic-list\">LearnDash Topic List <\/h3>\n\n\n\n<p>The LearnDash Topic List works in much the same way as the Lesson List,only it displays topics instead of lessons.<\/p>\n\n\n\n<p>This would be best used on a lesson page that contains at least a few topics. A featured image will also replace these placeholder images.<\/p>\n\n\n\n<p><span style=\"font-weight: 400;\">Using the <code>lesson_id<\/code> parameter allows you to <\/span><span style=\"font-weight: 400;\">display a list of quizzes, or topics, associated with a specific lesson.<\/span><\/p>\n\n\n\n<p>Here is an example of how to use the shortcode:<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.25rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#2e3440ff\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#d8dee9ff;display:none\" aria-label=\"Copy\" class=\"code-block-pro-copy-button\"><textarea class=\"code-block-pro-copy-button-textarea\" aria-hidden=\"true\" readonly>[ld_topic_list lesson_id=&#8221;xxxx&#8221; course_id=&#8221;yyxx&#8221;]\n<\/textarea><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2\"><\/path><\/svg><\/span><pre class=\"shiki nord\" style=\"background-color: #2e3440ff\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #ECEFF4\">[<\/span><span style=\"color: #D8DEE9FF\">ld_topic_list lesson_id<\/span><span style=\"color: #81A1C1\">=<\/span><span style=\"color: #ECEFF4\">&quot;<\/span><span style=\"color: #A3BE8C\">xxxx<\/span><span style=\"color: #ECEFF4\">&quot;<\/span><span style=\"color: #D8DEE9FF\"> course_id<\/span><span style=\"color: #81A1C1\">=<\/span><span style=\"color: #ECEFF4\">&quot;<\/span><span style=\"color: #A3BE8C\">yyxx<\/span><span style=\"color: #ECEFF4\">&quot;<\/span><span style=\"color: #ECEFF4\">]<\/span><\/span>\n<span class=\"line\"><\/span><\/code><\/pre><\/div>\n\n\n\n<p>In this example, you can specify the <code>lesson_id<\/code> and <code>course_id<\/code> with the shortcode to filter the topics you want displayed.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-learndash-quiz-list\">LearnDash Quiz List <\/h3>\n\n\n\n<p>The LearnDash Quiz List works in much the same way as the Lesson List, only it displays quizzes instead of lessons. If your course offers multiple quizzes, you might find this shortcode useful.<\/p>\n\n\n\n<p>Typically, however, quizzes are best displayed either&#8230;<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>in the course content table, along with the course they are associated with,<\/li>\n\n\n\n<li>in the course navigation widget, wherever they fall in the natural course progress, or<\/li>\n\n\n\n<li>at the bottom of a lesson or topic page that the quiz is assigned to (inserted automatically)<\/li>\n<\/ul>\n\n\n\n<p><span style=\"font-weight: 400;\">Using the <code>lesson_id<\/code> parameter allows you to <\/span><span style=\"font-weight: 400;\">display a list of quizzes, or topics, associated with a specific lesson.<\/span><\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-learndash-group-list\">LearnDash Group List <\/h3>\n\n\n\n<p>The LearnDash Group List works in much the same way as the Course List, only it displays groups instead of courses. If you offer multiple groups that allow for self-enrollment, you might find this shortcode useful.<\/p>\n\n\n\n<p>The LearnDash Group List can be used in conjunction with the <a href=\"https:\/\/learndash.com\/support\/docs\/add-ons\/course-grid\/\">Course Grid add-on<\/a>.<\/p>\n\n\n\n<p>Because of the long list of options available, please head over to our <a href=\"https:\/\/learndash.com\/support\/docs\/add-ons\/course-grid\/\" rel=\"nofollow\">Course Grid add-on article<\/a> to learn about all of the available options.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-learndash-course-content\">LearnDash Course Content <\/h3>\n\n\n\n<p>The LearnDash Course Content block\/shortcode is an exact replica of the default course content table that is displayed on course pages by default (below any content you add). It displays a complete overview of the course, along with the user&#8217;s progress. In it, you&#8217;ll find all Lessons, Topics and Quizzes that are assigned to the course. You can show\/hide topics &amp; quizzes that are tied to lessons, and you&#8217;ll see a status icon that displays the user&#8217;s status for that particular lesson\/topic\/quiz.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"1504\" height=\"1354\" src=\"https:\/\/learndash.com\/support\/wp-content\/uploads\/2018\/09\/learndash-course-content-frontend-example.jpg\" alt=\"LearnDash course content table, frontend example\" class=\"wp-image-1998\" style=\"width:772px;height:auto\" srcset=\"https:\/\/learndash.com\/support\/wp-content\/uploads\/2018\/09\/learndash-course-content-frontend-example.jpg 1504w, https:\/\/learndash.com\/support\/wp-content\/uploads\/2018\/09\/learndash-course-content-frontend-example-400x360.jpg 400w, https:\/\/learndash.com\/support\/wp-content\/uploads\/2018\/09\/learndash-course-content-frontend-example-768x691.jpg 768w, https:\/\/learndash.com\/support\/wp-content\/uploads\/2018\/09\/learndash-course-content-frontend-example-800x720.jpg 800w\" sizes=\"auto, (max-width: 1504px) 100vw, 1504px\" \/><\/figure><\/div>\n\n\n<p>There are two really valuable use cases for this shortcode:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>insert into a custom course landing page (if using a page builder)<\/li>\n\n\n\n<li>insert into a sales page powered by <a href=\"https:\/\/learndash.com\/support\/docs\/add-ons\/woocommerce\/\">WooCommerce<\/a>, <a href=\"https:\/\/learndash.com\/support\/docs\/add-ons\/easy-digital-downloads\/\" rel=\"nofollow\">Easy Digital Downloads<\/a>, <a href=\"https:\/\/learndash.com\/support\/docs\/add-ons\/memberpress\/\" rel=\"nofollow\">MemberPress<\/a>, or another ecommerce\/checkout solution<\/li>\n<\/ul>\n\n\n\n<p>When using this shortcode on any other page besides a course page, you&#8217;ll need to use the  <code>course_id<\/code>  parameter. This tells LearnDash which course you want to display content for.<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.25rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#2e3440ff\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#d8dee9ff;display:none\" aria-label=\"Copy\" class=\"code-block-pro-copy-button\"><textarea class=\"code-block-pro-copy-button-textarea\" aria-hidden=\"true\" readonly>[course_content course_id=&#8221;12&#8243;]<\/textarea><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2\"><\/path><\/svg><\/span><pre class=\"shiki nord\" style=\"background-color: #2e3440ff\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #ECEFF4\">[<\/span><span style=\"color: #D8DEE9FF\">course_content course_id<\/span><span style=\"color: #81A1C1\">=<\/span><span style=\"color: #ECEFF4\">&quot;<\/span><span style=\"color: #A3BE8C\">12<\/span><span style=\"color: #ECEFF4\">&quot;<\/span><span style=\"color: #ECEFF4\">]<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p>This would display the course content table for the course with an ID of 12.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-learndash-user-groups\">LearnDash User Groups<\/h3>\n\n\n\n<p>The LearnDash User Groups block\/shortcodedisplays the list of groups that a user is assigned to.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-learndash-course-expire-status\">LearnDash Course Expire Status <\/h3>\n\n\n\n<p>This block\/shortcode will display the date in which a course expires for the currently logged-in user. You must enable the <a href=\"https:\/\/learndash.com\/support\/docs\/core\/courses\/course-access\/#course_access_expiration\">&#8220;Expire Access&#8221; setting<\/a> on the course edit screen for this to work.<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p>Course access will expire on: December 31, 2019<\/p>\n<\/blockquote>\n\n\n\n<p>If used on a course page, <code>[ld_course_expire_status]<\/code> will automatically detect the course, and the user, and display a message. The default messages are as follows:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>If a course expires in the future:<\/strong> &#8220;Course access will expire on: {date}&#8221;<\/li>\n\n\n\n<li><strong>If a course has already expired:<\/strong> &#8220;Course access expired on: {date}&#8221;<\/li>\n<\/ul>\n\n\n\n<p>You can customize the text before and after the date by using the following parameters:<\/p>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"h-label-before\">label_before<\/h4>\n\n\n\n<p>This is displayed before the date:<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.25rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#2e3440ff\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#d8dee9ff;display:none\" aria-label=\"Copy\" class=\"code-block-pro-copy-button\"><textarea class=\"code-block-pro-copy-button-textarea\" aria-hidden=\"true\" readonly>[ld_course_expire_status label_before=&#8221;This course expired on &#8220;]<\/textarea><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2\"><\/path><\/svg><\/span><pre class=\"shiki nord\" style=\"background-color: #2e3440ff\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #ECEFF4\">[<\/span><span style=\"color: #D8DEE9FF\">ld_course_expire_status label_before<\/span><span style=\"color: #81A1C1\">=<\/span><span style=\"color: #ECEFF4\">&quot;<\/span><span style=\"color: #A3BE8C\">This course expired on <\/span><span style=\"color: #ECEFF4\">&quot;<\/span><span style=\"color: #ECEFF4\">]<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"h-label-after\">label_after<\/h4>\n\n\n\n<p>This is displayed after the date:<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.25rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#2e3440ff\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#d8dee9ff;display:none\" aria-label=\"Copy\" class=\"code-block-pro-copy-button\"><textarea class=\"code-block-pro-copy-button-textarea\" aria-hidden=\"true\" readonly>[ld_course_expire_status label_after=&#8221;. Please renew your membership to regain access.&#8221;]<\/textarea><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2\"><\/path><\/svg><\/span><pre class=\"shiki nord\" style=\"background-color: #2e3440ff\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #ECEFF4\">[<\/span><span style=\"color: #D8DEE9FF\">ld_course_expire_status label_after<\/span><span style=\"color: #81A1C1\">=<\/span><span style=\"color: #ECEFF4\">&quot;<\/span><span style=\"color: #A3BE8C\">. Please renew your membership to regain access.<\/span><span style=\"color: #ECEFF4\">&quot;<\/span><span style=\"color: #ECEFF4\">]<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"h-format\">format<\/h4>\n\n\n\n<p>This changes the format of the date used. By default, we&#8217;ll use your WordPress date settings. See a full list of date formatting options <a href=\"http:\/\/php.net\/manual\/en\/function.date.php\">here<\/a>.<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.25rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#2e3440ff\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#d8dee9ff;display:none\" aria-label=\"Copy\" class=\"code-block-pro-copy-button\"><textarea class=\"code-block-pro-copy-button-textarea\" aria-hidden=\"true\" readonly>[ld_course_expire_status format=&#8221;F j, Y&#8221;]<\/textarea><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2\"><\/path><\/svg><\/span><pre class=\"shiki nord\" style=\"background-color: #2e3440ff\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #ECEFF4\">[<\/span><span style=\"color: #D8DEE9FF\">ld_course_expire_status format<\/span><span style=\"color: #81A1C1\">=<\/span><span style=\"color: #ECEFF4\">&quot;<\/span><span style=\"color: #A3BE8C\">F j, Y<\/span><span style=\"color: #ECEFF4\">&quot;<\/span><span style=\"color: #ECEFF4\">]<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p>You can also use the <code>course_id<\/code> &amp; <code>user_id<\/code> parameters, although you will likely not need them because we identify these automatically.<\/p>\n\n\n\n<p>Here&#8217;s an example of all parameters used together:<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.25rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#2e3440ff\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#d8dee9ff;display:none\" aria-label=\"Copy\" class=\"code-block-pro-copy-button\"><textarea class=\"code-block-pro-copy-button-textarea\" aria-hidden=\"true\" readonly>[ld_course_expire_status format=&#8221;F j, Y&#8221; label_before=&#8221;This course expired on &#8221; label_after=&#8221;. Please renew your membership.&#8221; course_id=&#8221;12&#8243; user_id=&#8221;5&#8243;]<\/textarea><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2\"><\/path><\/svg><\/span><pre class=\"shiki nord\" style=\"background-color: #2e3440ff\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #ECEFF4\">[<\/span><span style=\"color: #D8DEE9FF\">ld_course_expire_status format<\/span><span style=\"color: #81A1C1\">=<\/span><span style=\"color: #ECEFF4\">&quot;<\/span><span style=\"color: #A3BE8C\">F j, Y<\/span><span style=\"color: #ECEFF4\">&quot;<\/span><span style=\"color: #D8DEE9FF\"> label_before<\/span><span style=\"color: #81A1C1\">=<\/span><span style=\"color: #ECEFF4\">&quot;<\/span><span style=\"color: #A3BE8C\">This course expired on <\/span><span style=\"color: #ECEFF4\">&quot;<\/span><span style=\"color: #D8DEE9FF\"> label_after<\/span><span style=\"color: #81A1C1\">=<\/span><span style=\"color: #ECEFF4\">&quot;<\/span><span style=\"color: #A3BE8C\">. Please renew your membership.<\/span><span style=\"color: #ECEFF4\">&quot;<\/span><span style=\"color: #D8DEE9FF\"> course_id<\/span><span style=\"color: #81A1C1\">=<\/span><span style=\"color: #ECEFF4\">&quot;<\/span><span style=\"color: #A3BE8C\">12<\/span><span style=\"color: #ECEFF4\">&quot;<\/span><span style=\"color: #D8DEE9FF\"> user_id<\/span><span style=\"color: #81A1C1\">=<\/span><span style=\"color: #ECEFF4\">&quot;<\/span><span style=\"color: #A3BE8C\">5<\/span><span style=\"color: #ECEFF4\">&quot;<\/span><span style=\"color: #ECEFF4\">]<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-ld-video\">[ld_video]<\/h3>\n\n\n\n<p>The <code>[ld_video]<\/code> shortcode is only available as a shortcode. There is no Gutenberg block for it yet. However, you can still use it with the Gutenberg editor by utilizing the shortcode block:<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1682\" height=\"240\" src=\"https:\/\/learndash.com\/support\/wp-content\/uploads\/2018\/09\/learndash-ld-video-shortcode-block-admin.jpg\" alt=\"LearnDash ld_video in shortcode block\" class=\"wp-image-2002\" srcset=\"https:\/\/learndash.com\/support\/wp-content\/uploads\/2018\/09\/learndash-ld-video-shortcode-block-admin.jpg 1682w, https:\/\/learndash.com\/support\/wp-content\/uploads\/2018\/09\/learndash-ld-video-shortcode-block-admin-400x57.jpg 400w, https:\/\/learndash.com\/support\/wp-content\/uploads\/2018\/09\/learndash-ld-video-shortcode-block-admin-768x110.jpg 768w, https:\/\/learndash.com\/support\/wp-content\/uploads\/2018\/09\/learndash-ld-video-shortcode-block-admin-800x114.jpg 800w\" sizes=\"auto, (max-width: 1682px) 100vw, 1682px\" \/><\/figure><\/div>\n\n\n<p>This only works if you&#8217;re using our built-in Video Progression feature. This must be enabled on the lesson or topic page in order for it to work, and a URL to your video must be entered.<\/p>\n\n\n\n<p>Learn how to <a href=\"https:\/\/learndash.com\/support\/docs\/core\/lessons\/lesson-display-content\/#video_progression\">set up video progression here<\/a><\/p>\n\n\n\n<p>With video progression, by default, your video is placed <strong>above<\/strong> the course content. However, if you want to place the video somewhere <strong>in the middle of your content<\/strong>, you would use the <code>[ld_video]<\/code> shortcode.<\/p>\n\n\n\n<p>There are no parameters. Simply add <code>[ld_video]<\/code> anywhere within your course content (must be on its own line).<\/p>\n\n\n\n<p>This is great for use with page builders when customizing the layout of your lesson\/topic pages. You have complete control of where to include your video.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-learndash-payment-buttons\">LearnDash Payment Buttons <\/h3>\n\n\n\n<p>The LearnDash Payment Buttons should only be used if you&#8217;re utilizing one of the default LearnDash payment methods (<a href=\"https:\/\/learndash.com\/support\/docs\/add-ons\/stripe\/\">Stripe<\/a>, <a href=\"https:\/\/learndash.com\/support\/docs\/core\/settings\/paypal-settings\/\">PayPal<\/a> or <a href=\"https:\/\/learndash.com\/support\/docs\/add-ons\/2checkout\/\">2Checkout<\/a>). If you&#8217;re using <a href=\"https:\/\/learndash.com\/support\/docs\/add-ons\/woocommerce\/\">WooCommerce<\/a>, <a href=\"https:\/\/learndash.com\/support\/docs\/add-ons\/memberpress\/\">MemberPress<\/a>, or <strong>any other platform<\/strong> to process payment, this block\/shortcode will not work.<\/p>\n\n\n\n<p>By default, if your course is set to any other status except for &#8220;Open,&#8221; you&#8217;ll see a &#8220;Take This Course&#8221; button on the course page. If you&#8217;re using one of LearnDash&#8217;s default payment methods, this button will begin the payment\/checkout process for the user.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"956\" height=\"320\" src=\"https:\/\/learndash.com\/support\/wp-content\/uploads\/2018\/09\/learndash-take-this-course-button-highlighted.jpg\" alt=\"Example LearnDash payment button\" class=\"wp-image-1999\" style=\"width:538px;height:auto\" srcset=\"https:\/\/learndash.com\/support\/wp-content\/uploads\/2018\/09\/learndash-take-this-course-button-highlighted.jpg 956w, https:\/\/learndash.com\/support\/wp-content\/uploads\/2018\/09\/learndash-take-this-course-button-highlighted-400x134.jpg 400w, https:\/\/learndash.com\/support\/wp-content\/uploads\/2018\/09\/learndash-take-this-course-button-highlighted-768x257.jpg 768w, https:\/\/learndash.com\/support\/wp-content\/uploads\/2018\/09\/learndash-take-this-course-button-highlighted-800x268.jpg 800w\" sizes=\"auto, (max-width: 956px) 100vw, 956px\" \/><\/figure><\/div>\n\n\n<p>If you want to place this button somewhere else on your page (i.e. if you&#8217;re using a page builder to create a custom course landing page), you can use the <code>[learndash_payment_buttons]<\/code> shortcode or block to insert the button anywhere.<\/p>\n\n\n\n<p>If not used directly on a course page, you&#8217;ll want to include the <code>course_id<\/code>:<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.25rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#2e3440ff\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#d8dee9ff;display:none\" aria-label=\"Copy\" class=\"code-block-pro-copy-button\"><textarea class=\"code-block-pro-copy-button-textarea\" aria-hidden=\"true\" readonly>[learndash_payment_buttons course_id=&#8221;12&#8243;]<\/textarea><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2\"><\/path><\/svg><\/span><pre class=\"shiki nord\" style=\"background-color: #2e3440ff\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #ECEFF4\">[<\/span><span style=\"color: #D8DEE9FF\">learndash_payment_buttons course_id<\/span><span style=\"color: #81A1C1\">=<\/span><span style=\"color: #ECEFF4\">&quot;<\/span><span style=\"color: #A3BE8C\">12<\/span><span style=\"color: #ECEFF4\">&quot;<\/span><span style=\"color: #ECEFF4\">]<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-learndash-course-info\">LearnDash Course Info <\/h3>\n\n\n\n<p>This block\/shortcode could be used to help build part of a student profile page. LearnDash Course Info displays 3 things:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>list of registered courses, along with a thumbnail image<\/li>\n\n\n\n<li>list of course progress details, which includes:\n<ul class=\"wp-block-list\">\n<li>course status: Not Started, In Progress or Completed<\/li>\n\n\n\n<li>X out of Y steps completed<\/li>\n\n\n\n<li>the date you started the course<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>list of quizzes you&#8217;ve taken, which includes:\n<ul class=\"wp-block-list\">\n<li>quiz name &amp; link to quiz page<\/li>\n\n\n\n<li>score<\/li>\n\n\n\n<li>points awarded<\/li>\n\n\n\n<li>link to statistics<\/li>\n\n\n\n<li>date you took it<\/li>\n\n\n\n<li>grading status<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n\n\n\n<p>Here&#8217;s what the registered courses looks like when you&#8217;ve included a featured image:<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"1100\" height=\"1584\" src=\"https:\/\/learndash.com\/support\/wp-content\/uploads\/2018\/09\/learndash-course-info-registered-courses.jpg\" alt=\"LearnDash Course Info, registered courses list\" class=\"wp-image-2005\" style=\"width:664px;height:auto\" srcset=\"https:\/\/learndash.com\/support\/wp-content\/uploads\/2018\/09\/learndash-course-info-registered-courses.jpg 1100w, https:\/\/learndash.com\/support\/wp-content\/uploads\/2018\/09\/learndash-course-info-registered-courses-278x400.jpg 278w, https:\/\/learndash.com\/support\/wp-content\/uploads\/2018\/09\/learndash-course-info-registered-courses-768x1106.jpg 768w, https:\/\/learndash.com\/support\/wp-content\/uploads\/2018\/09\/learndash-course-info-registered-courses-556x800.jpg 556w\" sizes=\"auto, (max-width: 1100px) 100vw, 1100px\" \/><\/figure><\/div>\n\n\n<p>Here&#8217;s an example of the course progress information:<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1418\" height=\"234\" src=\"https:\/\/learndash.com\/support\/wp-content\/uploads\/2018\/09\/learndash-course-info-course-progress-details.jpg\" alt=\"LearnDash Course Info, course progress details\" class=\"wp-image-2003\" srcset=\"https:\/\/learndash.com\/support\/wp-content\/uploads\/2018\/09\/learndash-course-info-course-progress-details.jpg 1418w, https:\/\/learndash.com\/support\/wp-content\/uploads\/2018\/09\/learndash-course-info-course-progress-details-400x66.jpg 400w, https:\/\/learndash.com\/support\/wp-content\/uploads\/2018\/09\/learndash-course-info-course-progress-details-768x127.jpg 768w, https:\/\/learndash.com\/support\/wp-content\/uploads\/2018\/09\/learndash-course-info-course-progress-details-800x132.jpg 800w\" sizes=\"auto, (max-width: 1418px) 100vw, 1418px\" \/><\/figure><\/div>\n\n\n<p>And here&#8217;s the quiz information:<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1184\" height=\"368\" src=\"https:\/\/learndash.com\/support\/wp-content\/uploads\/2018\/09\/learndash-course-info-quiz-statistics.jpg\" alt=\"LearnDash Course Info, quiz statistics\" class=\"wp-image-2004\" srcset=\"https:\/\/learndash.com\/support\/wp-content\/uploads\/2018\/09\/learndash-course-info-quiz-statistics.jpg 1184w, https:\/\/learndash.com\/support\/wp-content\/uploads\/2018\/09\/learndash-course-info-quiz-statistics-400x124.jpg 400w, https:\/\/learndash.com\/support\/wp-content\/uploads\/2018\/09\/learndash-course-info-quiz-statistics-768x239.jpg 768w, https:\/\/learndash.com\/support\/wp-content\/uploads\/2018\/09\/learndash-course-info-quiz-statistics-800x249.jpg 800w\" sizes=\"auto, (max-width: 1184px) 100vw, 1184px\" \/><\/figure><\/div>\n\n\n<p>The output might differ slightly depending on which theme you&#8217;re using.<\/p>\n\n\n\n<p>You can use any of the following parameters to customize the output of <code>[ld_course_info]<\/code> (or use a bunch of them together). These are also available when using the Gutenberg block.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><code>registered_show_thumbnail<\/code> &#8211; set to &#8220;true&#8221; to show the thumbnail, or &#8220;false&#8221; to hide it<\/li>\n\n\n\n<li><code>registered_num<\/code> &#8211; limits the number of courses displayed<\/li>\n\n\n\n<li><code>registered_orderby<\/code> &#8211; order the registered courses by ID, title, date <a href=\"https:\/\/codex.wordpress.org\/Class_Reference\/WP_Query#Order_.26_Orderby_Parameters\" rel=\"nofollow\">and more<\/a><\/li>\n\n\n\n<li><code>registered_order<\/code> &#8211; set to either ascending (&#8220;ASC&#8221;) or descending (&#8220;DESC&#8221;)<\/li>\n\n\n\n<li><code>progress_num<\/code> -limits the number of courses displayed in the progress section<\/li>\n\n\n\n<li><code>progress_orderby<\/code> -order courses in the progress section by ID, title, date <a href=\"https:\/\/codex.wordpress.org\/Class_Reference\/WP_Query#Order_.26_Orderby_Parameters\" rel=\"nofollow\">and more<\/a><\/li>\n\n\n\n<li><code>progress_order<\/code> -set to either ascending (&#8220;ASC&#8221;) or descending (&#8220;DESC&#8221;)<\/li>\n\n\n\n<li><code>quiz_num<\/code> &#8211; limit the number of quizzes displayed<\/li>\n\n\n\n<li><code>quiz_orderby<\/code> -order quizzes by ID, title, date <a href=\"https:\/\/codex.wordpress.org\/Class_Reference\/WP_Query#Order_.26_Orderby_Parameters\" rel=\"nofollow\">and more<\/a><\/li>\n\n\n\n<li><code>quiz_order<\/code> &#8211; set to either ascending (&#8220;ASC&#8221;) or descending (&#8220;DESC&#8221;)<span style=\"font-weight: 400;\"><br><\/span><\/li>\n<\/ul>\n\n\n\n<p>You can also specify a <code>user_id<\/code>, but typically you don&#8217;t need this as we&#8217;ll automatically assign it to the current user.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-learndash-login\">LearnDash Login <\/h3>\n\n\n\n<p>Use the LearnDash Login shortcode to add a Login link to a page, post, sidebar widget, or menu item. When clicked, the LearnDash Login Modal pops-up.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"2402\" height=\"1524\" src=\"https:\/\/learndash.com\/support\/wp-content\/uploads\/2018\/09\/learndash-login-and-registration-modal-on-demo-site.png\" alt=\"\" class=\"wp-image-2968\" srcset=\"https:\/\/learndash.com\/support\/wp-content\/uploads\/2018\/09\/learndash-login-and-registration-modal-on-demo-site.png 2402w, https:\/\/learndash.com\/support\/wp-content\/uploads\/2018\/09\/learndash-login-and-registration-modal-on-demo-site-400x254.png 400w, https:\/\/learndash.com\/support\/wp-content\/uploads\/2018\/09\/learndash-login-and-registration-modal-on-demo-site-768x487.png 768w, https:\/\/learndash.com\/support\/wp-content\/uploads\/2018\/09\/learndash-login-and-registration-modal-on-demo-site-800x508.png 800w\" sizes=\"auto, (max-width: 2402px) 100vw, 2402px\" \/><\/figure><\/div>\n\n\n<p>When a user is logged-in, the link will update to: Logout. When clicked, a user will be logged-out of the site.<\/p>\n\n\n\n<p>This shortcode will only work if <a href=\"https:\/\/learndash.com\/support\/docs\/guides\/login-registration\/learndash\/\">LearnDash Login &amp; Registration<\/a> is enabled.<\/p>\n\n\n\n<p>Here are available parameters for this shortcode:<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.25rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#2e3440ff\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#d8dee9ff;display:none\" aria-label=\"Copy\" class=\"code-block-pro-copy-button\"><textarea class=\"code-block-pro-copy-button-textarea\" aria-hidden=\"true\" readonly>&#8216;url&#8217;              => false,\n&#8216;label&#8217;            => false,\n&#8216;icon&#8217;             => false,\n&#8216;placement&#8217;        => false,\n&#8216;class&#8217;            => false,\n&#8216;button&#8217;           => false,\n\n&#8216;login_url&#8217;        => &#8221;,\n&#8216;login_label&#8217;      => __( &#8216;Login&#8217;, &#8216;learndash&#8217; ),\n&#8216;login_icon&#8217;       => &#8216;login&#8217;,\n&#8216;login_placement&#8217;  => &#8216;left&#8217;,\n&#8216;login_class&#8217;      => &#8216;ld-login&#8217;,\n&#8216;login_button&#8217;     => &#8216;true&#8217;,\n\n&#8216;logout_url&#8217;       => &#8221;,\n&#8216;logout_label&#8217;     => __( &#8216;Logout&#8217;, &#8216;learndash&#8217; ),\n&#8216;logout_icon&#8217;      => &#8216;arrow-right&#8217;,\n&#8216;logout_placement&#8217; => &#8216;right&#8217;,\n&#8216;logout_class&#8217;     => &#8216;ld-logout&#8217;,\n&#8216;logout_button&#8217;    => &#8221;,<\/textarea><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2\"><\/path><\/svg><\/span><pre class=\"shiki nord\" style=\"background-color: #2e3440ff\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #ECEFF4\">&#39;<\/span><span style=\"color: #A3BE8C\">url<\/span><span style=\"color: #ECEFF4\">&#39;<\/span><span style=\"color: #D8DEE9FF\">              <\/span><span style=\"color: #81A1C1\">=&gt;<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #81A1C1\">false<\/span><span style=\"color: #ECEFF4\">,<\/span><\/span>\n<span class=\"line\"><span style=\"color: #ECEFF4\">&#39;<\/span><span style=\"color: #A3BE8C\">label<\/span><span style=\"color: #ECEFF4\">&#39;<\/span><span style=\"color: #D8DEE9FF\">            <\/span><span style=\"color: #81A1C1\">=&gt;<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #81A1C1\">false<\/span><span style=\"color: #ECEFF4\">,<\/span><\/span>\n<span class=\"line\"><span style=\"color: #ECEFF4\">&#39;<\/span><span style=\"color: #A3BE8C\">icon<\/span><span style=\"color: #ECEFF4\">&#39;<\/span><span style=\"color: #D8DEE9FF\">             <\/span><span style=\"color: #81A1C1\">=&gt;<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #81A1C1\">false<\/span><span style=\"color: #ECEFF4\">,<\/span><\/span>\n<span class=\"line\"><span style=\"color: #ECEFF4\">&#39;<\/span><span style=\"color: #A3BE8C\">placement<\/span><span style=\"color: #ECEFF4\">&#39;<\/span><span style=\"color: #D8DEE9FF\">        <\/span><span style=\"color: #81A1C1\">=&gt;<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #81A1C1\">false<\/span><span style=\"color: #ECEFF4\">,<\/span><\/span>\n<span class=\"line\"><span style=\"color: #ECEFF4\">&#39;<\/span><span style=\"color: #A3BE8C\">class<\/span><span style=\"color: #ECEFF4\">&#39;<\/span><span style=\"color: #D8DEE9FF\">            <\/span><span style=\"color: #81A1C1\">=&gt;<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #81A1C1\">false<\/span><span style=\"color: #ECEFF4\">,<\/span><\/span>\n<span class=\"line\"><span style=\"color: #ECEFF4\">&#39;<\/span><span style=\"color: #A3BE8C\">button<\/span><span style=\"color: #ECEFF4\">&#39;<\/span><span style=\"color: #D8DEE9FF\">           <\/span><span style=\"color: #81A1C1\">=&gt;<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #81A1C1\">false<\/span><span style=\"color: #ECEFF4\">,<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #ECEFF4\">&#39;<\/span><span style=\"color: #A3BE8C\">login_url<\/span><span style=\"color: #ECEFF4\">&#39;<\/span><span style=\"color: #D8DEE9FF\">        <\/span><span style=\"color: #81A1C1\">=&gt;<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #ECEFF4\">&#39;&#39;<\/span><span style=\"color: #ECEFF4\">,<\/span><\/span>\n<span class=\"line\"><span style=\"color: #ECEFF4\">&#39;<\/span><span style=\"color: #A3BE8C\">login_label<\/span><span style=\"color: #ECEFF4\">&#39;<\/span><span style=\"color: #D8DEE9FF\">      <\/span><span style=\"color: #81A1C1\">=&gt;<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #88C0D0\">__<\/span><span style=\"color: #ECEFF4\">(<\/span><span style=\"color: #88C0D0\"> <\/span><span style=\"color: #ECEFF4\">&#39;<\/span><span style=\"color: #A3BE8C\">Login<\/span><span style=\"color: #ECEFF4\">&#39;<\/span><span style=\"color: #ECEFF4\">,<\/span><span style=\"color: #88C0D0\"> <\/span><span style=\"color: #ECEFF4\">&#39;<\/span><span style=\"color: #A3BE8C\">learndash<\/span><span style=\"color: #ECEFF4\">&#39;<\/span><span style=\"color: #88C0D0\"> <\/span><span style=\"color: #ECEFF4\">),<\/span><\/span>\n<span class=\"line\"><span style=\"color: #ECEFF4\">&#39;<\/span><span style=\"color: #A3BE8C\">login_icon<\/span><span style=\"color: #ECEFF4\">&#39;<\/span><span style=\"color: #D8DEE9FF\">       <\/span><span style=\"color: #81A1C1\">=&gt;<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #ECEFF4\">&#39;<\/span><span style=\"color: #A3BE8C\">login<\/span><span style=\"color: #ECEFF4\">&#39;<\/span><span style=\"color: #ECEFF4\">,<\/span><\/span>\n<span class=\"line\"><span style=\"color: #ECEFF4\">&#39;<\/span><span style=\"color: #A3BE8C\">login_placement<\/span><span style=\"color: #ECEFF4\">&#39;<\/span><span style=\"color: #D8DEE9FF\">  <\/span><span style=\"color: #81A1C1\">=&gt;<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #ECEFF4\">&#39;<\/span><span style=\"color: #A3BE8C\">left<\/span><span style=\"color: #ECEFF4\">&#39;<\/span><span style=\"color: #ECEFF4\">,<\/span><\/span>\n<span class=\"line\"><span style=\"color: #ECEFF4\">&#39;<\/span><span style=\"color: #A3BE8C\">login_class<\/span><span style=\"color: #ECEFF4\">&#39;<\/span><span style=\"color: #D8DEE9FF\">      <\/span><span style=\"color: #81A1C1\">=&gt;<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #ECEFF4\">&#39;<\/span><span style=\"color: #A3BE8C\">ld-login<\/span><span style=\"color: #ECEFF4\">&#39;<\/span><span style=\"color: #ECEFF4\">,<\/span><\/span>\n<span class=\"line\"><span style=\"color: #ECEFF4\">&#39;<\/span><span style=\"color: #A3BE8C\">login_button<\/span><span style=\"color: #ECEFF4\">&#39;<\/span><span style=\"color: #D8DEE9FF\">     <\/span><span style=\"color: #81A1C1\">=&gt;<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #ECEFF4\">&#39;<\/span><span style=\"color: #A3BE8C\">true<\/span><span style=\"color: #ECEFF4\">&#39;<\/span><span style=\"color: #ECEFF4\">,<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #ECEFF4\">&#39;<\/span><span style=\"color: #A3BE8C\">logout_url<\/span><span style=\"color: #ECEFF4\">&#39;<\/span><span style=\"color: #D8DEE9FF\">       <\/span><span style=\"color: #81A1C1\">=&gt;<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #ECEFF4\">&#39;&#39;<\/span><span style=\"color: #ECEFF4\">,<\/span><\/span>\n<span class=\"line\"><span style=\"color: #ECEFF4\">&#39;<\/span><span style=\"color: #A3BE8C\">logout_label<\/span><span style=\"color: #ECEFF4\">&#39;<\/span><span style=\"color: #D8DEE9FF\">     <\/span><span style=\"color: #81A1C1\">=&gt;<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #88C0D0\">__<\/span><span style=\"color: #ECEFF4\">(<\/span><span style=\"color: #88C0D0\"> <\/span><span style=\"color: #ECEFF4\">&#39;<\/span><span style=\"color: #A3BE8C\">Logout<\/span><span style=\"color: #ECEFF4\">&#39;<\/span><span style=\"color: #ECEFF4\">,<\/span><span style=\"color: #88C0D0\"> <\/span><span style=\"color: #ECEFF4\">&#39;<\/span><span style=\"color: #A3BE8C\">learndash<\/span><span style=\"color: #ECEFF4\">&#39;<\/span><span style=\"color: #88C0D0\"> <\/span><span style=\"color: #ECEFF4\">),<\/span><\/span>\n<span class=\"line\"><span style=\"color: #ECEFF4\">&#39;<\/span><span style=\"color: #A3BE8C\">logout_icon<\/span><span style=\"color: #ECEFF4\">&#39;<\/span><span style=\"color: #D8DEE9FF\">      <\/span><span style=\"color: #81A1C1\">=&gt;<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #ECEFF4\">&#39;<\/span><span style=\"color: #A3BE8C\">arrow-right<\/span><span style=\"color: #ECEFF4\">&#39;<\/span><span style=\"color: #ECEFF4\">,<\/span><\/span>\n<span class=\"line\"><span style=\"color: #ECEFF4\">&#39;<\/span><span style=\"color: #A3BE8C\">logout_placement<\/span><span style=\"color: #ECEFF4\">&#39;<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #81A1C1\">=&gt;<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #ECEFF4\">&#39;<\/span><span style=\"color: #A3BE8C\">right<\/span><span style=\"color: #ECEFF4\">&#39;<\/span><span style=\"color: #ECEFF4\">,<\/span><\/span>\n<span class=\"line\"><span style=\"color: #ECEFF4\">&#39;<\/span><span style=\"color: #A3BE8C\">logout_class<\/span><span style=\"color: #ECEFF4\">&#39;<\/span><span style=\"color: #D8DEE9FF\">     <\/span><span style=\"color: #81A1C1\">=&gt;<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #ECEFF4\">&#39;<\/span><span style=\"color: #A3BE8C\">ld-logout<\/span><span style=\"color: #ECEFF4\">&#39;<\/span><span style=\"color: #ECEFF4\">,<\/span><\/span>\n<span class=\"line\"><span style=\"color: #ECEFF4\">&#39;<\/span><span style=\"color: #A3BE8C\">logout_button<\/span><span style=\"color: #ECEFF4\">&#39;<\/span><span style=\"color: #D8DEE9FF\">    <\/span><span style=\"color: #81A1C1\">=&gt;<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #ECEFF4\">&#39;&#39;<\/span><span style=\"color: #ECEFF4\">,<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p>Here&#8217;s a sample use case for these attributes:<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.25rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#2e3440ff\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#d8dee9ff;display:none\" aria-label=\"Copy\" class=\"code-block-pro-copy-button\"><textarea class=\"code-block-pro-copy-button-textarea\" aria-hidden=\"true\" readonly>[learndash_login logout_label=&#8221;Custom Logout label&#8221;]<\/textarea><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2\"><\/path><\/svg><\/span><pre class=\"shiki nord\" style=\"background-color: #2e3440ff\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #ECEFF4\">[<\/span><span style=\"color: #D8DEE9FF\">learndash_login logout_label<\/span><span style=\"color: #81A1C1\">=<\/span><span style=\"color: #ECEFF4\">&quot;<\/span><span style=\"color: #A3BE8C\">Custom Logout label<\/span><span style=\"color: #ECEFF4\">&quot;<\/span><span style=\"color: #ECEFF4\">]<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-learndash-certificate\">LearnDash Certificate <\/h3>\n\n\n\n<p><span style=\"font-weight: 400;\">This displays a Certificate download link for an earned certificate. One of the following p<\/span><span style=\"font-weight: 400;\">arameters is required in order for the appropriate download link is displayed:<\/span><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><span style=\"font-weight: 400;\"><code>course_id<\/code> &#8211; the ID number of a specific course<\/span><\/li>\n\n\n\n<li><span style=\"font-weight: 400;\"><code>quiz_id<\/code> &#8211; the ID number of a specific quiz<\/span><\/li>\n<\/ul>\n\n\n\n<p>If you want to display a certificate for a certain quiz, both parameters above need to be used:<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.25rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#2e3440ff\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#d8dee9ff;display:none\" aria-label=\"Copy\" class=\"code-block-pro-copy-button\"><textarea class=\"code-block-pro-copy-button-textarea\" aria-hidden=\"true\" readonly>[ld_certificate course_id=&#8221;123&#8243; quiz_id=&#8221;456&#8243;]<\/textarea><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2\"><\/path><\/svg><\/span><pre class=\"shiki nord\" style=\"background-color: #2e3440ff\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #ECEFF4\">[<\/span><span style=\"color: #D8DEE9FF\">ld_certificate course_id<\/span><span style=\"color: #81A1C1\">=<\/span><span style=\"color: #ECEFF4\">&quot;<\/span><span style=\"color: #A3BE8C\">123<\/span><span style=\"color: #ECEFF4\">&quot;<\/span><span style=\"color: #D8DEE9FF\"> quiz_id<\/span><span style=\"color: #81A1C1\">=<\/span><span style=\"color: #ECEFF4\">&quot;<\/span><span style=\"color: #A3BE8C\">456<\/span><span style=\"color: #ECEFF4\">&quot;<\/span><span style=\"color: #ECEFF4\">]<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p><span style=\"font-weight: 400;\">There are also optional parameters:<\/span><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><span style=\"font-weight: 400;\"><code>user_id<\/code> &#8211; option to show link for a <\/span><span style=\"font-weight: 400;\">specific User <em>(leave blank for current User)<\/em><\/span><\/li>\n\n\n\n<li><code>group_id<\/code> &#8211; option to show link to a specific group<\/li>\n\n\n\n<li><span style=\"font-weight: 400;\"><code>label<\/code> &#8211; l<\/span><span style=\"font-weight: 400;\">abel for certificate button\/button link shown to user<\/span><\/li>\n\n\n\n<li><span style=\"font-weight: 400;\"><code>class<\/code> &#8211; <\/span><span style=\"font-weight: 400;\">HTML class for link element<\/span><\/li>\n\n\n\n<li><span style=\"font-weight: 400;\"><code>context<\/code> &#8211; u<\/span><span style=\"font-weight: 400;\">ser defined value to be passed into shortcode handler<\/span><\/li>\n\n\n\n<li><span style=\"font-weight: 400;\"><code>callback<\/code> &#8211; c<\/span><span style=\"font-weight: 400;\">ustom callback function to be used instead of default output<\/span><\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-learndash-resume-course\">LearnDash Resume Course <\/h3>\n\n\n\n<p><span style=\"font-weight: 400;\">Displays an option for Users to quickly return to the last step in a Course (format: link\/button).<\/span><\/p>\n\n\n\n<p><span style=\"font-weight: 400;\">Supported Parameters:<\/span><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><span style=\"font-weight: 400;\"><code>course_id<\/code> &#8211; e<\/span><span style=\"font-weight: 400;\">nter single Course ID for the resume link <em>(<i data-stringify-type=\"italic\">leave blank if used within a Course or if used outside of a course page, it will automatically pick up the last active course<\/i>)<\/em><\/span><\/li>\n\n\n\n<li><span style=\"font-weight: 400;\"><code>user_id<\/code> &#8211; display resume option for a specific User <em>(leave blank for current User)<\/em><\/span><\/li>\n\n\n\n<li><span style=\"font-weight: 400;\"><code>label<\/code> &#8211; label for link\/button shown to User<\/span><\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-conditionally-display-content\">Conditionally Display Content<\/h2>\n\n\n\n<p>These blocks &amp; shortcodes work a little differently than the ones above. These help you show or hide specific information for certain users, based on their enrollment status.<\/p>\n\n\n\n<p>You can include HTML, images, video or anything else you&#8217;d like inside of these shortcodes.<\/p>\n\n\n\n<p class=\"note\">All of these shortcodes require a beginning and ending like so: <\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.25rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#2e3440ff\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#d8dee9ff;display:none\" aria-label=\"Copy\" class=\"code-block-pro-copy-button\"><textarea class=\"code-block-pro-copy-button-textarea\" aria-hidden=\"true\" readonly>[shortcode]and an ending[\/shortcode]<\/textarea><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2\"><\/path><\/svg><\/span><pre class=\"shiki nord\" style=\"background-color: #2e3440ff\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #ECEFF4\">[<\/span><span style=\"color: #D8DEE9FF\">shortcode<\/span><span style=\"color: #ECEFF4\">]<\/span><span style=\"color: #81A1C1\">and<\/span><span style=\"color: #D8DEE9FF\"> an ending<\/span><span style=\"color: #ECEFF4\">[<\/span><span style=\"color: #81A1C1\">\/<\/span><span style=\"color: #D8DEE9FF\">shortcode<\/span><span style=\"color: #ECEFF4\">]<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p>Be sure to include both.<\/p>\n\n\n\n<p>When using these Gutenberg blocks, you&#8217;ll see a small indicator when hovering over the block to let you know that the content you add will be placed inside the conditional block:<\/p>\n\n\n<div class=\"wp-block-image alignnone size-large wp-image-2007\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1535\" height=\"173\" src=\"https:\/\/learndash.com\/support\/wp-content\/uploads\/2018\/09\/learndash-course-in-progress-block-admin-label.jpg\" alt=\"LearnDash conditional shortcode, block example in admin\" class=\"wp-image-2007\" srcset=\"https:\/\/learndash.com\/support\/wp-content\/uploads\/2018\/09\/learndash-course-in-progress-block-admin-label.jpg 1535w, https:\/\/learndash.com\/support\/wp-content\/uploads\/2018\/09\/learndash-course-in-progress-block-admin-label-400x45.jpg 400w, https:\/\/learndash.com\/support\/wp-content\/uploads\/2018\/09\/learndash-course-in-progress-block-admin-label-768x87.jpg 768w, https:\/\/learndash.com\/support\/wp-content\/uploads\/2018\/09\/learndash-course-in-progress-block-admin-label-800x90.jpg 800w\" sizes=\"auto, (max-width: 1535px) 100vw, 1535px\" \/><\/figure><\/div>\n\n\n<p>When using Elementor Templates, the <code>autop=\"false\"<\/code> can be added within the shortcode for all conditionally displayed content to avoid having unwanted <code>&lt;p&gt;<\/code> and <code>&lt;br&gt;<\/code> elements from appearing throughout the template. This can be useful to avoid layout issues within templates.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-learndash-visitor\">LearnDash Visitor <code><\/code><\/h3>\n\n\n\n<p><code>[visitor]<\/code> You can use this block\/shortcode to only show certain information to students who are not yet enrolled in a course. It is most commonly used on the course page itself, but can also be used on a custom sales page by specifying a <code>course_id<\/code>. Here&#8217;s an example:<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.25rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#2e3440ff\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#d8dee9ff;display:none\" aria-label=\"Copy\" class=\"code-block-pro-copy-button\"><textarea class=\"code-block-pro-copy-button-textarea\" aria-hidden=\"true\" readonly>[visitor course_id=&#8221;12&#8243;]This will only be seen by users who DO NOT have access to the course. You could provide a link to a signup form or email capture here.[\/visitor]<\/textarea><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2\"><\/path><\/svg><\/span><pre class=\"shiki nord\" style=\"background-color: #2e3440ff\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #ECEFF4\">[<\/span><span style=\"color: #D8DEE9FF\">visitor course_id<\/span><span style=\"color: #81A1C1\">=<\/span><span style=\"color: #ECEFF4\">&quot;<\/span><span style=\"color: #A3BE8C\">12<\/span><span style=\"color: #ECEFF4\">&quot;<\/span><span style=\"color: #ECEFF4\">]<\/span><span style=\"color: #D8DEE9FF\">This will only be seen by users who DO NOT have access to the course<\/span><span style=\"color: #81A1C1\">.<\/span><span style=\"color: #D8DEE9FF\"> You could provide a link to a signup form <\/span><span style=\"color: #81A1C1\">or<\/span><span style=\"color: #D8DEE9FF\"> email capture here<\/span><span style=\"color: #81A1C1\">.<\/span><span style=\"color: #ECEFF4\">[<\/span><span style=\"color: #81A1C1\">\/<\/span><span style=\"color: #D8DEE9FF\">visitor<\/span><span style=\"color: #ECEFF4\">]<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-learndash-student\">LearnDash Student <code><\/code><\/h3>\n\n\n\n<p><code>[student]<\/code>  Use this shortcode to only display some content to a student who has access to the course.<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.25rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#2e3440ff\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#d8dee9ff;display:none\" aria-label=\"Copy\" class=\"code-block-pro-copy-button\"><textarea class=\"code-block-pro-copy-button-textarea\" aria-hidden=\"true\" readonly>[student course_id=&#8221;12&#8243;]This will only be seen by users who HAVE ACCESS to the course.[\/student]<\/textarea><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2\"><\/path><\/svg><\/span><pre class=\"shiki nord\" style=\"background-color: #2e3440ff\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #ECEFF4\">[<\/span><span style=\"color: #D8DEE9FF\">student course_id<\/span><span style=\"color: #81A1C1\">=<\/span><span style=\"color: #ECEFF4\">&quot;<\/span><span style=\"color: #A3BE8C\">12<\/span><span style=\"color: #ECEFF4\">&quot;<\/span><span style=\"color: #ECEFF4\">]<\/span><span style=\"color: #D8DEE9FF\">This will only be seen by users who HAVE ACCESS to the course<\/span><span style=\"color: #81A1C1\">.<\/span><span style=\"color: #ECEFF4\">[<\/span><span style=\"color: #81A1C1\">\/<\/span><span style=\"color: #D8DEE9FF\">student<\/span><span style=\"color: #ECEFF4\">]<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p>You can also specify multiple course IDs on the shortcode with the following format:<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.25rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#2e3440ff\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#d8dee9ff;display:none\" aria-label=\"Copy\" class=\"code-block-pro-copy-button\"><textarea class=\"code-block-pro-copy-button-textarea\" aria-hidden=\"true\" readonly>[student course_id=&#8221;4523,2894&#8243;]This will only be seen by users who HAVE ACCESS to both the courses.[\/student]<\/textarea><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2\"><\/path><\/svg><\/span><pre class=\"shiki nord\" style=\"background-color: #2e3440ff\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #ECEFF4\">[<\/span><span style=\"color: #D8DEE9FF\">student course_id<\/span><span style=\"color: #81A1C1\">=<\/span><span style=\"color: #ECEFF4\">&quot;<\/span><span style=\"color: #A3BE8C\">4523,2894<\/span><span style=\"color: #ECEFF4\">&quot;<\/span><span style=\"color: #ECEFF4\">]<\/span><span style=\"color: #D8DEE9FF\">This will only be seen by users who HAVE ACCESS to both the courses<\/span><span style=\"color: #81A1C1\">.<\/span><span style=\"color: #ECEFF4\">[<\/span><span style=\"color: #81A1C1\">\/<\/span><span style=\"color: #D8DEE9FF\">student<\/span><span style=\"color: #ECEFF4\">]<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p>If you want to limit to a specific group(s), you can use the <code>group_id<\/code> parameter just like the <code>course_id<\/code> parameter and specify the ID of the group(s) you want to only show content to for those that are enrolled into those groups.<\/p>\n\n\n\n<p>You could also add a <code>user_id<\/code> parameter to the <code>[student]<\/code> shortcode if you wanted to target a specific student by his or her ID.<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.25rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#2e3440ff\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#d8dee9ff;display:none\" aria-label=\"Copy\" class=\"code-block-pro-copy-button\"><textarea class=\"code-block-pro-copy-button-textarea\" aria-hidden=\"true\" readonly>[student user_id=&#8221;5&#8243;] This will only be seen by the user whose ID is 5. No other students will see it. [\/student]<\/textarea><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2\"><\/path><\/svg><\/span><pre class=\"shiki nord\" style=\"background-color: #2e3440ff\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #ECEFF4\">[<\/span><span style=\"color: #D8DEE9FF\">student user_id<\/span><span style=\"color: #81A1C1\">=<\/span><span style=\"color: #ECEFF4\">&quot;<\/span><span style=\"color: #A3BE8C\">5<\/span><span style=\"color: #ECEFF4\">&quot;<\/span><span style=\"color: #ECEFF4\">]<\/span><span style=\"color: #D8DEE9FF\"> This will only be seen by the user whose ID is <\/span><span style=\"color: #B48EAD\">5<\/span><span style=\"color: #ECEFF4\">.<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #81A1C1\">No<\/span><span style=\"color: #D8DEE9FF\"> other students will see it<\/span><span style=\"color: #81A1C1\">.<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #ECEFF4\">[<\/span><span style=\"color: #81A1C1\">\/<\/span><span style=\"color: #D8DEE9FF\">student<\/span><span style=\"color: #ECEFF4\">]<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-learndash-course-not-started\">LearnDash Course Not Started <code><\/code><\/h3>\n\n\n\n<p><code>[course_notstarted]<\/code> This will show content to those who have not completed any steps in the course thus far.<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.25rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#2e3440ff\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#d8dee9ff;display:none\" aria-label=\"Copy\" class=\"code-block-pro-copy-button\"><textarea class=\"code-block-pro-copy-button-textarea\" aria-hidden=\"true\" readonly>[course_notstarted course_id=&#8221;12&#8243;]This will only be seen by users who have not completed any steps in the course yet. You could provide a message encouraging them to get started.[\/course_notstarted]<\/textarea><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2\"><\/path><\/svg><\/span><pre class=\"shiki nord\" style=\"background-color: #2e3440ff\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #ECEFF4\">[<\/span><span style=\"color: #D8DEE9FF\">course_notstarted course_id<\/span><span style=\"color: #81A1C1\">=<\/span><span style=\"color: #ECEFF4\">&quot;<\/span><span style=\"color: #A3BE8C\">12<\/span><span style=\"color: #ECEFF4\">&quot;<\/span><span style=\"color: #ECEFF4\">]<\/span><span style=\"color: #D8DEE9FF\">This will only be seen by users who have not completed any steps in the course yet<\/span><span style=\"color: #81A1C1\">.<\/span><span style=\"color: #D8DEE9FF\"> You could provide a message encouraging them to get started<\/span><span style=\"color: #81A1C1\">.<\/span><span style=\"color: #ECEFF4\">[<\/span><span style=\"color: #81A1C1\">\/<\/span><span style=\"color: #D8DEE9FF\">course_notstarted<\/span><span style=\"color: #ECEFF4\">]<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-learndash-course-in-progress\">LearnDash Course In Progress <code><\/code><\/h3>\n\n\n\n<p><code>[course_inprogress]<\/code> This shows content to a student who has started the course, but not yet finished it.<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.25rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#2e3440ff\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#d8dee9ff;display:none\" aria-label=\"Copy\" class=\"code-block-pro-copy-button\"><textarea class=\"code-block-pro-copy-button-textarea\" aria-hidden=\"true\" readonly>[course_inprogress course_id=&#8221;12&#8243;]This will only be seen by users who have started the course (completed at least one step), but not yet finished it. You could provide encouragement for them to finish it soon.[\/course_inprogress]<\/textarea><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2\"><\/path><\/svg><\/span><pre class=\"shiki nord\" style=\"background-color: #2e3440ff\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #ECEFF4\">[<\/span><span style=\"color: #D8DEE9FF\">course_inprogress course_id<\/span><span style=\"color: #81A1C1\">=<\/span><span style=\"color: #ECEFF4\">&quot;<\/span><span style=\"color: #A3BE8C\">12<\/span><span style=\"color: #ECEFF4\">&quot;<\/span><span style=\"color: #ECEFF4\">]<\/span><span style=\"color: #D8DEE9FF\">This will only be seen by users who have started the <\/span><span style=\"color: #88C0D0\">course <\/span><span style=\"color: #ECEFF4\">(<\/span><span style=\"color: #88C0D0\">completed at least one step<\/span><span style=\"color: #ECEFF4\">),<\/span><span style=\"color: #D8DEE9FF\"> but not yet finished it<\/span><span style=\"color: #81A1C1\">.<\/span><span style=\"color: #D8DEE9FF\"> You could provide encouragement <\/span><span style=\"color: #81A1C1\">for<\/span><span style=\"color: #D8DEE9FF\"> them to finish it soon<\/span><span style=\"color: #81A1C1\">.<\/span><span style=\"color: #ECEFF4\">[<\/span><span style=\"color: #81A1C1\">\/<\/span><span style=\"color: #D8DEE9FF\">course_inprogress<\/span><span style=\"color: #ECEFF4\">]<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-learndash-course-complete\">LearnDash Course Complete <code><\/code><\/h3>\n\n\n\n<p><code>[course_complete]<\/code> Use the <code>[course_complete]<\/code> shortcode to show content only to students who have fully completed a course (completed all steps &amp; passed all required quizzes).<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.25rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#2e3440ff\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#d8dee9ff;display:none\" aria-label=\"Copy\" class=\"code-block-pro-copy-button\"><textarea class=\"code-block-pro-copy-button-textarea\" aria-hidden=\"true\" readonly>[course_complete course_id=&#8221;12&#8243;]This will only be seen by users who have fully completed the course. You could provide a link to a certificate here, or some related courses they might want to try next.[\/course_complete]<\/textarea><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2\"><\/path><\/svg><\/span><pre class=\"shiki nord\" style=\"background-color: #2e3440ff\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #ECEFF4\">[<\/span><span style=\"color: #D8DEE9FF\">course_complete course_id<\/span><span style=\"color: #81A1C1\">=<\/span><span style=\"color: #ECEFF4\">&quot;<\/span><span style=\"color: #A3BE8C\">12<\/span><span style=\"color: #ECEFF4\">&quot;<\/span><span style=\"color: #ECEFF4\">]<\/span><span style=\"color: #D8DEE9FF\">This will only be seen by users who have fully completed the course<\/span><span style=\"color: #81A1C1\">.<\/span><span style=\"color: #D8DEE9FF\"> You could provide a link to a certificate here<\/span><span style=\"color: #ECEFF4\">,<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #81A1C1\">or<\/span><span style=\"color: #D8DEE9FF\"> some related courses they might want to <\/span><span style=\"color: #81A1C1\">try<\/span><span style=\"color: #D8DEE9FF\"> next<\/span><span style=\"color: #81A1C1\">.<\/span><span style=\"color: #ECEFF4\">[<\/span><span style=\"color: #81A1C1\">\/<\/span><span style=\"color: #D8DEE9FF\">course_complete<\/span><span style=\"color: #ECEFF4\">]<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-learndash-quiz-complete\">LearnDash Quiz Complete <code><\/code><\/h3>\n\n\n\n<p><code>[ld_quiz_complete]<\/code> Use the <code>[ld_quiz_complete]<\/code> shortcode to show content only to students who have fully completed a quiz.<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.25rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#2e3440ff\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#d8dee9ff;display:none\" aria-label=\"Copy\" class=\"code-block-pro-copy-button\"><textarea class=\"code-block-pro-copy-button-textarea\" aria-hidden=\"true\" readonly>[ld_quiz_complete quiz_id=&#8221;32&#8243;]This will only be seen by users who have fully completed the course. You could provide a link to a certificate here, or some related courses they might want to try next.[\/ld_quiz_complete]<\/textarea><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2\"><\/path><\/svg><\/span><pre class=\"shiki nord\" style=\"background-color: #2e3440ff\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #ECEFF4\">[<\/span><span style=\"color: #D8DEE9FF\">ld_quiz_complete quiz_id<\/span><span style=\"color: #81A1C1\">=<\/span><span style=\"color: #ECEFF4\">&quot;<\/span><span style=\"color: #A3BE8C\">32<\/span><span style=\"color: #ECEFF4\">&quot;<\/span><span style=\"color: #ECEFF4\">]<\/span><span style=\"color: #D8DEE9FF\">This will only be seen by users who have fully completed the course<\/span><span style=\"color: #81A1C1\">.<\/span><span style=\"color: #D8DEE9FF\"> You could provide a link to a certificate here<\/span><span style=\"color: #ECEFF4\">,<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #81A1C1\">or<\/span><span style=\"color: #D8DEE9FF\"> some related courses they might want to <\/span><span style=\"color: #81A1C1\">try<\/span><span style=\"color: #D8DEE9FF\"> next<\/span><span style=\"color: #81A1C1\">.<\/span><span style=\"color: #ECEFF4\">[<\/span><span style=\"color: #81A1C1\">\/<\/span><span style=\"color: #D8DEE9FF\">ld_quiz_complete<\/span><span style=\"color: #ECEFF4\">]<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-learndash-group-message\">LearnDash Group Message <code><\/code><\/h3>\n\n\n\n<p><code>[ld_group]<\/code> Use the <code>[ld_group]<\/code> shortcode to show content only to students enrolled in the specified group. Requires group ID.<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.25rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#2e3440ff\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#d8dee9ff;display:none\" aria-label=\"Copy\" class=\"code-block-pro-copy-button\"><textarea class=\"code-block-pro-copy-button-textarea\" aria-hidden=\"true\" readonly>[ld_group group_id=&#8221;32&#8243;]This will only be seen by users who have access to the group with the ID of 32.[\/ld_group]<\/textarea><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2\"><\/path><\/svg><\/span><pre class=\"shiki nord\" style=\"background-color: #2e3440ff\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #ECEFF4\">[<\/span><span style=\"color: #D8DEE9FF\">ld_group group_id<\/span><span style=\"color: #81A1C1\">=<\/span><span style=\"color: #ECEFF4\">&quot;<\/span><span style=\"color: #A3BE8C\">32<\/span><span style=\"color: #ECEFF4\">&quot;<\/span><span style=\"color: #ECEFF4\">]<\/span><span style=\"color: #D8DEE9FF\">This will only be seen by users who have access to the group with the ID of <\/span><span style=\"color: #B48EAD\">32<\/span><span style=\"color: #ECEFF4\">.[<\/span><span style=\"color: #81A1C1\">\/<\/span><span style=\"color: #D8DEE9FF\">ld_group<\/span><span style=\"color: #ECEFF4\">]<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-learndash-reset-password\">LearnDash Reset Password <\/h3>\n\n\n\n<p>The new LearnDash Reset Password block allows you to set a &#8220;Reset Password&#8221; page for your users.<\/p>\n\n\n\n<p>Just create a new page and insert the block anywhere you want. This will allow your users to reset their account passwords whenever they need to.<\/p>\n\n\n\n<p>You can also use the shortcode <code>[ld_reset_password]<\/code> instead of the block and you can set the width parameter.<\/p>\n\n\n\n<p>On the block settings, you can change the width of the form to your liking.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Shortcodes and blocks provide you with additional ways to insert LearnDash content into your courses, pages, posts and other custom post types. This article will list out every piece of dynamic LearnDash content you can add to your site, and explain how to do it with both a shortcode and a block. Creating a certificate?&#8230;<\/p>\n","protected":false},"author":59,"featured_media":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_helpful_status":1,"_kad_blocks_custom_css":"","_kad_blocks_head_custom_js":"","_kad_blocks_body_custom_js":"","_kad_blocks_footer_custom_js":"","_swpsp_post_exclude":false,"_kad_post_transparent":"","_kad_post_title":"","_kad_post_layout":"","_kad_post_sidebar_id":"","_kad_post_content_style":"","_kad_post_vertical_padding":"","_kad_post_feature":"","_kad_post_feature_position":"","_kad_post_header":false,"_kad_post_footer":false,"footnotes":""},"doc_category":[179],"doc_tag":[],"knowledge_base":[154],"class_list":["post-54","docs","type-docs","status-publish","hentry","doc_category-getting-started-with-learndash","knowledge_base-core"],"year_month":"2026-04","word_count":5124,"total_views":"36507","reactions":{"happy":"0","normal":"0","sad":"0"},"author_info":{"display_name":"Matt Cromwell","author_link":"https:\/\/learndash.com\/support\/author\/mattc\/"},"doc_category_info":[{"term_name":"Getting Started with LearnDash","term_url":"https:\/\/learndash.com\/support\/kb\/core\/getting-started-with-learndash\/"}],"doc_tag_info":[],"taxonomy_info":{"doc_category":[{"value":179,"label":"Getting Started with LearnDash"}],"knowledge_base":[{"value":154,"label":"LearnDash Core"}]},"featured_image_src_large":false,"comment_info":0,"knowledge_base_info":[{"term_name":"LearnDash Core","term_url":"https:\/\/learndash.com\/support\/kb\/core\/","term_slug":"core"}],"knowledge_base_slug":["core"],"_links":{"self":[{"href":"https:\/\/learndash.com\/support\/wp-json\/wp\/v2\/docs\/54","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/learndash.com\/support\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/learndash.com\/support\/wp-json\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/learndash.com\/support\/wp-json\/wp\/v2\/users\/59"}],"replies":[{"embeddable":true,"href":"https:\/\/learndash.com\/support\/wp-json\/wp\/v2\/comments?post=54"}],"version-history":[{"count":72,"href":"https:\/\/learndash.com\/support\/wp-json\/wp\/v2\/docs\/54\/revisions"}],"predecessor-version":[{"id":10155,"href":"https:\/\/learndash.com\/support\/wp-json\/wp\/v2\/docs\/54\/revisions\/10155"}],"wp:attachment":[{"href":"https:\/\/learndash.com\/support\/wp-json\/wp\/v2\/media?parent=54"}],"wp:term":[{"taxonomy":"doc_category","embeddable":true,"href":"https:\/\/learndash.com\/support\/wp-json\/wp\/v2\/doc_category?post=54"},{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/learndash.com\/support\/wp-json\/wp\/v2\/doc_tag?post=54"},{"taxonomy":"knowledge_base","embeddable":true,"href":"https:\/\/learndash.com\/support\/wp-json\/wp\/v2\/knowledge_base?post=54"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}