Skip to content
LearnDash Support
  • Products

      LearnDash LMS Plugin

      Powering intuitive online courses with advanced management and engagement features for WordPress.

      Learn More

      LearnDash LMS Plugin + Hosting

      StellarSites Learning is a fully managed hosting solution for WordPress.

      Learn More

      Premium LMS Add-ons
      Enhance your courses with extra features. Gather insights, reward learners, protect your course content, and more!

      Explore all Add-ons

      MemberDash
      The most flexible membership plugin for WordPress. Monetize your content and build a community.

      View MemberDash

  • Pricing
  • Add-ons & Integrations

      LEARNDASH ADD-ONS

      Instructor Role

      Empower Instructor to manage courses.

      Groups Management

      Organization management, delegation and more

      ProPanel

      Advanced analytics reporting.

      Gradebook

      Track progress and create report cards.

      Notes

      Enable notetaking and two-way communication.

      Rating, Reviews, & Feedback

      Build trust and gain valuable insights.

      FEATURED INTEGRATIONS

      The Events Calendar

      Connect with the most popular events solution.

      BuddyBoss

      Powerful tools for an enhance learning experience.

      WooCommerce

      The most popular shopping cart on WordPress.

      WeGlot

      Translate your LearnDash content.

      All Integrations

      BUNDLES

      Package and save
      Save when you buy multiple plugins in a bundle.

      See all bundles.

      MORE

      Release Notes

      Get Help

  • Resources
      LearnDash Academy Videos, webinars, and resources to help you launch a successful course.
      Blog Blog
articles with the latest news and tips to help you run high-quality courses.
      Knowledge Base A support network to help you make the most of your courses.
      Release Notes Stay up-to-date with the latest updates to LearnDash.
      Get Help

      Professional Services

      LMS Site Development Get hands-on assistance launching your course website.
      Website Maintenance WordPress management made easy.
      SEO Services SEO solutions that accelerate growth.

      Other Resources

      LearnDash Accessibility At LearnDash, we believe online learning should be accessible to everyone.
      Join the Dev Club
  • Demo
  • Sign In
Get LearnDash

Knowledge Bases: Support Home | LearnDash Core | LearnDash Add-ons | LearnDash Cloud | Resources | Mobile App

LearnDash Support
  • ← Return to LearnDash
  • Support
    • Support Home
    • All Knowledge Bases
    • LearnDash Core
    • Add-ons
    • Resources
    • Cloud
  • My Account
Popular searches: api duplicate couse email gp query loop [ld_course_resume]
View Categories
  • Home
  • All Knowledge Bases
  • Instructor Role
  • Multiple Instructors Shortcode

Multiple Instructors Shortcode

The multiple instructors shortcode is helpful in displaying all the instructors specific information on the course page. #

  • Displays a list of all course instructors with their avatar and names along with a link to the author profile page: [all_instructors]
  • Controls whether to display the instructor image or not. If the parameter is not specified it will always display the instructor image: [all_instructors display_img=0]
  • Controls the size of the instructor avatar image to be displayed in pixels. If the parameter is not specified it would always display the instructor image of 32 pixels: [all_instructors size=32]
  • Controls whether to display the instructor name or not. If the parameter is not specified it would always display the instructor name: [all_instructors display_name=0]
  • Controls how many instructors to display on the page. If the parameter is not specified it would always display at most 2 instructor details: [all_instructors visible=3]
  • If you only wish to display the names of the shared course instructors then set this parameter value to 1. If the parameter is not specified it will display all course instructor details: [all_instructors exclude_author=1]
  • To use the shortcode on any other pages, make use of the course_id parameter to specify the relevant course: [all_instructors course_id=36]

Course Page #

Add the below shortcode to the course content to display all its related course instructors on the course page.

Course Edit Page
Course Edit Page
Frontend Instructor List View
Frontend Instructor List View

Course Grid #

If you are using the LearnDash Course Grid add-on then you can make use of the following code snippet to display the instructor list on the course list page.

if ( ! function_exists( 'ir_custom_add_instructor_details' ) ) {
	/**
	 * Add course instructor details in course list
	 *
	 * @param array $data
	 * @param object $post
	 * @param array $shortcode_atts
	 * @param int $user_id
	 *
	 * @return string
	 */
	function ir_custom_add_instructor_details( $data, $post, $shortcode_atts, $user_id ) {
		if ( learndash_get_post_type_slug('course') == $post->post_type ) {
			$instructor_data = '<div style="padding: 10px;">'.do_shortcode( "[all_instructors course_id='{$post->ID}']") . '</div><div class="caption">';
			$data = str_replace( '<div class="caption">', $instructor_data, $data );
		}
		return $data;
	}
	add_filter( 'learndash_course_grid_html_output', 'ir_custom_add_instructor_details', 10, 4 );
}
Updated on December 13, 2024
Table of Contents
  • The multiple instructors shortcode is helpful in displaying all the instructors specific information on the course page.
  • Course Page
  • Course Grid

Was this Doc Useful?

Thanks for your feedback!

Products

  • LearnDash LMS Plugin
  • MemberDash Plugin
  • LearnDash Cloud
  • ProPanel
  • Groups Management
  • Gradebook
  • Notes
  • Integrations

Support

  • Contact Us
  • Experts
  • Documentation
  • Facebook Community

Company

  • About LearnDash
  • Brand Assets
  • Careers
  • Affiliates
  • Privacy Policy
  • Terms and Conditions
  • Refund Policy

Our Partners

  • The Events Calendar
  • MemberDash
  • Kadence
  • GiveWP
  • Iconic
  • SolidWP

Stay Connected Subscribe to our newsletter
  • YouTube
  • X
  • Facebook
  • Instagram

Copyright 2026. All Rights Reserved.

A Liquid Web Brand
WordPress Hosting Services
© 2026 All Rights Reserved

StellarWP
liquidweb