Linux 软件免费装
Banner图

Pinboard Bookmarks

开发者 aldolat
更新时间 2021年7月11日 00:04
捐献地址: 去捐款
PHP版本: 5.3 及以上
WordPress版本: 5.8
版权: GPLv3 or later
版权网址: 版权信息

标签

widget sidebar shortcode bookmarks pinboard

下载

1.0 1.14.1 1.7.4 1.10.0 1.11.0 1.12.0 1.13.0 1.13.1 1.14.0 1.15.0 1.2 1.3 1.4.0 1.5.0 1.6.0 1.7.0 1.7.1 1.7.2 1.7.3 1.8.0 1.8.1 1.8.2 1.9.0 1.1

详情介绍:

Pinboard Bookmarks allows you to publish bookmarks from Pinboard on your blog. The plugin lets you: This plugin has also a shortcode, so you can publish the bookmarks in a post or a page. The plugin may display for each tag (you choose what to display): Other options are available, such as: After the plugin's activation, you will have a new widget in Appearance / Widgets. Usage as widget The plugin provides a widget to be used in your sidebar. After activating the plugin, you will have a new widget in Appearance > Widgets. Simply drag & drop the "Pinboard Bookmarks" widget in the sidebar, adjust the options, and click Save. Usage as shortcode You can also use the plugin's shortcode to display your list on a static page or on a single post. Example usage: [pbsc username="johndoe"] Change username as required. In the widget you can use the full set of options. So, for example, if you want to fetch the feed from bookmarks that have books and comics tags and display the tags, use: [pbsc username="johndoe" tags="books comics" display_tags=1] Note that the plugin will fetch bookmarks that have both the tags books and comics. Another more complex example: [pbsc username="johndoe" time=86400 display_desc=1 display_date=1 display_time=1 display_tags=1 display_hashtag=0 display_source=1 items_order="tags title description date" date_text="Stored on:" display_archive=1 admin_only=1 debug_options=1 debug_urls=1] This is the list of the options for the shortcode: Usage as PHP function You can also use the main PHP function directly in your theme. Add these lines where you want them to be displayed (the function echoes the result): if ( function_exists( 'pinboard_bookmarks_fetch_feed' ) ) { $args = array( 'intro_text' => '', 'username' => '', 'tags' => '', 'source' => '', 'quantity' => 5, 'random' => false, 'display_desc' => false, 'truncate' => 0, 'display_date' => false, 'display_time' => false, 'date_text' => 'Stored on:', 'display_tags' => false, 'tags_text' => 'Tags:', 'display_hashtag' => true, 'use_comma' => false, 'display_source' => false, 'display_arrow' => false, 'time' => 1800, 'display_site_url' => false, 'leave_domain' => false, 'site_url_text' => 'From:', 'display_archive' => true, 'archive_text' => 'See the bookmarks on Pinboard', 'list_type' => 'bullet', 'display_arch_arr' => true, 'new_tab' => false, 'nofollow' => true, 'items_order' => 'title description date tags', 'admin_only' => true, 'debug_options' => false, 'debug_urls' => false ); pinboard_bookmarks_fetch_feed( $args ); } If you want to return the result, use get_pinboard_bookmarks_fetch_feed( $args ). Make sure to properly use the opening and closing tags <?php and ?> respectively. The only mandatory option is username. The other options are the default options which you can change according to your needs. It isn't necessary to insert all of them. Help, Bugs, and Contributing If you need help, please use WordPress forum. Do not send private email unless it is really necessary. If you have found a bug, please report it on GitHub. This plugin is developed using GitHub. If you wrote an enhancement and would share it with the world, please send me a Pull request. Credits I would like to say Thank You to all the people who helped me in making this plugin better and translated it into their respective languages. This plugin uses the following JavaScript code, released under the terms of the GNU GPLv2 or later: Thanks to these developers for their work and for using the GNU General Public License. Privacy Policy This plugin does not collect any user data.

安装:

This section describes how to install the plugin and get it working.
  1. From your WordPress dashboard search the plugin Pinboard Bookmarks, install and activate it.
  2. Add the new widget on your sidebar.
  3. The only necessary option is the username on Pinboard. Add it and save the widget.

屏幕截图:

  • The dashboard panel to set up the widget (all panels closed).
  • The dashboard panel to set up the widget (all panels opened).
  • An example of rendered widget.

升级注意事项:

No upgrade notice.

更新日志:

1.15.0 The full changelog is documented in the changelog file released along with the plugin package and is hosted on GitHub.