描述
With this plugin you can display the content of a post (of any type) in a widget area. You can also limit number of words, change the delimiter and add a read more link to it.
This means, in a widgetized theme, you can move the content around and arrange it however you like, and even reuse it in multiple places. Also comes in handy if you want your client to be in charge of the content, without having access to the Widgets manager.
Since 0.3 you can also query for a random post, or the latest post and limit it by category and offset.
屏幕截图
安装
- Upload the whole plugin directory to the
/wp-content/plugins/
directory - Activate the plugin through the ‘Plugins’ menu in WordPress
- Goto Appearance -> Widgets and add some Content Widget.
- Enjoy!
评价
此插件暂无评价。
贡献者及开发者
更新日志
0.4.2
- Compatibility with SiteOrigin Page Builder and Themify Builder plugins
0.4.1
- Fix notice and warning messages
- Add option to show featured image
0.4
- Code refactor
- i18n support
0.3
- Improvements suggested by Carsten Bach here: https://gist.github.com/3866525. Thanks Carsten!
- Added the ability to query latest post or random post
- Added the category and offset options
0.2.1
- Replaced limit_words method with the built-in wp_trim_words function
0.2
- Added templating capability
- Fixed a left over print command which was intended for debugging purposes 🙂
0.1.2
- Fixed a minor bug concerning WP_Query and post_type parameter
0.1.1
- Added the option to hide the title