开发者 | joshstauffer |
---|---|
更新时间 | 2015年8月5日 08:39 |
PHP版本: | 3.5 及以上 |
WordPress版本: | 4.2.3 |
版权: | GPLv2 or later |
版权网址: | 版权信息 |
https://pinboard.in/
.
Usage Examples
Basic Example:
[wp_pinboard]https://pinboard.in/u:username/[/wp_pinboard]
Advanced Example:
[wp_pinboard description="show" tags="show" user="show" date="show" count="20" orderby="date"]https://pinboard.in/u:username/[/wp_pinboard]
[wp_pinboard]https://pinboard.in/u:username/[/wp_pinboard]
Template Example:
You can also print bookmarks directly in a template like so:
<?php echo do_shortcode('[wp_pinboard]https://pinboard.in/u:username/[/wp_pinboard]'); ?>
wp-pinboard/
directory to the /wp-content/plugins/
directoryYes, lists are cached for one hour. If necessary, you can manually refresh a list of bookmarks. Adding a get variable (?wppb-refresh=1
) to the URL of a page will refresh the cache of any lists of bookmarks on that particular page.