Shortcodes

[wpdm_search_result] – Display Search Form and Results

1 min read Updated Jan 26, 2026

The [wpdm_search_result] shortcode displays a search form for packages and shows results. Place it on a dedicated search page to let users find downloads by keyword.

Basic Syntax

[wpdm_search_result]

Parameters

ParameterTypeDefaultDescription
templatestringDefaultLink template for results
items_per_pageinteger10Results per page
colsinteger3Columns for results grid

Usage Examples

Basic Search Page

[wpdm_search_result]

Custom Results Layout

[wpdm_search_result template="link-template-panel" cols="4" items_per_page="20"]

How It Works

  1. The shortcode displays a search input field
  2. When users submit a search, results appear below the form
  3. Results are filtered from all published packages
  4. Pagination is included for long result lists

Tips

  • Create a dedicated page like “Search Downloads” for this shortcode
  • The search queries package titles, descriptions, and custom fields
  • Consider adding the page to your site navigation for easy access

Related