1. Home
  2. Docs
  3. WHMPress
  4. Shortcode List
  5. Domain Search

Domain Search

Displays a fancy domain search box with all the extension added in WHMCS. Submits the form to WHMCS domain search area.

[whmpress_domain_search]

Parameters

  • html_id: add a custom id to the table element for further CSS customization.
  • html_class: CSS class to apply on main wrapper div that holds all other elements.
  • text_class: custom CSS class to apply on div wrapper for domain name text box
  • combo_class: custom CSS to apply on div wrapper for domain ext. combo
  • button_class: custom CSS to apply on div wrapper for button
  • show_combo: yes or no, default value is yes.
  • show_tlds: comma-separated values of TLDs to list in the combo. Only TLDs that exists in WHMCS will be added. No spaces in comma-separated values.
  • show_tlds_wildcard: show only TLDs matching with the given string. Very useful if you want to show only TLDs related to your country, e.g. “.pk”
  • button_text: Text to show on search button
  • placeholder: Placeholder text for domain text box
  • action: specify url where the form will submit
  • token: This code is required if you have enabled Captcha on your WHMCS search, and you want to skip captcha using this form.
Was this article helpful to you? Yes 2 No 6