Black FridayCyber Monday50% off CourseGlade Pro · code BFCM26Ends Dec 10Get 50% off In a bundle: 60% off
CourseGlade

Shortcodes & pages

The pages CourseGlade creates on install, the shortcodes that power them, and how to reassign them.

The key CourseGlade screens are plain WordPress pages with a shortcode inside, so you can move, restyle, or rebuild them in any theme or page builder. In the block editor you can use the matching CourseGlade blocks instead, with visual style settings.

Shortcodes

ShortcodeWhat it renders
[courseglade_courses]The filterable course catalog
[courseglade_dashboard]The student/instructor dashboard (tabs adapt to the role)
[courseglade_checkout]The checkout page
[courseglade_enroll_button]An enroll/buy button for a course
[courseglade_quiz]A standalone quiz
[courseglade_auth]Login and registration (use tab="login" or tab="register")
[courseglade_become_instructor]The instructor application form
[courseglade_forgot_password]Request a password reset
[courseglade_reset_password]Set a new password from a reset email
[courseglade_course_categories]A grid of course categories, each linking to its courses

Pro addons register more: [courseglade_certificate_verify] (Certificates), [courseglade_plans] (Subscriptions), [courseglade_bundle] (Course Bundles), and [courseglade_leaderboard], [courseglade_user_points] and [courseglade_user_badges] (Leaderboard & Gamification). Each works only while its addon is active.

Shortcode attributes

Every attribute is optional. yes / no attributes take exactly those words.

[courseglade_courses]

Defaults for columns and limit come from the catalog layout settings.

AttributeValuesDefault
columnsNumber of grid columnsCatalog setting (3)
limitCourses per pageCatalog setting (12)
categoryA course category slug to filter byAll
orderbyThe sort to start on: newest, oldest, title-asc, title-desc, popular, rating, price-asc, price-descnewest
levelA level slug the level filter starts onAny
pricefree or paid — what the price filter starts onAny
featured1 to show only featured coursesOff
showcourses or bundles — only one kind, when Course Bundles lists bundles beside coursesBoth
filtersWhich filter controls to show: no for none, or a comma list in display order from search, category, level, price, sortAll
hide_filtersControls to drop from filters (a comma list), or allNone
category_styledropdown or pills (a row of buttons between the filter bar and the grid)dropdown
category_imagesyes / no — pills only: each category’s image behind its nameyes
category_childrenyes / no — pills only: include subcategoriesno
prev_text, next_textPagination link text‹ and ›

For example: [courseglade_courses columns="4" category="design" hide_filters="price"].

[courseglade_course_categories]

The Course Categories block renders through this shortcode.

AttributeValuesDefault
columns1–64
limitHow many categories; 0 for all (up to 48)0
orderbyname or countname
hide_emptyyes / no — leave out categories with no coursesyes
top_levelyes / no — only categories without a parentno
show_imageyes / noyes
show_countyes / noyes
show_descriptionyes / nono

For example: [courseglade_course_categories columns="3" top_level="yes" orderby="count"].

[courseglade_dashboard]

AttributeValuesDefault
show_quizzesyes / no — the quiz attempts tabyes
show_wishlistyes / no — the wishlist tabyes

[courseglade_enroll_button]

AttributeValuesDefault
course_idThe course IDThe current post
button_textButton label”Enroll Now”
redirectURL to send the student to after enrolling—
show_priceyes / noyes
classExtra CSS class on the wrapper—

For example: [courseglade_enroll_button course_id="123" button_text="Start learning"].

[courseglade_quiz]

AttributeValuesDefault
idThe quiz ID (required)—
auto_starttrue / false — skip the start screenThe quiz’s own setting

For example: [courseglade_quiz id="123" auto_start="true"].

[courseglade_auth]

AttributeValuesDefault
tablogin or register — the tab that opens firstlogin
tabsyes / no — show the Login / Register tab switcheryes
redirectURL to send people to after signing inThe dashboard page
login_title, login_subtitleHeading and line under it on the login panelTranslated default
register_title, register_subtitleHeading and line under it on the register panelTranslated default

If registration is turned off, the login tab always shows.

[courseglade_forgot_password] and [courseglade_reset_password]

AttributeValuesDefault
titleHeadingTranslated default
subtitleThe line under itTranslated default

[courseglade_checkout] and [courseglade_become_instructor] take no attributes.

Pro shortcodes

[courseglade_plans] (Subscriptions) lists every membership plan that can be bought.

AttributeValuesDefault
limitHow many plans12
orderbyorder (the order you set) or priceorder

[courseglade_bundle] (Course Bundles) renders one bundle card. It takes id, the bundle ID: [courseglade_bundle id="123"].

[courseglade_certificate_verify] (Certificates) renders the certificate lookup form.

AttributeValuesDefault
titleForm heading”Verify a Certificate”
placeholderInput placeholder”Enter certificate number”
buttonButton label”Verify”

[courseglade_leaderboard] (Leaderboard & Gamification):

AttributeValuesDefault
limitHow many people10
periodall, month, week, or todayall
show_avataryes / noyes
show_rankyes / noyes
show_badgesyes / noyes
show_my_rankyes / no — the signed-in person’s own rankyes

[courseglade_user_points] shows the signed-in person’s points.

AttributeValuesDefault
show_historyyes / no — recent point activityyes
history_limitHow many history entries5
show_rankyes / noyes

[courseglade_user_badges] takes no attributes.

Pages created on install

On activation CourseGlade creates the Courses, Dashboard, Course Checkout, Become an Instructor, Student Registration, Login, Forgot Password, and Reset Password pages, each with the matching shortcode. It tracks them by setting, so renaming or moving them is safe, and it won’t duplicate a page that already exists.

Reassigning pages

CourseGlade links to these pages from emails, dashboards, and course cards, so it needs to know which page is which. Set the mapping in Settings → General → Pages — one Select per role (Courses Page, Student Dashboard Page, Checkout Page, and so on), each with an Open button to preview.

Rebuilding a page

Deleted a page, or want to start fresh? Create a new page, paste the matching shortcode, then point CourseGlade at it in Settings → General → Pages.

Next steps