WordPress shortcode Function

Last Updated January 26, 2023

The WordPress Shortcode Function is a powerful tool that allows you to shorten links directly from your WordPress website, without the need for a separate plugin. This feature is easy to set up and works with all versions of WordPress and any theme. All links shortened using this function will be safely stored in your account for tracking and analysis.


  1. Copy your unique PHP code provided by the service.
  2. Go to the WordPress admin panel and navigate to Appearance > Theme File Editor.
  3. On the right side, find and click on Theme Functions (functions.php)
  4. Paste the code at the very end of the file and save the changes.

With this function, you can easily shorten links and track their performance within your WordPress site, giving you valuable insights and helping you improve your website's overall performance.

Note:Do not share this code with anyone you do not trust as they will have access to the full API and essentially your account.

Return to the documentation click Here