Περιγραφή
This plugin is based on Prasanna SP Tiny URL plugin and uses some of its code.
This plugin shows a short URL for each of your blog posts after post content (in FrontEnd). Short URLs are great for sharing your posts on micro-blogging sites like twitter, identi.ca etc., This plugin sends current post or page URL to v.gd or TinyURL.com and gets a short URL for the same. Then it shows that Short URL after post content. You can select which users can see short URL textbox: “All users”, “Regitered users” or “Registered users that can edit the post/page”. User can just click on the box to select URL, or click on a Copy button to Copy the Short URL to clipboard. You can also show Short URLs for pages by selecting Show Short URL FE on pages option in plugin settings page.
Note: Please read V.gd terms of use before activating the plugin. You must abide by them after activating the plugin.
Note: Please read TinyURL’s terms of use before activating the plugin. You must abide by them after activating the plugin. TinyURL is a trademark of TinyURL, LLC
How to style the output?
You can add a class for textbox and a class for button on Short URL FE plugin options page.
The output of this plugin is wrapped in a <p>
tag with class short-url-fe
. Use this class and, optionally, your classes to style them.
Example,
/* this change background color for area where plugin is shown */
.short-url-fe {
background-color: #ccc;
padding: 4px;
border-radius: 4px;
}
/* Assuming you added a class 'mytextbox' for textbox, this adjusts textbox style */
.short-url-fe .mytextbox {
width: min(20rem, 70%);
box-shadow: 2px 2px 4px 1px #ccc inset;
padding: .5rem 4px;
}
/* and assuming you added a class 'mycopybutton' for button, this adjusts button style */
.short-url-fe .mycopybutton {
background-color: lightblue;
color: darkblue;
}
Στιγμιότυπα
Εγκατάσταση
- Upload the
short-url-fe
folder to the/wp-content/plugins/
directory - Activate the Short URL FE plugin through the ‘Plugins’ menu in WordPress
- Plugin will automatically add short URLs for blog posts
Συχνές Ερωτήσεις
-
Does it show short URLs for pages as well?
-
Yes, it does. But, you need to enable this feature on Short URL FE plugin options page.
-
Make sure you’ve selected Show Copy URL button in Short URL FE options.
Κριτικές
Δεν υπάρχουν αξιολογήσεις για αυτό το πρόσθετο.
Συνεισφέροντες & Προγραμματιστές
“Short URL FE” είναι λογισμικό ανοιχτού κώδικα. Οι παρακάτω έχουν συνεισφέρει στη δημιουργία του.
ΣυντελεστέςΤο “Short URL FE” έχει μεταφραστεί σε 1 γλώσσα. Ευχαριστούμε τους μεταφραστές για τις συνεισφορές τους.
Μεταφράστε το “Short URL FE” στην γλώσσα σας.
Ενδιαφέρεστε για την ανάπτυξη;
Περιηγηθείτε στον κώδικα, ανατρέξτε στο αποθετήριο SVN ή εγγραφείτε στο αρχείο καταγραφής αλλαγών ανάπτυξης μέσω RSS .
Σύνοψη αλλαγών
1.0.0
- Initial public release.