Shortcode
You can easily use shortcode [wpdomainchecker]
to show domain name checker form in your page or post.
Parameter | Description | Example |
---|---|---|
Button | Change button text. Default: “Check” | [wpdomainchecker button="SEARCH"] |
width | Change search box width. Default: 900px | [wpdomainchecker width="600"] |
item_id | Integrated to specific product ID. (Product ID in settings will be ignored). | [wpdomainchecker item_id="1234"] |
size | Change search box size (small or large). Default: large | [wpdomainchecker size="small"] |
recaptcha | Enable/disable recaptcha. Site Key & Secret Key required. Default: no | [wpdomainchecker recaptcha="yes"] |
allowed_tld | Allow only specific tld to be check. Separate by comma for each extension. Default: no | [wpdomainchecker allowed_tld="com,net,org"] |
style | Choose Search Form Design 1 or 2 Default: 1 | [wpdomainchecker style="1"] [wpdomainchecker style="2"] |
available_msg | Text Message if domain available. You can use {domain} {sld} {tld} tag here. | [wpdomainchecker available_msg="{domain} Available"] |
unavailable_msg | Text Message if domain unavailable. You can use {domain} {sld} {tld} tag here. | [wpdomainchecker unavailable_msg="Sorry, {domain} Unavailable"] |
integration | Override the default integration. | [wpdomainchecker integration="disable"] [wpdomainchecker integration="woocommerce"] [wpdomainchecker integration="whmcs"] [wpdomainchecker integration="whmcs_bridge"] [wpdomainchecker integration="whm_press"] [wpdomainchecker integration="custom"] |
whois_button | Enable / Disable Whois Button | [wpdomainchecker whois_button="enable"] [wpdomainchecker whois_button="disable"] |
class | Add additional Class to the Search Box You can use “mobile” class if you place the shortcode in small container, this is will make the design fit with the container. | [wpdomainchecker class="mobile"]
|
whoislookuponly | Make the Domain Search Form to Whois Domain Lookup only. | [wpdomainchecker whoislookuponly="yes"]
|
multiple_tld | Full means multiple tld will be checked and displayed whether the extension is included or not. Partial means multiple tld will be checked and displayed only if the domain is entered without extension. (eg. “google”, “yahoo”). | [wpdomainchecker multiple_tld="disable"] [wpdomainchecker multiple_tld="full"] [wpdomainchecker multiple_tld="partial"]
|
*All above shortcode parameters will override the WP Domain Checker settings in WP Admin Dashboard.
Example:
If you want to set domain checker form size to 300px and button text with “Search”
You have to add “width” and “button” to the shortcode like this [wpdomainchecker width="300" button="Search"]
Multiple domain checker form for multiple product WooCommerce you can add item_id in each shortcode.
e.g: Checker for product ID 123 [wpdomainchecker item_id="123" ]
e.g: Checker for product ID 456 [wpdomainchecker item_id="456" ]
If you not include item_id in the shortcode, default product ID in settings will be used.