Contributors: webmarka, norcross (original plugin author)
Website Link: https://refr.ca/
Tags: REFR, shortlink, custom URL, YOURLS
Requires at least: 3.6
Tested up to: 4.8.3
Stable tag: 1.0.0
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Donate link: https://andrewnorcross.com/donate
Creates a custom short URL when saving posts.
Creates a REFR generated shortlink on demand or when saving posts.
Features:
- Optional custom keyword for link creation.
- Will retrieve existing URL if one has already been created.
- Click count appears on post menu
- Available for standard posts and custom post types.
- Optional filter for wp_shortlink
- Built in cron job will fetch updated click counts every hour.
This section describes how to install the plugin and get it working.
- Upload
refr-shortlinks
to the/wp-content/plugins/
directory. - Activate the plugin through the 'Plugins' menu in WordPress.
- Navigate to the "REFR Settings" option in the Settings Menu.
- Enter your REFR custom URL and API key
- Enjoy!
This plugin creates a shortlink (stored in the post meta table) for each post that can be used in sharing buttons, etc.
REFR is a self-hosted PHP based application that allows you to make your own custom shortlinks, similar to bit.ly and j.mp. Learn more about it here
Place the following code in your theme file (usually single.php) <?php refr_display_box(); ?>
This is a limitation with the REFR API, as there is not a method yet to delete a link. The delete function has been added to the plugin to allow users to get the updated URL that they may have changed in the REFR admin panel
- Forked the excellent work from norcross named REFR Link Creator.
- See this link for previous changes from the original plugin : https://github.com/norcross/refr-link-creator