{"id":151989,"date":"2022-01-11T01:17:31","date_gmt":"2022-01-11T01:17:31","guid":{"rendered":"https:\/\/en-gb.wordpress.org\/plugins\/danp-bitly-urls\/"},"modified":"2022-01-12T15:12:12","modified_gmt":"2022-01-12T15:12:12","slug":"danp-bitly-urls","status":"publish","type":"plugin","link":"https:\/\/pcd.wordpress.org\/plugins\/danp-bitly-urls\/","author":294237,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.1.0","stable_tag":"trunk","tested":"5.8.13","requires":"5.0","requires_php":"5.6","requires_plugins":"","header_name":"DanP Bitly URLs","header_author":"Dan Poulton","header_description":"Automatically generate short Bitly URLs for your WordPress posts and pages.","assets_banners_color":"ee6123","last_updated":"2022-01-12 15:12:12","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/dan-p.net\/donate","header_plugin_uri":"https:\/\/dan-p.net\/wordpress-plugins\/danp-bitly-urls","header_author_uri":"https:\/\/dan-p.net","rating":0,"author_block_rating":0,"active_installs":0,"downloads":882,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","faq","changelog"],"tags":[],"upgrade_notice":{"1.0":"<ul>\n<li>This is the first version!<\/li>\n<\/ul>","1.1":"<ul>\n<li>API token is now checked for validity on saving that option<\/li>\n<li>Shortcode to output Bitly shortened URL introduced<\/li>\n<\/ul>"},"ratings":[],"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":2655515,"resolution":"128x128","location":"assets","locale":""},"icon-256x256.png":{"filename":"icon-256x256.png","revision":2655515,"resolution":"256x256","location":"assets","locale":""}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":2655515,"resolution":"1544x500","location":"assets","locale":""},"banner-772x250.png":{"filename":"banner-772x250.png","revision":2655515,"resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":[],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":2655515,"resolution":"1","location":"assets","locale":""}},"screenshots":{"1":"This is where you can add your Bitly API token and generate short URLs for all posts and pages. Location: Dashboard &gt; Settings &gt; Reading."},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[3159,5364,37613],"plugin_category":[],"plugin_contributors":[206641],"plugin_business_model":[],"class_list":["post-151989","plugin","type-plugin","status-publish","hentry","plugin_tags-bitly","plugin_tags-short-links","plugin_tags-short-urls","plugin_contributors-danpoulton","plugin_committers-danpoulton"],"banners":{"banner":"https:\/\/ps.w.org\/danp-bitly-urls\/assets\/banner-772x250.png?rev=2655515","banner_2x":"https:\/\/ps.w.org\/danp-bitly-urls\/assets\/banner-1544x500.png?rev=2655515","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/danp-bitly-urls\/assets\/icon-128x128.png?rev=2655515","icon_2x":"https:\/\/ps.w.org\/danp-bitly-urls\/assets\/icon-256x256.png?rev=2655515","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/danp-bitly-urls\/assets\/screenshot-1.png?rev=2655515","caption":"This is where you can add your Bitly API token and generate short URLs for all posts and pages. Location: Dashboard &gt; Settings &gt; Reading."}],"raw_content":"<!--section=description-->\n<p>This very simple plugin generates a Bitly shortlink and saves it to your WordPress database.<\/p>\n\n<p>It does this via two different methods:<\/p>\n\n<ul>\n<li>Publish a page or post for the first time<\/li>\n<li>Click the generate all button<\/li>\n<\/ul>\n\n<p><a href=\"https:\/\/dan-p.net\/wordpress-plugins\/danp-bitly-urls\">Getting Started Guide<\/a><\/p>\n\n<!--section=faq-->\n<dl>\n<dt id='how%20do%20i%20get%20a%20bitly%20api%20token%3F'><h3>How do I get a Bitly API token?<\/h3><\/dt>\n<dd><p>You'll need to register for an account with <a href=\"https:\/\/bitly.com\">Bitly<\/a>. Once you've got one, take a look at <a href=\"https:\/\/support.bitly.com\/hc\/en-us\/articles\/230647907-How-do-I-generate-an-OAuth-access-token-for-the-Bitly-API-\">this guide on getting your API token<\/a>.<\/p><\/dd>\n<dt id='where%20do%20i%20enter%20my%20bitly%20api%20token%3F'><h3>Where do I enter my Bitly API token?<\/h3><\/dt>\n<dd><p>Login to the WordPress Dashboard, Settings, then Reading. Scroll to the bottom and you'll see \"DanP Bitly URLs: API Token\". Enter your token and click save.<\/p><\/dd>\n<dt id='how%20do%20i%20generate%20a%20new%20bitly%20short%20url%3F'><h3>How do I generate a new Bitly short URL?<\/h3><\/dt>\n<dd><p>Either:<\/p>\n\n<ul>\n<li>Publish a new post or page for the first time<\/li>\n<li>Login to the WordPress Dashboard, Settings, then Reading. Scroll to the bottom and you'll see \"DanP Bitly URLs: API Token\". Click the \"Update all short URLs\" button.<\/li>\n<\/ul><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.0<\/h4>\n\n<ul>\n<li>This is the first version!<\/li>\n<\/ul>\n\n<h4>1.1<\/h4>\n\n<ul>\n<li>API token is now checked for validity on saving that option<\/li>\n<li>Shortcode to output Bitly shortened URL introduced<\/li>\n<\/ul>","raw_excerpt":"Generate Bitly short links for posts and pages every time you first publish. Already have posts? You can generate a link for all posts and pages too.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/151989","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=151989"}],"author":[{"embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/danpoulton"}],"wp:attachment":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=151989"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=151989"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=151989"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=151989"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=151989"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=151989"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}