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

article2sidebar

描述

Articles to Sidebar allow you to put some articles into the sidebar of pages.

When you use WP as a “normal” CMS, you could want to add some custom boxes into the pages’ sidebars.
Whith “Articles to Sidebar” you can write articles, put them into :

  • a special category (in order to display to all pages)
  • a category called the same as the current page
  • both special category and category called the same as the curent page

When the article is displayed into the sidebar, the fist images it contains is used to illustrate.
The displayed content is the article’s excerpt. If there is no excerpt, the extend (before the <!--more--> tag) is used and if there is no extend, one is computed (55 first words) and used.

You can choose to put a link to the article or not. That behavior can be chanched for each articles by using a custom boolean var (articles2sidebar_display_link : 1 force link | force no link).

Versions

1 first public release
1.1 better handling of little images ; adding the link to image when present

Translations

Actually, there are no translations, but the plugin code is ready for them.

安装

  1. Upload article2sidebar.zip to the /wp-content/plugins/ directory and uncompress it.
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Modify the options in the Appearance > Widgets page

评价

此插件暂无评价。

贡献者及开发者

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

贡献者

将“article2sidebar”翻译成您的语言。

对开发感兴趣吗?

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