Vigiar
1
0
Derivar
Você já tinha feito uma derivação do repositório wordpress-domains-plugin, anteriormente
0
wordpress-domains-plugin/README.md
2026-12-01 15:26:34 +02:00

3,6 KiB

Interweb

Interweb Angola WordPress domains plugin

Release License: MIT

Português

Step-by-step guide in our Knowledgebase.

API: https://api.interweb.ao, built in. Create your key in the API Center of Meu Interweb. Documentation: https://docs.interweb.ao

WordPress plugin for domain search. It uses only our public API, with your account key. Works in Portuguese and English.

What it does

  • Domain search for any page, as a block or shortcode. It says if each name is free (WHOIS), shows the price per year and the renewal, and suggests similar free names.
  • "See WHOIS" for names already taken: registration and expiry dates, status and nameservers.
  • Register button: to the brand site, to your own address (with {domain}), or to the WooCommerce cart when the Reseller for WooCommerce plugin of the same brand is active.
  • Prices: public prices, or with a Reseller Program key your price plus the margin you choose, rounded if you want. Always 2 decimal places.
  • Price list of the extensions you choose (block or shortcode).
  • Limit of searches per visitor, so robots do not eat your API limits.

Shortcodes

Each shortcode also has a block in the editor, with the same options.

  • [interweb_ao_domain_finder]: Domain search: says if each name is free (WHOIS), shows the price and a button to register. Options: extensions, button, placeholder.
  • [interweb_ao_tld_prices]: Price list of the domain extensions you choose. Options: extensions.

Install

  1. Download the ZIP of the latest release and upload it in Plugins > Add New > Upload Plugin (or copy the interweb-ao-domains folder to wp-content/plugins/).
  2. Activate the plugin and open Settings > Interweb Angola Domains.
  3. Paste the API key and save. The key is checked with the API right away.

Languages

  • The code is in English. Translations are gettext files in interweb-ao-domains/languages (.pot, and .po with .mo for pt_PT, pt_BR and pt_AO).
  • "Same as WordPress" follows the WordPress language; "Português" or "English" fixes the plugin language.
  • After changing texts: python3 -I tools/i18n-check.py --pot, translate in the .po files, python3 -I tools/build-mo.py and python3 -I tools/i18n-check.py.

The key

  • Create it in the API Center of Meu Interweb, with catalog:read (and reseller:read to see your Agency).
  • When you save it, the plugin asks the API about it: a wrong, revoked or expired key is not saved, and missing permissions or a Sandbox key are said right away.
  • It is stored encrypted (AES-256-GCM, with the WordPress security keys) and never shown again. You can define INTERWEB_AO_DOMAINS_API_KEY in wp-config.php instead.

Good to know

  • The visitor asks your WordPress, and WordPress asks the API with the key: the key never reaches the browser.
  • Results are kept for 10 minutes and extension prices for 6 hours.
  • It can run next to the Interweb Angola Connect plugin: the shortcodes have other names.
  • Optional constants in wp-config.php: INTERWEB_AO_DOMAINS_API_KEY, INTERWEB_AO_DOMAINS_ENCRYPTION_KEY.

Requirements: WordPress 6.0 or newer, PHP 7.4 to 8.5, OpenSSL extension.


Maintained by RLX Holdings.