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.
To use the automatic data fetching, make sure that the below options are enabled on your PHP server:
If you don't know how to check it, please contact your hosting admin.
To activate and set up the Link format, please do as follows:
- Go to the WP admin panel › Settings › Snax › General section
- Please ensure that the Link format is checked
- Switch to the Links tab
- Adjust format settings (required fields, featured media visibility)
- Save changes
Create link (frontend)
To create a link using the frontend uploader, please do as follows:
- Go to your Frontend Submission page (WP admin panel › Settings › Snax › Pages › Frontend Submission › View)
- Choose the Link format
Fill an external page url, for example:
- If provided page supports the Open Graph protocol, page title, description and featured image will be fetched automatically (screen)
- If, for a variety of reasons, page meta tags are not accessible you will be notified about it. Fill the missing data manually.
Create link (backend)
To create a link using backend editor, please do as follows:
- Go to the WP admin panel › Posts page
- Click the Add new button
- Fill post title
- Now you have to add a HTML link tag
‹a›to the post content (screen). The href attribute defines the link target url
- After the HTML link tag you can add any content you want. It will be used as a post summary, on archive listings
- Set the post format to Link (screen)
Link single page
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.
Link open methods
Regardless of whether a link has or has not its single page, external links can be opened:
- in a new window
- in the same window
- 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:
- Go to the WP admin panel › Pages page
- Click the Add new button
- Fill a page title e.g. Exit link landing page
- Leave the content empty
- Publish page
- Now, go to the WP admin panel › Appearance › Customize panel
- Switch to the Posts › Link Post Format section (screen)
- Open or close a link single page using the Has a single page? option
- Choose the using landing page open method
- Set the Landing page to the previously created page Exit link landing page
- Adjust the delay time
- Now, when you click any of link posts (e.g. on homepage), you should be redirected to the Link landing page
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
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.
Every submitted link is checked against duplication. If a link with the same url already exists, the link submission is cancelled.
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.