Elido doesn't have a WordPress plugin you can install today.
The repository holds a scaffold (a plugin header, an uninstall file and a readme) with no working code, and a search for it on wordpress.org on 2026-10-25 returned no listing. What does work is the Elido REST API, which you can call from a short publish hook in WordPress, from an automation tool, or by hand. This post shows the hook, tells you which parts we tested against the code, and says plainly where the no-code routes fall short.
The goal is the same for every route: when you share a post, newsletter link or QR code, you want a short branded link that records each click, because WordPress itself records nothing once the link leaves your page.
What a short link adds to WordPressWhat a short link adds to WordPress
A shortener does two jobs. It maps a short slug to a long destination, and it counts every follow. WordPress builds a permalink for each post, which is readable and sits on your own domain, but it isn't compact and it keeps no record of who clicked it in a newsletter, a social post or a printed flyer.
A short link is a separate object on a redirect domain. It can carry your brand, add UTM parameters, expire, and log clicks to analytics you can query. The older WordPress ?p=123 form and the wp_shortlink hook are only aliases on your own domain. They aren't branded and they aren't tracked, so they don't replace this.
The plugin questionThe plugin question
The repository's packages/integrations/wordpress-plugin folder plans four things: a settings page for an API token and workspace ID, auto-shorten on publish, an [elido] shortcode and later a block-editor block. Its own readme calls the folder "scaffolding only" with "no functional code yet". A 2026 changelog entry says the same.
So the honest answer to "which plugin do I install?" is none from us yet. If you find a third-party plugin that claims to support Elido, treat it with suspicion until you've read its code. Check one thing before you trust any shortener plugin: where does the redirect happen? A plugin that only registers links with an external shortener is fine. One that installs a local redirect handler sends every click through your PHP stack.
Create links on publish with the APICreate links on publish with the API
WordPress fires transition_post_status whenever a post changes state. A handler on that hook can create the link the first time a post goes live and keep the result in post meta. Create an API key in the dashboard under API keys, then put it in wp-config.php as ELIDO_API_KEY so it never lands in the database or a plugin file.
add_action( 'transition_post_status', 'elido_shorten_on_publish', 10, 3 );
function elido_shorten_on_publish( $new_status, $old_status, $post ) {
if ( $new_status !== 'publish' || $old_status === 'publish' ) {
return; // first publish only, not every edit
}
if ( get_post_meta( $post->ID, '_elido_short_url', true ) ) {
return; // already has one
}
$res = wp_remote_post( 'https://api.elido.app/v1/links', array(
'timeout' => 10,
'headers' => array(
'Authorization' => 'Bearer ' . ELIDO_API_KEY,
'Content-Type' => 'application/json',
'Idempotency-Key' => 'wp-post-' . $post->ID,
),
'body' => wp_json_encode( array(
'destination_url' => get_permalink( $post ),
'tags' => array( 'wordpress' ),
) ),
) );
if ( is_wp_error( $res ) || wp_remote_retrieve_response_code( $res ) >= 300 ) {
error_log( 'Elido: could not create short link for post ' . $post->ID );
return; // never block a publish on this
}
$link = json_decode( wp_remote_retrieve_body( $res ), true );
if ( ! empty( $link['short_url'] ) ) {
update_post_meta( $post->ID, '_elido_short_url', $link['short_url'] );
}
}
Three details matter. The Idempotency-Key is built from the post ID, so a hook that fires twice returns the same link instead of a duplicate. The handler swallows its own failures, because a short link must never stop an article going out. And it checks the response code before reading the body, since a failed call returns an error object with no short_url.
The public /v1/links route resolves the workspace from your API key. domain_id is required by the underlying create call, but the route fills in a default short domain when you leave it out. To use your own domain, add it first and pass its domain_id, as covered in the branded links guide. The API quickstart and the PHP guide cover retries, errors and bulk creation, and the API and SDKs page lists the endpoints.
In a template, print the stored value with get_post_meta( get_the_ID(), '_elido_short_url', true ). Posts published before you added the hook have no value, so loop over them once with get_posts and call the same function.
Test it on a staging site first. Publish a draft, then check the post's custom fields for _elido_short_url and open the link in a private window. If the field stays empty, look at your PHP error log for the Elido: line and confirm the key has permission to create links. Scope the key to the one workspace the site should write to, and rotate it from the dashboard if the site is ever compromised.
No-code routes: automation toolsNo-code routes: automation tools
If you don't want to ship PHP, bridge WordPress through an automation tool. Two caveats apply to Elido. The Zapier app is private and uses an API token for sign-in, so it isn't in Zapier's public directory. There is also an n8n community package, n8n-nodes-elido. Both are marked Beta on our integrations pages. A workable flow in either tool: trigger on "post published" from WordPress, create the link in Elido with the permalink, then write the short URL to a sheet or chat message.
What you lose compared with the hook is control.
You can't easily write the short link back into post meta, and error handling is whatever the tool gives you. The Zapier walkthrough covers multi-step flows.
By hand, and when it stops workingBy hand, and when it stops working
If you publish a few posts a week and share each deliberately, create the link in the dashboard and paste it in. You get branded links and click tracking with nothing to maintain. It stops working when several people share the same posts, when you publish daily, or when you need the link inside the post body before you hit publish.
That is the signal to add the hook.
Keep redirects out of PHPKeep redirects out of PHP
Many WordPress sites collect redirect plugins. Keep them for what they do well, which is internal 301s after a permalink change. Don't stretch them into managing outbound or affiliate links you want to measure. Resolving those through PHP and the database costs host load on every click, and the click data is usually thin.
With Elido the click never reaches WordPress. The redirect is answered at an edge location that targets a p95 of 15 ms on a cache hit, so a viral post doesn't load your content server. The design is described in the redirect latency post. Elido's default redirect status is 302, with 301 and 307 available per link, so decide that before you share links you expect to live for years.
Which route to pickWhich route to pick
If you publish often and want links created reliably, use the hook. If your team lives in an automation tool and accepts less control, use Zapier or n8n. If you publish rarely, paste by hand. Whatever you choose, put the links on your own domain so they match the site they came from, and keep the redirect off your WordPress host. The marketers page covers campaign tracking and the publisher workflow post goes deeper on editorial teams.
Related on the BlogRelated on the Blog
Frequently asked questions
Is there an Elido WordPress plugin?
Not one you can install today. The Elido repository holds a WordPress plugin scaffold (a plugin header, an uninstall file and a readme) with no functional code, and wordpress.org has no listing for it as of 2026-10-25. Until it ships, use a small publish hook that calls the Elido REST API, which takes about twenty lines of PHP.
Do I need a plugin to shorten links in WordPress?
No. A hook in your theme's functions.php or a tiny custom plugin can call the Elido API when a post is published and store the short link in post meta. You can also bridge WordPress to Elido with an automation tool such as n8n, or create links by hand in the dashboard and paste them in. A plugin only saves you the PHP.
How do I create a short link automatically when I publish a post?
Hook transition_post_status, check that the post moved to publish for the first time, send a POST to https://api.elido.app/v1/links with the permalink as destination_url, and save the short_url from the response with update_post_meta. Use an Idempotency-Key based on the post ID so a double-fired hook does not create duplicates.
What is the difference between a WordPress permalink and a short link?
A permalink is the readable URL WordPress builds for a post on your own domain. It isn't tracked once it leaves your page. A short link lives on a redirect domain, can carry your brand, and logs each click so you can see which newsletter, post or print code sent the visit.
Will a URL shortener slow down my WordPress site?
Not if the redirect is served off-site. The slow pattern is a redirect plugin that resolves every short link through PHP and your database. With Elido the click is answered at an edge location and never reaches your WordPress host, so a spike in shared links doesn't add load to your content server.
Can I use my own domain for WordPress short links?
Yes. Add a custom domain in Elido, point a DNS record at it, and links resolve on your brand. Pass the domain's domain_id when creating the link, or omit it and the API uses your workspace's default short domain.
Try Elido
Paste a URL, get a working short link
No signup. Link lives for 30 days. Sign up to keep it forever.
Free account required. The free plan includes 25 links in total. Already have an account? Log in

