Linux 软件免费装
Banner图

Featured Category Widget

开发者 tepelstreel
更新时间 2016年2月26日 18:18
捐献地址: 去捐款
PHP版本: 2.9 及以上
WordPress版本: 4.5

标签

post widget sidebar image featured column teaser newspaper category multi widget featured post random post

下载

1.0 1.1 1.2 1.3 1.4 1.6 1.7 1.7.1 1.8 1.9 2.0 2.0.1 2.1 2.2 2.2.1 2.3 2.3.1 2.4 2.4.1 2.5 1.5 2.2.2

详情介绍:

The Featured Category Widget is mainly designed because there were people for whom the Featured Post Widget was not enough. They wanted to put a category of their blog in the highlight. If there is a post thumbnail, it will be displayed above the headline of the post. If there is no thumbnail, the first picture of the post is taken. You can set the size for the thumbnail or just take the standard from your options. Decide yourself, whether you want to show the excerpt, saved with your post or just the first three sentences or the first twenty words of the post. Style the widget individually, ready. The Featured Category was tested up to WP 4.5. It should work with versions down to 2.9 but was never tested on those.

安装:

  1. Upload the category-feature folder to the /wp-content/plugins/ directory
  2. 通过WordPress的的“Plugins”菜单激活插件
  3. Place and customize your widgets
  4. 准备

屏幕截图:

  • The plugin's work on our testing page
  • The widget's settings section

升级注意事项:

1.0 just new 1.1 possibility to choose random posts 1.2 code overhaul and plugin hooks into the Ads Easy Plugin if Google AdSense Tags are in use 1.3 small bugfix in auto excerpt 1.4 possibility to change size of thumbnail added; small bug fixed 1.5 you can now link the widget title to the displayed category 1.6 streamlined and more functionality added 1.7 new features and streamlined code 1.7.1 image border added and code streamlined 1.8 Improvement in image recognition, more flexible 1.9 All 'Devided by Zero' errors should be eliminated 2.0 New feature to have post of the main loop in the widget on single pages 2.0.1 Made compliant with WP 3.9.1 and small bugfix 2.1 Posts now sortable in alphabetical order; DSS compressable 2.2 Bug fixed with featured images 2.2.1 Interference with Wordpress Page Widgets eliminated 2.2.2 Mistake in image class fixed 2.3 WP 4.1 ready; new framework 2.3.1 bug with visablity fixed 2.4 WP 4.3 ready; new framework 2.4.1 Forgotten var_dump() taken out 2.5 WP 4.5 ready; new framework

常见问题:

I styled the widget container myself and it looks bad. What do I do?

The styling of the widget requires some knowledge of css. If you are not familiar with that, try adding padding: 10px; margin-bottom: 10px; to the style section.

My widget should have rounded corners, how do I do that?

Add something like -webkit-border-top-left-radius: 5px; -webkit-border-top-right-radius: 5px; -moz-border-radius-topleft: 5px; -moz-border-radius-topright: 5px; border-top-left-radius: 5px; border-top-right-radius: 5px; to the widget style. This is not supported by all browsers yet, but should work in almost all of them.

My widget should have a shadow, how do I do that?

Add something like -moz-box-shadow: 10px 10px 5px #888888; -webkit-box-shadow: 10px 10px 5px #888888; box-shadow: 10px 10px 5px #888888; to the widget style to get a nice shadow down right of the container. This is not supported by all browsers yet, but should work in almost all of them.

更新日志:

2.5 2.4.1 2.4 2.3.1 2.3 2.2.2 2.2.1 2.2 2.1 2.0.1 2.0 1.9 1.8 1.7.1 1.7 1.6 1.5 1.4 1.3 1.2 1.1 1.0