1. Home
  2. Docs
  3. WHMPress
  4. Shortcodes
  5. Domain Search Ajax Extended

Domain Search Ajax Extended

This is the extended version of domain search ajax. This shortcode is available only if one of the WCAP or WCOP is installed and activated. This includes the multi-select dropdown of TLDs. Only that domains suggestions would be given in domain suggestion form which are selected from multi-select TLDs dropdown. If you want to show the domain search result on a different page (say page B) then just paste the same shortcode on Page B and place the page B URL in Search result Div/URL parameter in the shortcode on the first page.

[whmpress_domain_search_ajax_extended]

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 to apply on a text box
  • button_class: custom CSS to apply on div wrapper for button
  • button_text: Text to show on the search button
  • placeholder: Placeholder text for domain text box
  • action: specify url where the form will submit, if not mentioned it will submit to the same page
  • whois_link: Yes or No to show the whois link or not. The important is that this link will only show if the searched domain is not available.
  • www_link: Yes or No to show the domain www link on domain suggestion form or not. This link will only appear if the searched domain is not available.
  • disable_domain_spinning: Yes or No to show the domain spinner or not.
  • order_landing_page:
    • 0 = This will redirect to order landing page and show the suggestions on that.
    • 1 = This will redirect to direct domain settings on the landing page.
  • order_link_new_tab:
    • 0 = Open order landing page in the same tab.
    • 1 = Open order landing page in a new tab.
  • show_price: Yes or No to show the searched domain price, suggested domains price or not.
  • show_years: Yes or No to show the years for which domain is available in the given price.
  • search_extensions:
    • 0 = Search the domain in all extensions.
    • 1 = Search the domain in extensions only listed in WHMCS.
  • enable_transfer_link: Yes or No to show the domain transfer link on domain suggestion form or not. This link will only appear if the searched domain is not available.
  • append_url: This will append custom parameters with the domain order URL.
  • filter_tlds: comma-separated domains without dot (.) to show specific TLDs in the dropdown.
  • load_more_button_text: Text to show on the load more button.
  • order_button_text: Text to show on the order button.
  • www_button_text:  Text to show on the www button.
  • whois_button_text: Text to show on the whois button.
  • transfer_button_text: Text to show on the transfer button.
  • transfer_button_text: Text to show on the added domain button.
  • continue_button_text: Text to show on the continue button.
Was this article helpful to you? Yes No 1