Title: Bookmarks Shortcode
Author: Shea Bunge
Published: <strong>15 Tháng 12, 2011</strong>
Last modified: 1 Tháng 12, 2020

---

Tìm kiếm plugin

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.

![](https://s.w.org/plugins/geopattern-icon/bookmarks-shortcode.svg)

# Bookmarks Shortcode

 Bởi [Shea Bunge](https://profiles.wordpress.org/bungeshea/)

[Tải về](https://downloads.wordpress.org/plugin/bookmarks-shortcode.zip)

 * [Chi tiết](https://vi.wordpress.org/plugins/bookmarks-shortcode/#description)
 * [Đánh giá](https://vi.wordpress.org/plugins/bookmarks-shortcode/#reviews)
 *  [Cài đặt](https://vi.wordpress.org/plugins/bookmarks-shortcode/#installation)
 * [Nhà phát triển](https://vi.wordpress.org/plugins/bookmarks-shortcode/#developers)

 [Hỗ trợ](https://wordpress.org/support/plugin/bookmarks-shortcode/)

## Mô tả

Creates three shortcodes – [bookmarks], [links] and [blogroll] – that will generate
an unordered list of your WordPress links.
 Preforms the same function as `wp_list_bookmarks()`.

You can any of the shortcodes within a post, page, media, text widget, etc.
 This
makes it much more flexible then using the default Links page template that may 
be included in your theme as you can add other content surrounding the list, also
when you change themes there is no need to edit the page.

You can customize the output of the list by using the same arguments that are accepted
by the [wp_list_bookmarks()](https://developer.wordpress.org/reference/functions/wp_list_bookmarks/)
function.
 Example: `[bookmarks show_images=0 show_ratings=1 show_name=1 ]`

[Contribute at GitHub](https://github.com/sheabunge/bookmarks-shortcode)

### Update Notice

#### 2.2

Improved default bookmarks markup

## Cài đặt

 1. Upload `bookmarks-shortcode.php` to the `/wp-content/plugins/` directory
 2. Activate the plugin through the **(Plugins > Installed Plugins)** menu in WordPress
 3. Use the [bookmarks], [links] or [blogroll] shortcodes in any of your posts, pages
    or widgets.

## Hỏi đáp

### My theme includes a links page template. Why do I need this plugin?

This plugin is more flexible then the Links page template. You can use any of the
three shortcodes within a post, page, text widget, media, etc. You can also add 
other content surrounding the list, also when you change themes there is no need
to edit the page.

### Can I use the shortcodes in text widgets?

If you wish to use these shortcodes in the sidebar text widgets, add this code to
a site-specific plugin or as a [code snippet](https://wordpress.org/plugins/code-snippets):

    ```
    add_filter( 'widget_text', 'shortcode_unautop' );
    add_filter( 'widget_text', 'do_shortcode' );
    ```

Keep in mind that doing this will allow you to use **all** shortcodes in text widgets,
not only the ones added by this plugin

## Đánh giá

Không có đánh giá nào cho plugin này.

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

“Bookmarks 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

 *   [ Shea Bunge ](https://profiles.wordpress.org/bungeshea/)

[Dịch “Bookmarks Shortcode” sang ngôn ngữ của bạn.](https://translate.wordpress.org/projects/wp-plugins/bookmarks-shortcode)

### Muốn tham gia phát triển?

[Duyệt code](https://plugins.trac.wordpress.org/browser/bookmarks-shortcode/), check
out [SVN repository](https://plugins.svn.wordpress.org/bookmarks-shortcode/), hoặc
theo dõi [nhật ký phát triển](https://plugins.trac.wordpress.org/log/bookmarks-shortcode/)
qua [RSS](https://plugins.trac.wordpress.org/log/bookmarks-shortcode/?limit=100&mode=stop_on_copy&format=rss).

## Nhật ký thay đổi

#### 2.3.1

 * Fixed regression if strings are passed as shortcode attributes

#### 2.3

 * Remove argument parsing from shortcode callback

#### 2.2

 * Instead of using output buffering, set wp_list_bookmarks’s echo parameter
 * Provide default arguments for the wp_list_bookmarks() function

#### 2.1

 * Improved code structure
 * Removed ‘allow shortcodes in text widgets’ functionality. To add this back, see
   the FAQ
 * Switched to MIT license

#### 2.0

 * Added `[blogroll]` and `[links]` shortcodes
 * Fixed a bug with the page content always being after the bookmarks
 * Shortcodes can now be used in text widgets
 * Checks if shortcode exists before registering shortcode
 * Accepts the same arguments as the [wp_list_bookmarks()](https://codex.wordpress.org/Function_Reference/wp_list_bookmarks)
   function.

#### 1.0

 * Stable version release

## Meta

 *  Phiên bản **2.3.1**
 *  Cập nhật lần cuối **6 năm trước**
 *  Số lượt cài đặt **80+**
 *  Phiên bản WordPress ** 2.5 hoặc cao hơn **
 *  Đã kiểm tra lên đến **5.6.19**
 *  Phiên bản PHP ** 5.2 hoặc cao hơn **
 *  Ngôn ngữ
 * [English (US)](https://wordpress.org/plugins/bookmarks-shortcode/)
 * Thẻ
 * [blogroll](https://vi.wordpress.org/plugins/tags/blogroll/)[bookmarks](https://vi.wordpress.org/plugins/tags/bookmarks/)
   [links](https://vi.wordpress.org/plugins/tags/links/)[shortcode](https://vi.wordpress.org/plugins/tags/shortcode/)
 *  [Nâng cao](https://vi.wordpress.org/plugins/bookmarks-shortcode/advanced/)

## Đánh giá

Chưa có đánh giá nào được gửi.

[Your review](https://wordpress.org/support/plugin/bookmarks-shortcode/reviews/#new-post)

[Xem tất cả đánh giá](https://wordpress.org/support/plugin/bookmarks-shortcode/reviews/)

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

 *   [ Shea Bunge ](https://profiles.wordpress.org/bungeshea/)

## Hỗ trợ

Có điều gì muốn nói? cần giúp đỡ?

 [Xem diễn đàn hỗ trợ](https://wordpress.org/support/plugin/bookmarks-shortcode/)

## Ủng hộ

Bạn có muốn hỗ trợ vào sự phát triển của plugin này?

 [ Ủng hộ plugin này ](https://sheabunge.com/donate)