1. Home
  2. Docs
  3. WHMPress
  4. Shortcodes
  5. 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 ]


  • 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 to list in combo. Only tlds that exists in WHMCS will be added. No spaces in comma separated values.
  • show_tlds_wildcard: show only tlds matching with given string. Very useful if you want to show only tlds related to your country, e.g. “.in”
  • button_text: Text to show on search button
  • placeholder: Placeholder text for domain text box
  • action: specify url where form will submit
Was this article helpful to you? Yes No 3