Plugin này chưa được cập nhật với 3 phiên bản mới nhất của WordPress. Nó có thể không được hỗ trợ và bảo trì, và có thể xung đột với các phiên bản WordPress mới nhất.

WP Links Shortcode

Mô tả

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.

Cài đặt

  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

Hỏi đáp

  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.

Đánh giá

There are no reviews for this plugin.

Người đóng góp & Lập trình viên

“WP Links Shortcode” là mã nguồn mở. Những người sau đã đóng góp vào plugin này.

Những người đóng góp

Nhật ký thay đổi

1.0

  • Initial Release