{"id":153809,"date":"2022-02-25T10:19:33","date_gmt":"2022-02-25T10:19:33","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/short-url-fe\/"},"modified":"2022-02-25T10:19:29","modified_gmt":"2022-02-25T10:19:29","slug":"short-url-fe","status":"publish","type":"plugin","link":"https:\/\/tah.wordpress.org\/plugins\/short-url-fe\/","author":20250143,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.0.0","stable_tag":"trunk","tested":"5.9.13","requires":"5.0","requires_php":"7.0","requires_plugins":"","header_name":"Short URL FE","header_author":"Jos\u00e9 Mar\u00eda Ferri Azor\u00edn","header_description":"This plugin automatically adds a short URL for all blog posts (in FrontEnd) after post content. It uses https:\/\/v.gd or https:\/\/tinyurl.com\/ service to get short URLs.","assets_banners_color":"","last_updated":"2022-02-25 10:19:29","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"","header_author_uri":"","rating":0,"author_block_rating":0,"active_installs":0,"downloads":751,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":[],"ratings":[],"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":2684925,"resolution":"128x128","location":"assets","locale":""}},"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":[],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":2684895,"resolution":"1","location":"assets","locale":""},"screenshot-2.png":{"filename":"screenshot-2.png","revision":2684895,"resolution":"2","location":"assets","locale":""},"screenshot-3.png":{"filename":"screenshot-3.png","revision":2684895,"resolution":"3","location":"assets","locale":""}},"screenshots":{"1":"Plugin showing short URL for a blog post","2":"Short URL with Copy button","3":"Short URL FE options page"},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[5356,137,544,541],"plugin_category":[],"plugin_contributors":[208024],"plugin_business_model":[],"class_list":["post-153809","plugin","type-plugin","status-publish","hentry","plugin_tags-short-link","plugin_tags-short-url","plugin_tags-shortlink","plugin_tags-shorturl","plugin_contributors-jmferri","plugin_committers-jmferri"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/short-url-fe\/assets\/icon-128x128.png?rev=2684925","icon_2x":false,"generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/short-url-fe\/assets\/screenshot-1.png?rev=2684895","caption":"Plugin showing short URL for a blog post"},{"src":"https:\/\/ps.w.org\/short-url-fe\/assets\/screenshot-2.png?rev=2684895","caption":"Short URL with Copy button"},{"src":"https:\/\/ps.w.org\/short-url-fe\/assets\/screenshot-3.png?rev=2684895","caption":"Short URL FE options page"}],"raw_content":"<!--section=description-->\n<p>This plugin is based on <strong><a href=\"https:\/\/wordpress.org\/plugins\/tiny-url\/\">Prasanna SP Tiny URL<\/a><\/strong> plugin and uses some of its code.<\/p>\n\n<p>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 <a href=\"https:\/\/v.gd\">v.gd<\/a> or <a href=\"https:\/\/tinyurl.com\">TinyURL.com<\/a> 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 <em>Show Short URL FE on pages<\/em> option in plugin settings page.<\/p>\n\n<p><strong>Note:<\/strong> Please read V.gd <a href=\"https:\/\/v.gd\/terms.php\">terms of use<\/a> before activating the plugin. You must abide by them after activating the plugin.\n<strong>Note:<\/strong> Please read TinyURL's <a href=\"https:\/\/tinyurl.com\/#terms\">terms of use<\/a> before activating the plugin. You must abide by them after activating the plugin. TinyURL is a trademark of TinyURL, LLC<\/p>\n\n<h4>How to style the output?<\/h4>\n\n<p>You can add a class for textbox and a class for button on Short URL FE plugin options page.<\/p>\n\n<p>The output of this plugin is wrapped in a <code>&lt;p&gt;<\/code> tag with class <code>short-url-fe<\/code>. Use this class and, optionally, your classes to style them.\nExample,<\/p>\n\n<pre><code>\/* this change background color for area where plugin is shown *\/\n.short-url-fe {\n    background-color: #ccc;\n    padding: 4px;\n    border-radius: 4px;\n}\n\/* Assuming you added a class 'mytextbox' for textbox, this adjusts textbox style *\/\n.short-url-fe .mytextbox {\n    width: min(20rem, 70%);\n    box-shadow: 2px 2px 4px 1px #ccc inset;\n    padding: .5rem 4px;\n}\n\/* and assuming you added a class 'mycopybutton' for button, this adjusts button style *\/\n.short-url-fe .mycopybutton {\n    background-color: lightblue;\n    color: darkblue;\n}\n<\/code><\/pre>\n\n<!--section=installation-->\n<ol>\n<li>Upload the <code>short-url-fe<\/code> folder to the <code>\/wp-content\/plugins\/<\/code> directory<\/li>\n<li>Activate the Short URL FE plugin through the 'Plugins' menu in WordPress<\/li>\n<li>Plugin will automatically add short URLs for blog posts<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id='does%20it%20show%20short%20urls%20for%20pages%20as%20well%3F'><h3>Does it show short URLs for pages as well?<\/h3><\/dt>\n<dd><p>Yes, it does. But, you need to enable this feature on Short URL FE plugin options page.<\/p><\/dd>\n<dt id='copy%20button%20is%20not%20showing%20up%20next%20to%20short%20url%20textbox.%20why%3F'><h3>Copy button is not showing up next to short URL textbox. Why?<\/h3><\/dt>\n<dd><p>Make sure you've selected <strong>Show Copy URL button<\/strong> in Short URL FE options.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>Initial public release.<\/li>\n<\/ul>","raw_excerpt":"Show a Short URL for all of your blog posts and optionally for pages","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/153809","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=153809"}],"author":[{"embeddable":true,"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/jmferri"}],"wp:attachment":[{"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=153809"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=153809"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=153809"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=153809"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=153809"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=153809"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}