This plugin hasn’t been tested with the latest 3 major releases of WordPress. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

Canada Post Tracking Shortcode


Generate a parcel-tracking URL using [cp_tracker_link] shortcode. This also works with WooCommerce Order Notes.

Valid attributes:

  • tc: The actual tracking code
  • lang: Whether to display the page in English (en) or French (fr). Default is “en”. These values are used by Canada Post, so don’t try anything else.
  • target: If passed, will be the value used in the target attribute of the link.


    [cp_tracker_link tc=”123456789″]


    [cp_tracker_link tc=”123456789″ lang=”en” target=”_new”]


  1. Upload the entire plugin folder via FTP to /wp-content/plugins/.
  2. Activate the plugin through the ‘Plugins’ menu in WordPress.


  • Why does the shortcode not get transformed into a link when I add a WooCommerce Order Note?

    Order Notes are added via Ajax and the shortcode gets parsed in the back end. If you refresh the page,
    you will see that the shortcode got transformed into the link.

Contributors & Developers

“Canada Post Tracking Shortcode” is open source software. The following people have contributed to this plugin.



  • Override WC hooks only if WC version is < 2.3.3


  • Applies a workaround for WooCommerce bug which caused the clients to receive the comment with unparsed shortcode.


  • Initial Release