The Public Link Creation feature in Pretty Link Pro turns your website into a link shrinking service. It is also pretty easy to setup. Here’s how you can get it working on your site:
Enable Public Link Creation
- This feature is disabled by default so you need to enable it. In your WordPress admin click on the “Pretty Link” -> “Pro Options” menu item.
- Click on the “Public Link Creation Options” link to make these options visible.
- Click the check box labeled “Allow Public Link Creation on this website.”
Put a Public Link Creation Form on your site
For this item, you have 2 options: you can use the “Create a Short URL” sidebar widget or you can just place a WordPress shortcode on any page or post to display this form.
Here’s how you’d use the “Create a Short URL” Widget:
- After you’ve enabled Public Link creation you can go to the “Appearance” -> “Widgets” and see that there is a new widget there named “Create a Short URL.”
- Drag this into one of your sidebars and configure it however you want (the same options are available through the widget).
Here’s how you’d use a shortcode to display this form:
- Create a new Page or Post or edit an existing one.
- In the Rich Text Editor just type
to show a basic form that creates links using the default options. - If you want to specify some options for links created with this form that are different than the Default Link Options you’ve set (“Pretty Link” -> “Options”) then you can actually add several attributes to the shortcode to do this:
- label — This option sets the text before the input field which is displayed with the public link creation form. Example:
. - button — This option sets the text displayed on the submit button for this form. If you don’t want this button showing at all you can set it to an empty string. Standard example
… No button example:. - redirect_type – This sets how the link will be redirected. Possible values for this option are “307″, “301″, “prettybar” or “cloak.” Example:
. - group – You can specify a default group that these links will be placed in when created. You just pass the group’s id. Example:
.
- label — This option sets the text before the input field which is displayed with the public link creation form. Example:
- Here’s a full example:
.

