This plugin hasn’t been tested with the latest 3 major releases of WordPress. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

Links2Tabs

Description

Links2Tabs plugin automatically generates the list of references at the bottom of each post and/or page and bundles them into handy links by Links2Tabs services that open all references with one click.

For installation please see the corresponding section. It is as trivial as copying the plugin folder in your WordPress.

To get the flavour of what the plugin actually does, see the screenshots and/or a demo page.

Once installed and activated, the plugin will work automatically. If you would like to fine-tune some bits, just go to the plugin’s settings page (WP Admin -> Settings -> Links2Tabs).

The plugin offers the following options.

Parsing & Final Finish

  • Show on posts
  • Show on pages
  • Skip double references (If several double references with the same URLs are found, the title of the first one will be used in the bundle.)
  • Include links with images (When set to No, references with images will be skipped)
  • Include internal links (Choose whether or not to bundle internal links, i.e., those referring to this site’s domain).
  • Add reference tags (the plugin can tag each recognised reference with its number.)
  • Link reference tags to the bundle (if “Add reference tags” above is yes, the plugin can link each added tag to the result in the page/post bottom.)
  • Links per bundle (Select how many references to bundle in one link.)
  • Minimum number of links (Set a threshold, so that if the number of references is less than specified, bundled links will not be shown.)
  • Text before one bundle (Text to appear before the link in case there is only one reference bundle.)
  • Text before many bundles (Text to appear before the links in case there are several bundles.)
  • Link target (Where to open the bundled references: new window will set it to _blank.)
  • Visibility (Who should be able to see the bundles? When set to Public – it will be visible to all visitors. When set to Private – to this site’s admins only When set to Hidden – this will disable the reference bundling completely.)

Bundled Tabs

  • Open references in tabs (Enables or disables automatic link opening in separate tabs. Please mind, that if ToC is set to off below, tabs will be enabled anyway.)
  • Default reference title (This caption will be used if no valid reference title is found; default is “Reference”.)
  • Reference title format (How to format the reference titles into the tab captions. It is possible to use %TITLE% and %REF_ID%. N.B. These titles will be cut off if longer than 100 characters.)
  • Bundle Title (Title of the bundle to apprear on the ToC tab*.)
  • Bundle Description (Description of the bundle to apprear on the ToC tab*.)
  • Bundle Table of Contents (Caption of the ToC tab. Set to off to hide the ToC*.)

Advance Settings

  • Custom API base URL (So that the advanced users have extra playground. It is possible to choose a predefined API base or provide own one**.)
  • Plugin Priority (For advanced WordPress users only: priority to use when hooking on the_content filter.)
  • Exclude URL keywords (URLs containing these keywords won’t be included in the bundles.)

Hooks

It is possible to use the following hooks:

  • Filter links2tabs_url_in_the_content ( $url_original, $url_bundled ) can be applied to change the original URLs in the content
  • Filter links2tabs_url_to_bundle ( $url_bundled, $url_original ) can be applied to change or cancel the URLs in the bundle
  • Filter links2tabs_bundledlink ( $bundledlink ) can be applied to modify the final bundled URLs

Note 1: * – It is possible to use the following short codes to insert corresponding credentials in Title, Description, and ToC fields above:

  • %BLOG_NAME% – site title
  • %BLOG_DESCRIPTION% – site tagline
  • %POST_TITLE% – post title
  • %REF_IDS% – range of references included in the link bundle

Note 2: ** – For those that want to configure custom API base and even map it on their own domain names, instructions can be found here.

Translations

If you want to translate this plugin, please read this.

Recommendations

Check out the companion plugin: Feed2Tabs.

They go well together like coffee and doughnuts!

About Name.ly

Name.ly offers WordPress blogs and many other services allowing to consolidate multiple sites, pages and profiles.

All on catchy domain names, like sincere.ly, thatis.me, of-cour.se, …

Name.ly/PRO platform allows domain name owners to run similar sites under their own brand.

Name.ly/PRO is most known for being first WordPress driven product allowing reselling emails and sub-domains.

Screenshots

  • Settings page
  • List of references added to the post with links
  • All references opened with one click

Installation

As easy, as 1-2-3

  1. Upload links2tabs folder to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Voila!

Usage

Activate the plugin. That’s it!

Advance settings can be accessed via WP Admin -> Settings -> Links2Tabs.

Please see more details in the Description section.

FAQ

Some links in bundles escape the frames and jump to the sites directly. What can I do about it?

Some yet unknown and untested sites may escape from frames so you may wish to set option “Open references in tabs” to “No” in order to prevent them from breaking compilations.

Please also report the link to us. We will make sure, you won’t be bothered by it again.

I would like to change styling and layout of the added references. How can I do it?

The reference bundles are added within <div id="links2tabs" class="links2tabs"> ... </div> HTML structure. You can define any styling you like via your theme CSS by referring either to the element #links2tabs or to the class .links2tabs.

How can I disable link bundling on specific posts or pages?

Just place a short code in the post / page text [SkipLinks2Tabs]. If you are developing your own theme or platform, you can place the followin PHP code to skip the link bundling: if ( ! defined ( 'SKIPLINKS2TABS' ) ) define ( 'SKIPLINKS2TABS', true );.

How can I access the visitor statistics?

If you would like to see who is viewing your references in tabs, you need to create a custom base and then either (a) enable stats there, or (b) link it to your Google Analytics.

Instructions can be found here and here.

Reviews

There are no reviews for this plugin.

Contributors & Developers

“Links2Tabs” is open source software. The following people have contributed to this plugin.

Contributors

Translate “Links2Tabs” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Changelog

0.0.6

  • Added possibility to skip bundling on certain pages or posts by calling shortcode [SkipLinks2Tabs] or defining constant SKIPLINKS2TABS.
  • Added filter hooks: “links2tabs_url_in_the_content”, “links2tabs_url_to_bundle”, and “links2tabs_bundledlink”

0.0.5

  • Added a new option of skipping double references.

0.0.4

  • By default, the plugin will now exclude mail and phone references.
  • Added a demo page to readme.txt.

0.0.3

  • Added a new option of the plugin filter priority.
  • Changed the default value of the bundle size from 12 to 10 to make it more intuitive.
  • Changed the default value of the threshold links from 2 to 3 to make it more practical.
  • Added a new option allowing to black list some URLs by keyword.

0.0.2

  • Support for WP prior to version 3.0.0 (before function get_site_url was introduced).

0.0.1

  • Initial version.
  • Created and tested.