WordPress.org

Ready to get started?Download WordPress

Plugin Directory

!This plugin hasn't been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

YOURLS Widget

This widget lets you embed your YOURLS installation (or someone else's through API) to have a short URL service into your sidebar.

=The widget gives an "Invalid username or password" notice/ I have a private configuration of YOURLS (admin access needs password).=

This happens because your YOURLS installation is private configuration. To fix this you have to edit the yourls-widget-config.php and add user and password in the fields.

Example with username "user and password "password: becomes:

=Let any website use my API even if I have password protected admin=

To do this you have to edit your YOURLS API (yourls-api.php) and remove these lines:

if ( defined(’YOURLS_PRIVATE’) && YOURLS_PRIVATE == true )
require_once( dirname(__FILE__).’/includes/auth.php’ );

This will disable the password protection on the API, but will keep your admin menu passworded.

Requires: 2.8 or higher
Compatible up to: 2.8.4
Last Updated: 2009-9-2
Downloads: 1,531

Ratings

4 stars
4 out of 5 stars

Support

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.

100,1,1
100,1,1
100,1,1
100,1,1