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.

WP Links Shortcode

Description

This plugin makes it easy to output a list of Links on any WordPress Post, Page, or other Custom Post Type. The shortcode uses the
WordPress native wp_list_bookmarks function call to output the list. All native function arguments are available to the shortcode.

For more information on this plugin and support for this plugin, visit WP Links Shortcode on O3.

Usage

Simply add the following shortcode to a Post or Page:

[wp_list_bookmarks]

The following parameters are available, defaults in parenthesis:

  • categorize (true)
  • category (all categories)
  • exclude_category (none)
  • category_name (none)
  • category_before (<li id="[category id]" class="linkcat">)
  • category_after (</li>)
  • class (linkcat)
  • category_orderby (name)
  • category_order (ASC)
  • title_li (Bookmarks)
  • title_before (<h2>)
  • title_after ()
  • show_private (false)
  • include (none)
  • exclude (none)
  • orderby (name)
  • order (ASC)
  • limit (-1)
  • before (<li>)
  • after (</li>)
  • link_before (none)
  • link_after (none)
  • between (<br />)
  • show_images (true)
  • show_description (false)
  • show_name (false)
  • show_rating (false)
  • show_updated (false)
  • hide_invisible (true)

For a full list of arguments and their available options, visit the wp_list_bookmarks function on the Codex.

Installation

  1. Download the plugin from the WordPress Repository or Upload to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Use the [wp_list_bookmarks] shortcode in your posts or pages

FAQ

  1. Using all of the defaults, my category name has a bullet next to it. How do I get rid of this? This is a default value of the wp_list_bookmarks function. To remove it, add the category_before = '' and category_after = '' shortcodes. Your call should looks like this: [wp_list_bookmarks category_before = '' category_after = '']
  2. Using all of the defaults, the description doesn’t show. How do I add it? Use the show_description = true parameter. Your call should look like this: [wp_list_bookmarks show_description = true
  3. Where can I find more details about all of the available parameters? On the wp_list_bookmarks Codex Page.

Reviews

There are no reviews for this plugin.

Contributors & Developers

“WP Links Shortcode” is open source software. The following people have contributed to this plugin.

Contributors

Translate “WP Links Shortcode” into your language.

Interested in development?

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

Changelog

1.0

  • Initial Release