| 开发者 | 0xTC | 
|---|---|
| 更新时间 | 2011年1月15日 23:10 | 
| 捐献地址: | 去捐款 | 
| PHP版本: | 2.8 及以上 | 
| WordPress版本: | 3.0.1 | 
[wp-blogroll] to a Page or Post and all your Wordpress Links/Blogrolls will be rendered. This extremely simple plug-in enables you to create your own Links page without having to write a custom template.
Check the Frequently Asked Questions for detailed usage instructions.
The output can easily be styled with CSS. Each category with its links is encapsulated in a DIV  with a classname called "linkcat". All the links are attributed with the class "brlink".
Additional features:
WP-Render-Blogroll folder to your /wp-content/plugins/ directory.[wp-blogroll] in the post or page you want to use for links.Link classnames can be set using the linkclass parameter.
Example:
blue:[wp-blogroll linkclass=blue]To specify one or more categories of links, add the catid or catname parameter to the tag.
Examples:
[wp-blogroll catname=News][wp-blogroll catname="Social Media"][wp-blogroll catid=39][wp-blogroll catid=39,37]You can remove category titles by adding the notitle parameter to the tag.
Examples:
[wp-blogroll notitle=1][wp-blogroll showdesc=1 notitle=1]To do this simply add showdesc=1 to the tag. You may also want to use the showbrk=1 parameter to indicate you want a line break between the link and its description.
Examples:
[wp-blogroll showdesc=1][wp-blogroll catid=39 showdesc=1][wp-blogroll showdesc=1 showbrk=1]You can limit the number of links shown (per category) by adding limit=x to the tag where "x" is the number of items you wish to show.
Examples:
[wp-blogroll limit=1][wp-blogroll limit=20][wp-blogroll limit=2 orderby=name order=ASC]Yes.
From version 1.2.3 onward, the plugin supports order and orderby parameters.
orderby
String Value. Defaults is 'name'.
Valid options:
idurlnametargetdescriptionowner - User who added bookmark through bookmarks Manager.ratingupdatedrel - bookmark relationship (XFN).notesrsslength - The length of the bookmark name, shortest to longest.rand - Display bookmarks in random order.order
String value. Default is ASC. Sets ascending or descending order for the orderby parameter.
Valid values:
ASCDESC[wp-blogroll orderby=name order=DESC]Yes.
From version 1.5.2 onward, the plugin supports the catorder and catorderby parameters.
catorderby
By default the categories are ordered by 'name'.
Valid options:
idname (Default)slugterm_group (untested)catorder
String value. Default is ASC. Sets ascending or descending order for the catorderby parameter.
Valid values:
ASCDESC[wp-blogroll catorderby=name catorder=DESC][wp-blogroll catorderby=count catorder=ASC]Yes.
From version 1.4.0 onward, category descriptions can be shown under the titles using the showcatdesc=1 parameter.
Example:
[wp-blogroll showcatdesc=1]Yes.
From version 1.5.3 onward, categories can be excluded using the excludecat parameter.
Example:
[wp-blogroll excludecat=34][wp-blogroll excludecat=34,35]Yes.
From version 1.5.0 onward, links can be forced to have any rel you want no matter what they originally were set to.
Example:
rel="external":[wp-blogroll forcerel=external]rel="nofollow external":[wp-blogroll forcerel="nofollow external"]To do this, version 1.6.0 introduced the always_show_names=1 and show_names_under_images=1 parameters.
The always_show_names=1 parameter makes sure that the names of the links show up even if you're using images.
The show_names_under_images=1 parameter can be used along with always_show_names=1 to put the link names under the link images rather than next to them.
Example:
[wp-blogroll always_show_names=1][wp-blogroll always_show_names=1 show_names_under_images=1]Example:
[wp-blogroll show_images=0]From version 1.7.0 onward, the RSS feeds of websites you're linking to can be shown using the show_rss parameter. A small icon will appear next to the link indicating an RSS feed that can be subscribed to.
Example:
[wp-blogroll show_rss=1]In combination with the show_rss parameter, the rss_image parameter can be used to indicate a custom icon for the RSS links. You must upload the image and link to it using a relative path.
Example:
[wp-blogroll show_rss=1 rss_image=/wp-includes/images/wlw/wp-icon.png]Yes. Simply add the livelinks=1 parameter and the Live Blogroll plugin will attempt to get the latest updates from the sites. Example:
[wp-blogroll livelinks=1]Settings -> WP Blogroll Links. There's a donate box you can use to thank us as much as you would like :)