इसे छोड़कर कंटेंट पर जाएं

Shortcode Widget

View Demo

यह कंटेंट अभी तक आपकी भाषा में उपलब्ध नहीं है।

The Shortcode widget lets you insert a pre-configured Listdom listing shortcode into a widget area. This means you can display listings (in list, grid, slider, etc. formats) in sidebars or footers, using any shortcode you’ve created via Listdom → Shortcodes. It’s a powerful way to show listing feeds outside of main content areas.

An optional title for the widget (e.g. “Latest Listings”). This title displays above the listings output. Leave blank for no title.

Select which saved Listdom shortcode to display. The dropdown will list all shortcodes you’ve created (with their names as you titled them).

  • (Dropdown of Shortcode Titles) - Choose one of your existing listing shortcodes. There is no default selection; you must pick a shortcode to embed.

If you haven’t created any shortcodes yet, the widget will prompt you with a link to create a new shortcode first. Shortcodes are created in the Listdom → Shortcodes menu in your WordPress dashboard.

When you select a shortcode and save the widget, the listings associated with that shortcode will be rendered in the widget area, using the layout and settings defined in that shortcode.

If Listdom add-ons or Pro features are installed, they can enhance the content shown by the shortcode:

  • Listdom Pro Pro provides additional listing layouts (skins) like Mosaic, Accordion, and Side by Side. These advanced skins become available when creating shortcodes (and can be embedded via this widget), though they are best used in wider areas.
  • Exclusion Filters (Pro): Pro With Listdom Pro, shortcodes can exclude specific listings by tag, author, category, etc. If your chosen shortcode uses exclusion rules, the widget will honor them (e.g., “show all listings except category X”).
  • Custom Fields Filter (Pro): Pro Pro also allows filtering listings by custom Attributes in shortcodes. A shortcode configured to filter by an Attribute will display only listings meeting that criteria, even in the widget.
  • Favorites & Compare: If you have the Favorites or Compare add-ons active, the shortcode’s listing cards will include “Add to Favorites” hearts or Compare icons. These will appear automatically in the widget output when applicable.

(The Shortcode widget itself has no extra settings from add-ons; it simply renders whatever the shortcode is configured to show.)

Show Latest Listings in Sidebar: Create a Listdom shortcode (via Listdom → Shortcodes) that is configured to show your latest 5 listings in a Grid View. Then add the Shortcode widget to your sidebar and select that shortcode. Visitors will see a mini grid of the newest listings in the sidebar of every page.

Category-Specific List: If you want to highlight a specific category (e.g., “Restaurants”), create a shortcode that filters to that category. Insert a Shortcode widget in a sidebar on relevant pages (like a city guide page) and choose the “Restaurants” shortcode. The sidebar will list only restaurant listings.