{"id":6613,"date":"2009-09-02T21:26:16","date_gmt":"2009-09-02T21:26:16","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/yourls-widget\/"},"modified":"2009-09-04T16:32:25","modified_gmt":"2009-09-04T16:32:25","slug":"yourls-widget","status":"closed","type":"plugin","link":"https:\/\/ar.wordpress.org\/plugins\/yourls-widget\/","author":4162965,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"0.3","stable_tag":"0.4","tested":"2.8.4","requires":"2.8","requires_php":"","requires_plugins":"","header_name":"YOURLS Widget","header_author":"Woxxy","header_description":"","assets_banners_color":"","last_updated":"2009-09-04 16:32:25","external_support_url":"","external_repository_url":"","donate_link":"http:\/\/foolrulez.org\/donate\/","header_plugin_uri":"http:\/\/foolrulez.org\/blog\/2009\/09\/yourls-widget-released\/","header_author_uri":"http:\/\/woxxy.org\/blog","rating":0,"author_block_rating":0,"active_installs":10,"downloads":2381,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":0},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["0.3","0.4"],"block_files":[],"assets_screenshots":[],"screenshots":[],"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[40578,538,162,12095],"plugin_category":[43],"plugin_contributors":[128405],"plugin_business_model":[],"class_list":["post-6613","plugin","type-plugin","status-closed","hentry","plugin_tags-shortening","plugin_tags-url","plugin_tags-widget","plugin_tags-yourls","plugin_category-customization","plugin_contributors-woxxy","plugin_committers-woxxy"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/yourls-widget.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p>This widget lets you embed your YOURLS installation (or someone else's through API) to have a short URL service into your sidebar.\nIt's pretty simple as for now and it does its work.<\/p>\n\n<p>I will implement more options as inserting the password directly into the widget options menu (instead of via text-editor) in a few days. If you are using a passworded admin menu you have to edit yourls-widget-config.php. Further info in FAQ section.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload the folder <code>yourls-widget<\/code> (keep the name intact) to the <code>\/wp-content\/plugins\/<\/code> directory.<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress.<\/li>\n<li>Add the widget to your sidebar via the <code>Appearance\/Widgets<\/code> menu.<\/li>\n<li>Insert the URL to the API into the widget options. Example: http:\/\/yourdomain.com\/yourls-api.php<\/li>\n<li>If the YOURLS installation is in \"private\" configuration (with password to access admin) you have to enter the username and password in the yourls-widget-config.php file. Further info in FAQ section.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt>The widget gives an \"Invalid username or password\" notice\/ I have a private configuration of YOURLS (admin access needs password).<\/dt>\n<dd><p>This happens because your YOURLS installation is private configuration.\nTo fix this you have to edit the yourls-widget-config.php and add user and password in the fields.<\/p>\n\n<p>Example with username \"user and password \"password:\n            \nbecomes:\n            <\/p><\/dd>\n<dt>Let any website use my API even if I have password protected admin<\/dt>\n<dd><p>To do this you have to edit your YOURLS API (yourls-api.php) and remove these lines:<\/p>\n\n<pre><code>\n<\/code><\/pre>\n\n<p>This will disable the password protection on the API, but will keep your admin menu passworded.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>0.4<\/h4>\n\n<p>Fixed a mistake in the code not making jQuery work.<\/p>\n\n<h4>0.3<\/h4>\n\n<ul>\n<li>First simple yet stable release.<\/li>\n<\/ul>","raw_excerpt":"This widget lets you embed your YOURLS installation (or someone else&#039;s through API) to have a short URL service into your sidebar.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/ar.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/6613","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ar.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/ar.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/ar.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=6613"}],"author":[{"embeddable":true,"href":"https:\/\/ar.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/woxxy"}],"wp:attachment":[{"href":"https:\/\/ar.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=6613"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/ar.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=6613"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/ar.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=6613"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/ar.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=6613"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/ar.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=6613"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/ar.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=6613"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}