
內容簡介
让别人猜猜看!
Easy Shuffle Widget 是一个有趣的方式来展示你网站上的任何内容。它是一个易于使用的小工具,通过随机浏览您网站的文章、作者、自定义文章类型和评论,并随机选择一个来展示。
想只浏览评论或文章?没问题!您可以选择浏览任何内容或您选择的内容。
功能
可以设置小工具标题。
可设置多个实例。
选择要显示的内容。(您可以选择任何已注册的文章类型、用户、评论或完全随机。)
支持文章缩略图和用户头像。
设置和预览自定义缩略图大小。
显示文章、评论或作者描述的摘要。
设置和预览摘要的长度。
选择默认(基本)CSS样式或自定义。
开发者功能
此小工具不仅考虑了最终用户,还考虑了插件开发人员。这个小部件的几乎每个方面都可以通过过滤器和动作挂钩来扩展。您甚至可以在小工具表单中添加自己的表单字段!
需要从小工具表单中删除字段?没问题!每个字段都通过自己的过滤器传递,方便自定义。
需要修改小工具的输出?简单!输出通过多个过滤器传递,允许您根据项目要求自定义内容。
有关动作挂钩和过滤器的完整列表,请参见插件文档:http://darrinb.com/plugins/easy-shuffle-widget
外掛標籤
開發者團隊
原文外掛簡介
Keep em’ guessing!
The Easy Shuffle Widget is a fun way to feature any content on your site. It’s an easy-to-use widget that displays random content by shuffling through your site’s posts, authors, custom post types, and comments, and choosing one at random.
Want to only shuffle through comments or posts? No problem! You can choose to shuffle through any content, or the content of your choice.
Features
Configurable widget title.
Set up multiple instances.
Select which content to display. (You can choose either any registered post type, users, comments, or full-on random.)
Supports post thumbnails and user avatars.
Set and preview custom thumbnail sizes.
Show an excerpt of the post, comment, or author description.
Set and preview the length of the excerpt.
Choose the default (basic) CSS styling or roll your own.
Developer Features
This widget was built not only with end-users in mind, but also plugin developers. Almost every aspect of this widget is extensible through filters and action hooks. You can even add your own form fields to the widget form!
Need to remove a field from the widget form? Not a problem! Every field is passed through its own filter for easy customization.
Need to modify the output of the widget? Easy! The output is passed through numerous filters, allowing you to customize the content to meet your project’s requirements.
For a full list of action hooks and filters, please see the plugin documentation: http://darrinb.com/plugins/easy-shuffle-widget
