{"id":282316,"date":"2026-02-25T12:01:47","date_gmt":"2026-02-25T12:01:47","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/m8c-short-links\/"},"modified":"2026-02-25T12:03:52","modified_gmt":"2026-02-25T12:03:52","slug":"short-links-for-m8c","status":"publish","type":"plugin","link":"https:\/\/wol.wordpress.org\/plugins\/short-links-for-m8c\/","author":23452756,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.0.1","stable_tag":"1.0.1","tested":"6.9.4","requires":"5.9","requires_php":"7.4","requires_plugins":null,"header_name":"Short Links for M8C \u2014 \u0644\u06cc\u0646\u06a9 \u06a9\u0648\u062a\u0627\u0647","header_author":"m8c","header_description":"\u0633\u0627\u062e\u062a \u0644\u06cc\u0646\u06a9 \u06a9\u0648\u062a\u0627\u0647 \u0628\u0631\u0627\u06cc \u0645\u062d\u0635\u0648\u0644\u0627\u062a \u0648 \u0645\u0637\u0627\u0644\u0628 \u0628\u0627 \u0627\u062a\u0635\u0627\u0644 \u0628\u0647 \u0633\u0631\u0648\u06cc\u0633 M8C","assets_banners_color":"","last_updated":"2026-02-25 12:03:52","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/m8c.ir","header_author_uri":"","rating":0,"author_block_rating":0,"active_installs":0,"downloads":189,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.0.1":{"tag":"1.0.1","author":"m09366023695","date":"2026-02-25 12:03:52"}},"upgrade_notice":{"1.0.1":"<p>Improves compatibility with PHP 7.4. Recommended update if you run PHP 7.4.<\/p>"},"ratings":[],"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.1"],"block_files":[],"assets_screenshots":[],"screenshots":{"1":"Create short link from the admin menu.","2":"Short-link metabox on post\/page\/product edit screen.","3":"My Links \u2014 list of short links created via this site.","4":"Settings \u2014 API URL and token."},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[1556,3602,256582,5356,5530],"plugin_category":[],"plugin_contributors":[],"plugin_business_model":[],"class_list":["post-282316","plugin","type-plugin","status-publish","hentry","plugin_tags-api","plugin_tags-link-shortener","plugin_tags-m8c","plugin_tags-short-link","plugin_tags-url-shortener","plugin_committers-m09366023695"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/short-links-for-m8c.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p><strong>Short Links for M8C<\/strong> connects your WordPress site to the <a href=\"https:\/\/m8c.ir\">M8C<\/a> 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.<\/p>\n\n<p><strong>Features:<\/strong><\/p>\n\n<ul>\n<li><strong>Create short links from the admin menu<\/strong> \u2014 Go to <em>Short Links for M8C \u2192 Create Short Link<\/em>, enter any URL, and get a short link.<\/li>\n<li><strong>Metabox on posts, pages, and products<\/strong> \u2014 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\u2019s URL and saves it so it\u2019s shown on the next visit.<\/li>\n<li><strong>My Links<\/strong> \u2014 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.<\/li>\n<li><strong>Simple setup<\/strong> \u2014 Enter the M8C API base URL and your API token (from the M8C panel \u2192 Developers) in <em>Short Links for M8C \u2192 Settings<\/em>.<\/li>\n<\/ul>\n\n<p><strong>Requirements:<\/strong><\/p>\n\n<ul>\n<li>A free account on the M8C service (m8c.ir).<\/li>\n<li>An API token from M8C (Panel \u2192 Developers).<\/li>\n<\/ul>\n\n<p><strong>WooCommerce:<\/strong> If WooCommerce is active, the short-link metabox is also available on product edit screens.<\/p>\n\n<h4>Multilingual<\/h4>\n\n<p>The plugin uses the <code>short-links-for-m8c<\/code> text domain. The admin interface is in Persian (Farsi) by default; you can add translations via the <code>\/languages<\/code> folder or a translation plugin.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload the plugin files to <code>\/wp-content\/plugins\/mak-wp-plugin\/<\/code>, or install the plugin through the WordPress <em>Plugins \u2192 Add New \u2192 Upload<\/em> screen.<\/li>\n<li>Activate the plugin through the <em>Plugins<\/em> menu in WordPress.<\/li>\n<li>Go to <strong>Short Links for M8C \u2192 Settings<\/strong>.<\/li>\n<li>Enter your <strong>API base URL<\/strong> (e.g. <code>https:\/\/m8c.ir\/api<\/code> \u2014 no trailing slash).<\/li>\n<li>Enter your <strong>API token<\/strong> (copy it from the M8C panel at m8c.ir \u2192 Developers).<\/li>\n<li>Save settings. You can now create short links from <em>Short Links for M8C \u2192 Create Short Link<\/em> or from the metabox on posts, pages, and products.<\/li>\n<\/ol>\n\n<h4>Getting an API token<\/h4>\n\n<ol>\n<li>Register or log in at <a href=\"https:\/\/m8c.ir\">m8c.ir<\/a>.<\/li>\n<li>In the M8C panel, open <strong>Developers<\/strong> (\u062a\u0648\u0633\u0639\u0647\u200c\u062f\u0647\u0646\u062f\u06af\u0627\u0646).<\/li>\n<li>Create or copy your API token and paste it into the plugin settings.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id=\"do%20i%20need%20an%20m8c%20account%3F\"><h3>Do I need an M8C account?<\/h3><\/dt>\n<dd><p>Yes. The plugin uses the M8C service to create short links. Sign up for free at m8c.ir.<\/p><\/dd>\n<dt id=\"is%20the%20plugin%20free%3F\"><h3>Is the plugin free?<\/h3><\/dt>\n<dd><p>Yes. The plugin is free. The M8C service also offers a free tier; check m8c.ir for current limits.<\/p><\/dd>\n<dt id=\"does%20it%20work%20with%20woocommerce%3F\"><h3>Does it work with WooCommerce?<\/h3><\/dt>\n<dd><p>Yes. When WooCommerce is active, the short-link metabox appears on product edit screens so you can create a short link for each product URL.<\/p><\/dd>\n<dt id=\"where%20are%20my%20short%20links%20stored%3F\"><h3>Where are my short links stored?<\/h3><\/dt>\n<dd><p>Short links are created on the M8C server. Links created from this site are associated with your M8C account and can be viewed in <em>Short Links for M8C \u2192 My Links<\/em> or in the M8C panel at m8c.ir.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.0.1<\/h4>\n\n<ul>\n<li>PHP 7.4 compatibility (removed PHP 8.0-only syntax).<\/li>\n<li>Compatibility note in plugin header.<\/li>\n<\/ul>\n\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>Initial release.<\/li>\n<li>Create short links from admin menu.<\/li>\n<li>Metabox on posts, pages, and WooCommerce products.<\/li>\n<li>Save short link in post meta and show on next visit.<\/li>\n<li>My Links page with pagination (live from API).<\/li>\n<li>Settings for API base URL and token.<\/li>\n<\/ul>","raw_excerpt":"Create short links from WordPress using the M8C link shortener service (m8c.ir). Not affiliated with M8C; for use with the M8C API.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wol.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/282316","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wol.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/wol.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/wol.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=282316"}],"author":[{"embeddable":true,"href":"https:\/\/wol.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/m09366023695"}],"wp:attachment":[{"href":"https:\/\/wol.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=282316"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wol.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=282316"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wol.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=282316"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wol.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=282316"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wol.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=282316"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wol.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=282316"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}