开发者 | aldolat |
---|---|
更新时间 | 2018年5月19日 16:52 |
捐献地址: | 去捐款 |
PHP版本: | 3.0 及以上 |
WordPress版本: | 4.9 |
版权: | GPLv3 or later |
版权网址: | 版权信息 |
[dreadings feed_url="http://delicious.com/v2/rss/USERNAME/TAG-NAME"]
Change USERNAME
and TAG-NAME
as required.
In the widget you can use the full set of options. So, for example, if you want to display the tags, use:
[dreadings feed_url="http://delicious.com/v2/rss/USERNAME/TAG-NAME" display_tags=true]
Usage as PHP function
You can also use the main PHP function directly in your theme. Add these lines where you want it be displayed:
if ( function_exists( 'dr_fetch_feed' ) ) { $args = array( 'feed_url' => '', 'quantity' => 5, 'display_desc' => false, 'truncate' => 0, 'display_date' => false, 'date_text' => 'Stored on:', 'display_tags' => false, 'tags_text' => 'Tags:', 'display_hashtag' => true, 'display_arrow' => false, 'display_archive' => true, 'archive_text' => 'More posts', 'display_arch_arr' => true, 'new_tab' => false, 'nofollow' => true, ); dr_fetch_feed( $args ); }
Make sure to properly use the opening and closing tags <?php
and ?>
respectively.
The only mandatory option is feed_url
. Also change USERNAME
and TAG-NAME
as required. The other options are the default options which you can change according your needs. It isn't necessary to insert all of them.
Privacy Policy
This plugin does not collect any user data.
You have to modify the style.css of yout theme to fit your needs.
The link for the feed of a specific Delicious tag is like this: http://delicious.com/v2/rss/USERNAME/TAG-NAME
where USERNAME
is your username on Delicious and TAG-NAME
is the tag that collects all your bookmarks to be published.
So, for example, a link could be: http://delicious.com/v2/rss/myusername/mytag
. Obviously adjust it to your real username ad tag.