外掛說明
WP-Short.io is the easiest way to generate short links for your WordPress posts. It is a timesaving integration since you don’t need to copy a long link and manually shorten it on Short.io.
Specify an API key (you’ll find it in your Short.io account), identify the post types to create short links for, and forget about it! WP-Short.io automatically shortens URLs for WordPress posts.
After you finish writing a striking post, share it with your friends on social media.
Now, instead of a long URL, a short and automatically generated link is already waiting for you. Just copy and send it!
Feature Requests are welcome via https://feedback.short.cm/
安裝方式
Add New Plugin
-
From the WordPress Dashboard, opt for Plugins > Add.
-
Search for WP-Short.io in the search bar.
-
Select Install > OK > Activate Plugin.
-
This will return you to the WordPress Plugins page. Find WP-Short.io in the list and click Settings to configure.
-
Enter your API key. For this, go to your Short.io account, choose “Integrations & API” and copy the API key!
常見問題集
-
After installation, do I need to update all my posts for short links to be created?
-
No. The first time a shortlink is requested for a particular post, WP Short.io will automatically generate one.
-
What happens if I change a posts permalink?
-
WP Short.io will verify the shortlink when it’s requested and update as necessary all on its own.
-
Can I include the shortlink directly in a post?
-
Sure can! Just use our handy dandy shortcode
[wpshortcm]
and shazam! The shortcode accepts all the same arguments as the_shortlink(). You can also set “post_id” directly if you wish. -
How do I include a shortlink using PHP?
-
(You don’t have to include the php comment, but you can if you want.)
參與者及開發者
變更記錄
1.0.1
- API URL updated
1.0.0
- Initial release