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

A5 Recent Post Widget

描述

Yet another recent post widget. It shows the last post of your blog, where and how you want. You can define, on which pages of your site it shows and whether you want to show a post thumbnail or not. Decide, whether the links go to the post, to the attachment page or simply to a file. You can style the links in the plugins settings and each widget container differently.

The plugin was tested up to WP 4.5 and should work with versions down to 2.7 but was never tested on those.

屏幕截图

  • The plugin's work on our testingsite
  • The widget's settings section
  • The plugin's settings section

安装

  1. Upload the a5-recent-posts folder to the /wp-content/plugins/ directory
  2. 通过WordPress的的“Plugins”菜单激活插件
  3. Place and customize your widgets
  4. Define the style of the links in the settings section

常见问题

I styled the widget container myself and i 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;
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;
I styled the links of the widget differently, but the changes don’t show, what now?

Most of the time you will have to use the styles like that:

‘font-weight: bold !important;
color: #0000dd !important;’

Since the stylesheet of the theme will have highest priority, you will have to make your styles even more important in the hierarchy.

评价

2016 年 9 月 3 日
The only knock I have on this plug-in is that I did not find the settings intuitive right at the start. It took me a little bit of time to set things up how I wanted. But it does offer great flexibility and once you do get it set up, it will do exactly what you want it to.
阅读所有3条评价

贡献者及开发者

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

贡献者

「A5 Recent Post Widget」插件已被翻译至 23 种本地化语言。 感谢所有译者为本插件所做的贡献。

将“A5 Recent Post Widget”翻译成您的语言。

对开发感兴趣吗?

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

更新日志

2.6.1

  • Added debug options to framework

2.6

  • Adjustments in framework
  • WP 4.5 ready

2.5.6

  • Adjustments in framework
  • WP 4.3 ready

2.5.5

  • small bugfix with visability

2.5.4

  • Adjustments in Framework
  • More raliable with galleries

2.5.3

  • Adjustments in Framework

2.5.2

  • Adjustments in Framework

2.5.1

  • You can now set the length of the excerpt

2.5

  • DSS more flexible
  • Ability to show as many posts as you like

2.4.3

  • Mistakes in image class fixed

2.4.2

  • More accurate image fetching, if there’s no featured image of the post

2.4.1

  • Added compressible DSS

2.4

  • All ‘Divided by Zero’ errors should be eliminated

2.3

  • Some Finetuning of the framework; more foolproof

2.2

  • Framework adjusted, better recognition of images

2.1

  • Features added, framework adjusted

2.0

  • Release into the wild

1.0

  • Initial release upon request