Linux 软件免费装
Banner图

Daklo Courier & Parcel Tracking

开发者 morshed06
更新时间 2026年11月18日 13:23
PHP版本: 7.4 及以上
WordPress版本: 7.1
版权: GPLv2 or later
版权网址: 版权信息

标签

tracking courier freight logistics shipment-tracking

下载

1.1.0 1.0.0 1.1.1

详情介绍:

This plugin adds a tracking box to your site. The visitor types a tracking number (or a TEG Load ID) and sees the current status, the last known location and the tracking history. You use your own account with each carrier. The plugin does not come with any API keys. Supported services Main features DHL, UPS, FedEx, Ship24 and TEG are trademarks of their owners. This plugin is not made by, or connected to, any of them. Shortcodes On the Shortcode tab, choose a courier from the drop-down and its shortcode is shown for you to copy. The "Create a page for me" button makes a draft page with the shortcode in it. Extra options for all of them: title, intro, button, placeholder, heading, help_title, format_title, format_text and help="no".

安装:

  1. Upload the daklo-courier-tracking folder to /wp-content/plugins/, or install the zip from Plugins > Add New > Upload Plugin.
  2. Activate the plugin.
  3. Go to Daklo Tracking (left menu). Use the tabs: Trackings, Courier, Test, Fields, Shortcode, Form text, Theme, Limits and Support.
  4. On the Courier tab, click a courier. Its card opens below: enter the API details and click "Connect & Verify". The status must change to "Active".
  5. On the other tabs, choose the courier at the top and change its settings. Back and Next take you through the tabs.
  6. Add one of the shortcodes to a page, or press "Create a page for me" on the Shortcode tab.

屏幕截图:

  • Parcel tracking (DHL shown): status, shipment details and tracking history.
  • Trackings: every courier you set up, with its shortcode, status and actions.
  • Courier tab: pick a courier and connect it with your own API details.
  • Fields: choose which details visitors see.
  • Shortcode: copy the shortcode, create a page, and manage your tracking pages.
  • Theme: pick the colour of the form with a live preview.

升级注意事项:

1.1.1 Author name update. 1.1.0 New tabbed admin with a courier picker, Back/Next buttons, a Tracking pages list, a Support tab and a deactivation feedback pop-up. 1.0.0 First release.

常见问题:

How do I set up a second courier?

Open the Trackings tab and click "Add New Tracking", pick the next courier and repeat the steps. Each courier keeps its own settings.

Where do I get the API details?

Limits and endpoints are set by each carrier and can change. Please read their documentation.

How does the carrier detection work?

The plugin looks at the format of the number (UPS starts with 1Z, FedEx has 12, 15, 20 or 22 digits, DHL has 10 digits, a TEG Load ID has 5 to 9 digits). It tries the matching connected carrier first. If that carrier does not know the number, or no carrier matches, Ship24 is tried when it is connected. At most two carriers are asked for one lookup.

A number is shown as "not found" but it is correct.

Parcels can take some hours to appear after the label is made. Try again later. With Ship24, a new number is registered on the first lookup and may show no events yet.

How do I save my free API quota?

Use "Cache parcel results" and "Daily limit per carrier" on the Limits tab of Daklo Tracking (left menu). They are saved separately for each courier. The same number is then not sent again for a few minutes, and your site stops calling a carrier after the daily limit.

My site is behind Cloudflare or a proxy.

Add this line to wp-config.php so the rate limit uses the real visitor IP: define( 'DAKLO_TRUST_PROXY_HEADERS', true );

Can I ask for a confirmation before this plugin is deactivated or deleted?

Yes. Add define( 'DAKLO_LOCK_WARNING', true ); to wp-config.php. The Plugins screen then asks for confirmation before deactivate or delete.

How do I add another carrier?

Extend the DAKLO_Provider class (see includes/providers/class-daklo-provider-dhl.php) and add it with the daklo_providers filter: add_filter( 'daklo_providers', function ( $providers ) { $providers[] = new My_Carrier_Provider(); return $providers; } ); The carrier then gets its own settings card and works in the shortcodes. If you do not want to write code, connect Ship24: one key tracks 1,500+ carriers (Royal Mail, DPD, Evri, USPS and more).

Can I move the admin menu item higher?

By default it sits just below Comments. To move it, add this to your theme's functions.php or a code snippet plugin (58 puts it just above Appearance): add_filter( 'daklo_menu_position', function () { return 58; } );

Which filters can I use?

daklo_providers, daklo_api_base_url, daklo_show_full_address, daklo_rate_limit_requests, daklo_rate_limit_window, daklo_rate_limit_failures, daklo_rate_limit_failure_window, daklo_client_ip, daklo_allowed_origin_hosts and daklo_menu_position.

更新日志:

1.1.1 1.1.0 1.0.0