该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的WordPress一起使用时,可能不再受到维护或支持,并且可能会存在兼容性问题。

Pocket WP

描述

Pocket WP connects to the Pocket API and pulls in your latest saved links with tags and excerpts into a WordPress page, post or widget.

Setup

Due to the way Pocket’s API works, you need to complete a few steps before you can use the plugin.

  1. Install and activate the plugin.

  2. Create an application on the Pocket Developers website, enter your Consumer Key into the Pocket WP settings page and click Save Changes to start the authorization process.

  3. Click the Get Access Key link to complete the authorization.

Shortcode

The shortcode embeds a list of Pocket links into a page or post.

The basic shortcode is [pocket_links] and it accepts some optional arguments:

count: [any number] // How many links to display. Default is all.

excerpt: yes, no // Whether or not to display the excerpt extracted by Pocket. Default is yes.

tag: [any one of your Pocket tags] // Choose to show links from one tag. Supports one tag only. Default is all links, tagged or untagged.

credit: yes, no // Choose to add author credit. Default is to not show credit links.

tag_list: yes, no // Whether or not to show a list of tags after each link.

Widget

The Widget is available to drag and drop into any widgetized sidebars. It has some options:

title // the title for the widget

count // the number of links to show. Default is 5

tag: [any of your Pocket tags] // Choose to show links from one tag. Currently supports one tag only. Default is all links, tagged or untagged.

author credit: yes, no // Choose to give author credit. Default is to not show credit links.

屏幕截图

  • Pocket WordPress settings page.
  • Screenshot of the shortcode as it displays in a page.
  • Screenshot of the shortcode in the editor.
  • Screenshot of the widget settings box.
  • Screenshot of the widget as it displays in a sidebar.

安装

  1. Activate the plugin through the ‘Plugins’ menu in WordPress.
  2. Follow installation instructions on the plugin options page or at the plugin website.

常见问题

Visit the plugin website for more information.

评价

此插件暂无评价。

贡献者及开发者

“Pocket WP” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

将“Pocket WP”翻译成您的语言。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

0.4.3

  • Fixing an issue with link generator not having closing div. (Thanks to Myles Gray for catching this.)

0.4.2

  • Improved the way plugin handles untagged posts. It now shows “untagged” in the tag list instead of throwing an error. Tag list can be turned off by using tag_list=”no”

0.4.1

  • Adding error checking on pocket feed retrieval.

0.4

  • Fix so shortcode doesn’t always display above text.
  • Fixing activation message to only show once on first install.

0.3

  • First public release
  • Made author credit opt-in (was opt-out)
  • Code clean up
  • Added settings link in plugin list
  • Added activation notice

0.2

  • Second beta version (not public)
  • Fixed bugs and cleaned up code
  • Removed option to use multiple tags as Pocket didn’t seem to support this

0.1

  • Beta version (not public)