Built-in Blocks, Widgets and Page Types

What a full installation registers in each extension registry. Use it to avoid id clashes, to find a module that already does what you need, and as working examples to read.

Pick unique ids

Shortcode ids, widget keys and binding-source keys share one namespace each across all plugins. Prefix yours with your plugin alias (testimonials-wall, not wall). Use registerIfMissing() where it exists so a site can replace your block deliberately.

Shortcodes (page-builder blocks)

Each shortcode is used in saved content as <x-shortcode-{id}></x-shortcode-{id}>. 39 are registered on a full installation.

Core (6)

IdNameWhat it showsClass
blogBlogDisplays published blog posts using existing post queries and layouts.BlogShortcode
blog-cardsBlog CardsDisplays published blog posts as grid, horizontal, editorial, slider, magazine or minimal list cards.BlogCardsShortcode
adslotAdvertisementsDisplays an existing advertisement slot.AdvertisementShortcode
social-shareShareDisplays the existing social share links for a supplied or current URL.SocialShareShortcode
widget-areaWidgetsRenders an existing widget/sidebar area by its registered identifier.WidgetAreaShortcode
contactContactDisplays the real TruCMS contact form and existing submission handler.ContactShortcode

Booking (12)

IdNameWhat it showsClass
booking-servicesBooking ServicesDisplay active booking services.BookingServicesShortcode
booking-single-serviceSingle Booking ServiceDisplay one booking service.BookingSingleServiceShortcode
booking-service-heroService HeroDisplay one or more booking services in a premium Echo hero layout.BookingServiceHeroShortcode
booking-formBooking FormDisplay a booking form.BookingFormShortcode
booking-marqueeServices / Providers MarqueeContinuously showcase booking services or providers using the Echo marquee runtime.BookingMarqueeShortcode
booking-summaryBooking SummaryShow the live summary of the booking form on the same page, anywhere in the layout.BookingSummaryShortcode
booking-categoriesBooking CategoriesDisplay booking service categories.BookingCategoriesShortcode
booking-providersBooking ProvidersDisplay booking providers, optionally limited to a service or service category.BookingProvidersShortcode
booking-packagesBooking PackagesDisplay active booking packages.BookingPackagesShortcode
booking-locationsBooking LocationsDisplay active booking locations.BookingLocationsShortcode
booking-my-bookingsMy BookingsDisplay the logged-in customer bookings.BookingMyBookingsShortcode
booking-my-calendarMy CalendarDisplay provider/customer booking calendar.BookingMyCalendarShortcode

TruCommerce (21)

IdNameWhat it showsClass
trucommerce-category-productsCategory ProductsDisplays visible products filtered by selected category IDs or slugs.TruCommerceCategoryProductsShortcode
trucommerce-featured-productsFeatured ProductsDisplays an explicit curated product selection; TruCommerce has no separate featured database flag.TruCommerceFeaturedProductsShortcode
trucommerce-latest-productsLatest ProductsDisplays storefront products using real catalog filters and the selected product card or list design.TruCommerceLatestProductsShortcode
trucommerce-popular-productsPopular ProductsDisplays products ordered by real approved review count and rating.TruCommercePopularProductsShortcode
trucommerce-productsProductsDisplays storefront products using real catalog filters and the selected product card or list design.TruCommerceProductsShortcode
trucommerce-related-productsRelated ProductsDisplays visible products sharing a real category with the selected source product.TruCommerceRelatedProductsShortcode
trucommerce-sale-productsSale ProductsDisplays storefront products using real catalog filters and the selected product card or list design.TruCommerceSaleProductsShortcode
trucommerce-tag-productsTag ProductsDisplays visible products filtered by selected product tag IDs or slugs.TruCommerceTagProductsShortcode
trucommerce-productProductDisplays one published product with a selectable TruCommerce product-card design.TruCommerceProductShortcode
trucommerce-product-sliderProduct SliderRenders selected TruCommerce products one at a time in the Slider using any registered product-card design.TruCommerceProductSliderShortcode
trucommerce-collectionProduct CollectionBuilds a curated storefront collection using the supplied collection, product-card and product-list designs.TruCommerceCollectionShortcode
trucommerce-bundleBundle BuilderDisplays selected simple products as a server-validated bundle builder.TruCommerceBundleShortcode
trucommerce-comparisonProduct ComparisonCompares selected storefront products using one of the supplied comparison designs.TruCommerceComparisonShortcode
trucommerce-product-spotlightProduct SpotlightHighlights one active storefront product with a selectable spotlight design.TruCommerceProductSpotlightShortcode
trucommerce-product-purchaseProduct Purchase PanelThe buying controls of one product on any page: live price, stock, variation options, quantity and add to cart.TruCommerceProductPurchaseShortcode
trucommerce-shop-ctaShop CTARenders a shop or product-specific call to action using the supplied CTA and widget-shell designs.TruCommerceShopCtaShortcode
trucommerce-categoriesShop CategoriesDisplays real shop taxons with a selectable category-directory design.TruCommerceCategoriesShortcode
trucommerce-tagsProduct TagsDisplays real product tags with a selectable tag-directory design.TruCommerceTagsShortcode
trucommerce-searchProduct Search & FiltersDisplays the real storefront GET search/filter form with a selectable search design.TruCommerceSearchShortcode
trucommerce-cartCartRenders the current customer cart using the selected Cart design. This layout is independent from the global TruCommerce Cart page setting.TruCommerceCartShortcode
trucommerce-checkoutCheckoutRenders checkout using the selected Checkout design. This layout is independent from the global TruCommerce Checkout page setting.TruCommerceCheckoutShortcode

Widgets

Registered with Widgets::register($key, $class) and placed by site owners in widget areas (Appearance → Widgets).

KeyOwnerClass
tru-menuCoreMenuWidget
tru-textCoreTextWidget
tru-htmlCoreHtmlWidget
tru-advertisementCoreAdvertisement
tru-postsCorePostsWidget
tru-posts-categoriesCorePostCategoriesWidet
tru-posts-tagsCoreTagsWidget
booking-servicesBookingServiceListWidget
booking-service-categoriesBookingCategoryListWidget
booking-locationsBookingLocationListWidget
booking-providersBookingProviderListWidget
booking-packagesBookingPackageListWidget
booking-service-searchBookingServiceSearchWidget
booking-call-to-actionBookingBookingCallToActionWidget
trucommerce-filter-categoriesTruCommerceCategoryFilterWidget
trucommerce-filter-attributesTruCommerceAttributeFilterWidget
trucommerce-filter-priceTruCommercePriceFilterWidget
trucommerce-cart-miniTruCommerceMiniCartWidget
trucommerce-productsTruCommerceProductListWidget
trucommerce-tag-cloudTruCommerceTagCloudWidget
trucommerce-taxonomiesTruCommerceTaxonomyWidget
trucommerce-product-searchTruCommerceProductSearchWidget
trucommerce-shop-call-to-actionTruCommerceShopCallToActionWidget
trucommerce-cartTruCommerceCartWidget
trucommerce-product-spotlightTruCommerceProductSpotlightWidget

Binding sources (data-bound sections)

Keys used in data-bound="…". The -detail variants fill a whole page about one record.

KeyLabel in the editorOwnerClass
locationLocationsBookingLocationBindingSource
location-detailLocation · full pageBookingLocationBindingSource
providerProvidersBookingProviderBindingSource
provider-detailProviders · full pageBookingProviderBindingSource
serviceServicesBookingServiceBindingSource
service-detailSingle Booking Service · full pageBookingServiceBindingSource
postBlog postsCorePostBindingSource
productProductTruCommerceProductBindingSource
product-categoryProduct CategoriesTruCommerceProductCategoryBindingSource
product-category-detailCategory · full pageTruCommerceProductCategoryBindingSource
productsProductsTruCommerceProductBindingSource

Page types (AppPages)

Each entry adds a "which page is this?" select to Settings → Page setup; the setting stores the chosen page id.

KeySetting
trucommerce.shoptrucommerce_page_shop
trucommerce.carttrucommerce_page_cart
trucommerce.checkouttrucommerce_page_checkout
trucommerce.accounttrucommerce_page_account
trucommerce.order-historytrucommerce_page_order_history
trucommerce.order-trackingtrucommerce_page_order_tracking
booking.pagesbooking_page_pages
booking.servicesbooking_page_services
booking.my-bookingbooking_page_my_booking
booking.calendarbooking_page_calendar
booking.providersbooking_page_providers
booking.staffbooking_page_staff
booking.customersbooking_page_customers
homepageapp_homepage
contactapp_contact_page
blogapp_blog_page
privacyprivacy_link
termsterms_link