Use Hoko with WordPress

The Hoko WordPress plugin adds a link to a post from the WordPress editor. It sends requests from the server, so the Hoko key stays out of browser code.

Before you start

  • Get the private Hoko plugin package from your administrator and activate it. It is not listed in the WordPress plugin directory.
  • Have an editor account and a post you can edit.
  • Ask your Hoko administrator for a scoped API key and the target collection ID.
  1. Open Settings → Hoko links in WordPress.
  2. Enter Hoko collection ID and the API key, then save the settings. Keep the key server-side.
  3. Open a post and use the Hoko meta box to create or select the link.
  4. Save the post.

Verify the result

Open the short URL in a private window. Confirm that it reaches the configured destination. The plugin stores the link ID and short URL in post metadata. A destination change asks for review and does not rewrite a published URL automatically.

Troubleshoot

  • If the route returns 401, check the key scope and workspace.
  • If the route returns 403, check the key scope and workspace.
  • If the meta box is missing, confirm that the plugin is active and that your account can edit the post.
  • Refresh the post if its URL is stale.

Clean up

Remove the key from Settings → Hoko links before deactivating the plugin. Removing the plugin does not delete Hoko links or analytics.

Open Apps · Technical reference · All app guides