Link Format

The Link format allows your visitors to submit external page links. Snax tries to simplify the process using Open Graph (if supported) to automatically fetch link title, description and featured image.

Requirements

To use the automatic data fetching, make sure that the below options are enabled on your PHP server:

  • allow_url_open
  • file_get_contents

If you don't know how to check it, please contact your hosting admin.

Activation

To activate and set up the Link format, please do as follows:

  1. Go to the WP admin panel › Settings › Snax › General section
  2. Please ensure that the Link format is checked
  3. Switch to the Links tab
  4. Adjust format settings (required fields, featured media visibility)
  5. Save changes

To create a link using the frontend uploader, please do as follows:

  1. Go to your Frontend Submission page (WP admin panel › Settings › Snax › Pages › Frontend Submission › View)
  2. Choose the Link format
  3. Fill an external page url, for example:
    http://bimber.bringthepixel.com/main/this-santa-really-can-tell-how-to-drink-and-hack-your-hangover/
  4. If provided page supports the Open Graph protocol, page title, description and featured image will be fetched automatically (screen)

  1. If, for a variety of reasons, page meta tags are not accessible you will be notified about it. Fill the missing data manually.
  2. Publish

To create a link using backend editor, please do as follows:

  1. Go to the WP admin panel › Posts page
  2. Click the Add new button
  3. Fill post title
  4. Now you have to add a HTML link tag ‹a› to the post content (screen). The href attribute defines the link target url
  5. After the HTML link tag you can add any content you want. It will be used as a post summary, on archive listings
  6. Set the post format to Link (screen)
  7. Publish

When a user clicks on a link (from any archive collection), the link can be opened directly (using one of the opening methods, see below) or the user can be redirected to the link single page. You can freely modify that page, in the same way as you edit other posts. When a user clicks the external link on that page, the link also will be opened based on the selected opening method (see below).

To allow users visit a link single page, please go to the WP admin panel › Appearance › Customize › Posts › Link Post Format section and change the Has a single page? option to yes.

Regardless of whether a link has or has not its single page, external links can be opened:

  1. in a new window
  2. in the same window
  3. using landing page - user is redirected to the special page with counter (see below)

To set the default link opening method, please go to the WP admin panel › Appearance › Customize › Posts › Link Post Format section and change the Open method value.

Set up landing page

Instead of allowing users to leave your site immediately after clicking the post that is an external link, you can forward them to your landing page (screen below). On that page you can place some ads or whatever you like.

To enabled the landing page for all "external" posts (post format set to the "Link"), please do as follows:

  1. Go to the WP admin panel › Pages page
  2. Click the Add new button
  3. Fill a page title e.g. Exit link landing page
  4. Leave the content empty
  5. Publish page
  6. Now, go to the WP admin panel › Appearance › Customize panel
  7. Switch to the Posts › Link Post Format section (screen)

  1. Open or close a link single page using the Has a single page? option
  2. Choose the using landing page open method
  3. Set the Landing page to the previously created page Exit link landing page
  4. Adjust the delay time
  5. Publish
  6. Now, when you click any of link posts (e.g. on homepage), you should be redirected to the Link landing page

Count views

When user clicks a link (regardless of the opening method and a single page accessibility) the link views counter will be incremented. If a link has a single page, its views will be counted when user visits that single page. If a link has no a single page, its views will be counted when user is redirected to a target link location. E.g. when you use the "Landing page" method, the views counter will be updated when the Redirection Counter goes to 0 seconds and redirection will be triggered.

Redirection counter location

Optionally, you can adjust the landing page content by adding some extra info for you visitors. For that, you probably will need to change the location of the redirection counter (Redirecting ... in 5 seconds on screen). You can do that by placing the quick tag
‹!--bimber-link-landing-page-content--›
between other elements on the page. If you don't add this quick tag to the page content, the counter will be added at the end of the page.

Duplicates checker

Every submitted link is checked against duplication. If a link with the same url already exists, the link submission is cancelled.

Moderation

If a user finds that a link violates site's rules, he can report it sending mail to site's owner.

To turn on/off moderation and set the recipient's e-mail address, please go to the WP admin panel › Settings › Snax › Moderation.