6.4 Shortcodes
This section provides an extensive guide to all available shortcodes, detailing their functionality and how they can be used across your site. Whether you're customizing content, embedding dynamic elements, or enhancing layouts, you'll find everything you need to use BeaverDash shortcodes effectively on your LearnDash/WordPress website.
Course Shortcodes
ID
[bdash_course_id]
Title
[bdash_course_title]
Content
[bdash_course_content]
Content Table
[bdash_course_content_table]
Available Attributes
- available - Show only items available to the user (true/false)
- link_unavailable - Show items unavailable to user as links (true/false)
- progression - Show items that user can or cannot progress to (true/false)
- drip - Show items based on drip date (past, future)
- expand_all_by_default - Expand all items by default
- expand_collapse_all_visibility - Show "expand/collapse all" button
Description
[bdash_course_description]
Materials
[bdash_course_materials]
Video/Image
Image
[bdash_image]
Video
[bdash_video]
Available Attributes
- featured_image - Show featured image as fallback if no video (true/false)
- show_message_if_progression_incomplete - Show message if progression is incomplete (true/false)
Video or Image
bdash_video_or_image
Date Completed
bdash_course_user_date_completed
Background color
bdash_course_color_background
Text color
bdash_course_color_text
Course Price
bdash_course_price
Available Attributes
- output - text
Course Price Status
bdash_course_price_type_label
Course Price Interval
bdash_course_price_interval
Course Price Frequency
bdash_course_price_frequency
Course Price Url
bdash_course_price_url
Course Price Currency
bdash_course_price_currency
Available Attributes
- output - code
Parent Course
Parent Course Title
bdash_parent_course_title
Parent Course URL
bdash_parent_course_url
Parent Course Link
bdash_parent_course_link
Labels
Course Label
bdash_course_label
Next Course Label
bdash_next_course_label
Previous Course Label
bdash_previous_course_label
Back to Course Label
bdash_back_to_course_label
Certificate
Course Certificate Link
bdash_course_certificate_link
Course Certificate URL
bdash_course_certificate_url
Course Grid
Course Grid Short Description
bdash_course_grid_short_description
Course Grid Ribbon Text
bdash_course_grid_ribbon_text
Course Grid Button Text
bdash_course_grid_button_text
Course Grid Video Preview Code
bdash_course_grid_video_preview_code
Course Grid Video Preview Enable
bdash_course_grid_video_preview_enable
Course List
bdash_course_list
Course Navigation
bdash_course_navigation
Available Attributes
- show_course_quizzes - Show course quizzes (true/false)
- show_lesson_quizzes - Show lesson quizzes (true/false)
- show_topic_quizzes - Show topic quizzes (true/false)
Progress Bar
bdash_course_progress
Available Attributes
- course_id - Course ID
- shape - Bar type (line, circle, semi-circle, text, raw)
- number - Progress as number (completed, total, percent)
- text_color - Text color (example: "555555")
Lesson Shortcodes
Lesson ID
bdash_lesson_id
Lesson Title
bdash_lesson_title
Lesson Content
bdash_lesson_content
Content Table
bdash_lesson_content_table
Available Attributes
- available - Show only items available to the user (true/false)
- link_unavailable - Show items unavailable to user as links (true/false)
- progression - Show items that user can or cannot progress to (true/false)
- drip - Show items based on drip date (past, future)
- expand_all_by_default - Expand all items by default
- expand_collapse_all_visibility - Show "expand/collapse all"
Lesson Navigation
bdash_lesson_navigation
Available Attributes
- show_lesson_quizzes - Show lesson quizzes (true/false)
- show_topic_quizzes - Show topic quizzes (true/false)
Materials
bdash_lesson_materials
Previous Lesson
Previous Lesson ID
bdash_previous_lesson_id
Previous Lesson Title
bdash_previous_lesson_title
Previous Lesson URL
bdash_previous_lesson_url
Previous Lesson Link
bdash_previous_lesson_link
Next Lesson
Next Lesson ID
bdash_next_lesson_id
Next Lesson Title
bdash_next_lesson_title
Next Lesson URL
bdash_next_lesson_url
Next Lesson Link
bdash_next_lesson_link
Parent
bdash_parent_lesson_title bdash_parent_lesson_url bdash_parent_lesson_link
Labels
bdash_lesson_label bdash_next_lesson_label bdash_previous_lesson_label
Lesson List
bdash_lesson_list
Drip
bdash_drip_date
format
- Date format
Topic Shortcodes
ID
bdash_topic_id
Title
bdash_topic_title
Content
bdash_topic_content
Content Table
bdash_topic_content_table
available
- Show only items available to the user (true/false)link_unavailable
- Show items unavailable to user as links (true/false)progression
- Show items that user can or cannot progress to (true/false)drip
- Show items based on drip date (past, future)expand_all_by_default
- Expand all items by defaultexpand_collapse_all_visibility
- Show "expand/collapse all"
Topic Navigation
bdash_topic_navigation
Materials
bdash_topic_materials
Previous
bdash_previous_topic_id bdash_previous_topic_title bdash_previous_topic_url bdash_previous_topic_link
Next
bdash_next_topic_id bdash_next_topic_title bdash_next_topic_url bdash_next_topic_link
Parent
bdash_parent_topic_title bdash_parent_topic_url bdash_parent_topic_link
Labels
bdash_topic_label bdash_next_topic_label bdash_previous_topic_label
Topic List
bdash_topic_list
Quiz Shortcodes
ID
bdash_quiz_id
Title
bdash_quiz_title
Content
bdash_quiz_content
Previous
bdash_previous_quiz_id bdash_previous_quiz_title bdash_previous_quiz_url bdash_previous_quiz_link
Next
bdash_next_quiz_id bdash_next_quiz_title bdash_next_quiz_url bdash_next_quiz_link
Labels
bdash_quiz_label bdash_next_quiz_label bdash_previous_quiz_label
Certificate
bdash_quiz_certificate_link bdash_quiz_certificate_url
Quiz List
bdash_quiz_list
Buttons Shortcodes
Enroll
bdash_enroll_button
Mark Complete
bdash_mark_complete_button
User Shortcodes
Profile
bdash_profile
Post Shortcodes
Content
bdash_content
id
- Post ID (optional)
Materials
bdash_materials bdash_parent_materials
Background color
bdash_color_background
Text color
bdash_color_text
Links Shortcodes
Next
bdash_next_id bdash_next_title bdash_next_url bdash_next_link
Previous
bdash_previous_id bdash_previous_title bdash_previous_url bdash_previous_link
Parent
bdash_parent_id bdash_parent_title bdash_parent_url bdash_parent_link
Stats Shortcodes
Course
bdash_number_of_lessons bdash_number_of_topics bdash_number_of_quizzes bdash_number_of_students bdash_course_progress_percent bdash_course_progress_total bdash_course_progress_completed bdash_course_completion_rate bdash_course_completion_rate_total bdash_course_completion_rate_count bdash_course_certificate_award_rate bdash_course_certificate_award_rate_total bdash_course_certificate_award_rate_count bdash_course_quiz_attempt_rate bdash_course_quiz_attempt_rate_total bdash_course_quiz_attempt_rate_count bdash_course_quiz_completion_rate bdash_course_quiz_completion_rate_total bdash_course_quiz_completion_rate_count bdash_course_quiz_pass_rate bdash_course_quiz_pass_rate_total bdash_course_quiz_pass_rate_count bdash_course_quiz_certificate_award_rate bdash_course_quiz_certificate_award_rate_total bdash_course_quiz_certificate_award_rate_count
Lesson
bdash_lesson_number_of_topics bdash_lesson_number_of_quizzes bdash_lesson_order_number bdash_lesson_status bdash_lesson_progress bdash_lesson_progress_percent bdash_lesson_progress_total bdash_lesson_progress_count bdash_lesson_completion_rate bdash_lesson_completion_rate_total bdash_lesson_completion_rate_count bdash_lesson_quiz_attempt_rate bdash_lesson_quiz_attempt_rate_total bdash_lesson_quiz_attempt_rate_count bdash_lesson_quiz_completion_rate bdash_lesson_quiz_completion_rate_total bdash_lesson_quiz_completion_rate_count bdash_lesson_quiz_pass_rate bdash_lesson_quiz_pass_rate_total bdash_lesson_quiz_pass_rate_count bdash_lesson_quiz_certificate_award_rate bdash_lesson_quiz_certificate_award_rate_count bdash_lesson_quiz_certificate_award_rate_total bdash_lesson_timer_countdown
Topic
bdash_topic_order_number bdash_topic_order_number_in_course bdash_topic_status bdash_topic_progress bdash_topic_progress_percent bdash_topic_progress_total bdash_topic_progress_count bdash_topic_completion_rate bdash_topic_completion_rate_total bdash_topic_completion_rate_count bdash_topic_quiz_attempt_rate bdash_topic_quiz_attempt_rate_total bdash_topic_quiz_attempt_rate_count bdash_topic_quiz_completion_rate bdash_topic_quiz_completion_rate_total bdash_topic_quiz_completion_rate_count bdash_topic_quiz_pass_rate bdash_topic_quiz_pass_rate_total bdash_topic_quiz_pass_rate_count bdash_topic_quiz_certificate_award_rate bdash_topic_quiz_certificate_award_rate_total bdash_topic_quiz_certificate_award_rate_count
Quiz
bdash_quiz_order_number bdash_quiz_order_number_in_course bdash_quiz_status bdash_quiz_attempt_rate bdash_quiz_attempt_rate_count bdash_quiz_attempt_rate_total bdash_quiz_pass_rate bdash_quiz_pass_rate_total bdash_quiz_pass_rate_count bdash_quiz_completion_rate bdash_quiz_completion_rate_total bdash_quiz_completion_rate_count bdash_quiz_certificate_award_rate bdash_quiz_certificate_award_rate_total bdash_quiz_certificate_award_rate_count bdash_quiz_repeats bdash_quiz_certificate_threshold bdash_quiz_passing_percentage bdash_quiz_time_limit bdash_quiz_execute_once bdash_quiz_average_score bdash_quiz_score
Conditions Shortcodes
Course
bdash_is_course bdash_course_started bdash_course_in_progress bdash_course_completed bdash_course_has_certificate bdash_course_certificate_earned bdash_course_points_enabled bdash_course_expire_status bdash_hide_course_content_table_enabled
Lesson
bdash_is_lesson bdash_drip_future bdash_drip_past bdash_no_drip bdash_lesson_progression_enabled
Topic
bdash_is_topic
Quiz
bdash_is_course_quiz bdash_is_lesson_quiz bdash_is_topic_quiz bdash_is_quiz bdash_has_quiz bdash_quiz_has_certificate bdash_quiz_certificate_earned bdash_quiz_leaderboard_enabled
User
bdash_visitor bdash_student
Post
bdash_available bdash_unavailable bdash_can_progress bdash_cannot_progress bdash_has_certificate bdash_certificate_earned bdash_has_video bdash_video_progression_enabled
Links
bdash_has_next bdash_has_previous bdash_has_parent
Theme Shortcodes
Primary color
bdash_theme_color_primary
Secondary color
bdash_theme_color_secondary
Tertiary color
bdash_theme_color_tertiary