{"id":7334,"date":"2024-10-18T15:52:10","date_gmt":"2024-10-18T19:52:10","guid":{"rendered":"https:\/\/learndash.com\/support\/docs\/faqs\/is-there-a-shortcode-for-displaying-a-single-lesson-in-learndash\/"},"modified":"2026-04-22T09:22:16","modified_gmt":"2026-04-22T13:22:16","password":"","slug":"single-lesson-shortcode","status":"publish","type":"docs","link":"https:\/\/learndash.com\/support\/kb\/resources\/uncategorized\/single-lesson-shortcode\/","title":{"rendered":"Is there a shortcode for displaying a single lesson in LearnDash?"},"content":{"rendered":"\n<p><span style=\"font-weight: 400;\">Unfortunately, LearnDash doesn&#8217;t have a built-in shortcode specifically designed to display a single lesson directly. However, you can easily create a direct link to the lesson by using its permalink. Simply copy the URL from the address bar while viewing the lesson, and then place this link on any page or post you like.<\/span><span style=\"font-weight: 400;\"><br><\/span><span style=\"font-weight: 400;\"><br><\/span><span style=\"font-weight: 400;\">Alternatively, if you want to showcase a specific lesson, you can utilize lesson tags or categories with the <\/span><span style=\"font-weight: 400;\">[ld_lesson_list]<\/span><span style=\"font-weight: 400;\"> shortcode. Here are some examples:<\/span><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><b>Show lessons with a specific tag:<\/b><b><br><\/b><span style=\"font-weight: 400;\">[ld_lesson_list tag=&#8221;science&#8221;]<\/span><\/li>\n\n\n\n<li><b>Show lessons with a specified tag ID:<\/b><b><br><\/b><span style=\"font-weight: 400;\">[ld_lesson_list tag_id=&#8221;40&#8243;]<\/span><\/li>\n\n\n\n<li><b>Show lessons with a specific category ID:<\/b><b><br><\/b><span style=\"font-weight: 400;\">[ld_lesson_list cat=&#8221;5&#8243;]<\/span><\/li>\n\n\n\n<li><b>Show lessons with a specified category slug:<\/b><b><br><\/b><span style=\"font-weight: 400;\">[ld_lesson_list category_name=&#8221;science&#8221;]<\/span><\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading has--font-size\" id=\"h-to-manage-your-wordpress-and-learndash-categories-and-tags-follow-these-steps\"><span style=\"font-weight: 400;\"><br><\/span>To manage your WordPress and LearnDash categories and tags, follow these steps:<\/h3>\n\n\n\n<ol class=\"wp-block-list\">\n<li><span style=\"font-weight: 400;\">Navigate to <\/span>LearnDash LMS &gt; Lessons<span style=\"font-weight: 400;\">.<\/span><\/li>\n\n\n\n<li><span style=\"font-weight: 400;\">Select the <\/span>Actions<span style=\"font-weight: 400;\"> dropdown menu.<\/span><\/li>\n<\/ol>\n\n\n<div class=\"wp-block-image size-full wp-image-7337\">\n<figure class=\"aligncenter\"><img loading=\"lazy\" decoding=\"async\" width=\"768\" height=\"495\" src=\"https:\/\/learndash.com\/support\/wp-content\/uploads\/2024\/10\/manage-learndash-categories-and-tags.png\" alt=\"Manage LearnDash Categories and Tags\" class=\"wp-image-7337\" srcset=\"https:\/\/learndash.com\/support\/wp-content\/uploads\/2024\/10\/manage-learndash-categories-and-tags.png 768w, https:\/\/learndash.com\/support\/wp-content\/uploads\/2024\/10\/manage-learndash-categories-and-tags-400x258.png 400w\" sizes=\"auto, (max-width: 768px) 100vw, 768px\" \/><\/figure><\/div>\n\n\n<p><span style=\"font-weight: 400;\">Choose your desired option to add, edit, or delete categories and tags.<\/span><span style=\"font-weight: 400;\"><br><\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Unfortunately, LearnDash doesn&#8217;t have a built-in shortcode specifically designed to display a single lesson directly. However, you can easily create a direct link to the lesson by using its permalink. Simply copy the URL from the address bar while viewing the lesson, and then place this link on any page or post you like.Alternatively, if&#8230;<\/p>\n","protected":false},"author":75,"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":[],"doc_tag":[],"knowledge_base":[157],"class_list":["post-7334","docs","type-docs","status-publish","hentry","knowledge_base-resources"],"year_month":"2026-04","word_count":162,"total_views":"1746","reactions":{"happy":"0","normal":"0","sad":"0"},"author_info":{"display_name":"LearnDash Staff","author_link":"https:\/\/learndash.com\/support\/author\/learndash_staff\/"},"doc_category_info":[],"doc_tag_info":[],"taxonomy_info":{"knowledge_base":[{"value":157,"label":"Resources"}]},"featured_image_src_large":false,"comment_info":0,"knowledge_base_info":[{"term_name":"Resources","term_url":"https:\/\/learndash.com\/support\/kb\/resources\/","term_slug":"resources"}],"knowledge_base_slug":["resources"],"_links":{"self":[{"href":"https:\/\/learndash.com\/support\/wp-json\/wp\/v2\/docs\/7334","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\/75"}],"replies":[{"embeddable":true,"href":"https:\/\/learndash.com\/support\/wp-json\/wp\/v2\/comments?post=7334"}],"version-history":[{"count":3,"href":"https:\/\/learndash.com\/support\/wp-json\/wp\/v2\/docs\/7334\/revisions"}],"predecessor-version":[{"id":8290,"href":"https:\/\/learndash.com\/support\/wp-json\/wp\/v2\/docs\/7334\/revisions\/8290"}],"wp:attachment":[{"href":"https:\/\/learndash.com\/support\/wp-json\/wp\/v2\/media?parent=7334"}],"wp:term":[{"taxonomy":"doc_category","embeddable":true,"href":"https:\/\/learndash.com\/support\/wp-json\/wp\/v2\/doc_category?post=7334"},{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/learndash.com\/support\/wp-json\/wp\/v2\/doc_tag?post=7334"},{"taxonomy":"knowledge_base","embeddable":true,"href":"https:\/\/learndash.com\/support\/wp-json\/wp\/v2\/knowledge_base?post=7334"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}