Short Links for M8C connects your WordPress site to the M8C link shortener service. This plugin is not officially affiliated with M8C. Create short links directly from the WordPress admin, or generate a short link for any post, page, or WooCommerce product with one click from the editor.
Features:
- Create short links from the admin menu — Go to Short Links for M8C → Create Short Link, enter any URL, and get a short link.
- Metabox on posts, pages, and products — When editing a post, page, or WooCommerce product, a “Short Links for M8C” metabox appears in the sidebar. One click creates a short link for that content’s URL and saves it so it’s shown on the next visit.
- My Links — View all short links created via this site (via the API) in a paginated list with copy buttons and click counts, fetched live from the M8C server.
- Simple setup — Enter the M8C API base URL and your API token (from the M8C panel → Developers) in Short Links for M8C → Settings.
Requirements:
- A free account on the M8C service (m8c.ir).
- An API token from M8C (Panel → Developers).
WooCommerce: If WooCommerce is active, the short-link metabox is also available on product edit screens.
Multilingual
The plugin uses the short-links-for-m8c text domain. The admin interface is in Persian (Farsi) by default; you can add translations via the /languages folder or a translation plugin.