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

EV Widget Post

描述

This plugin allow you to insert a widget for showing posts from a Category. You can easily configurate how to display it. This can be especially useful for your home page, or sidebar.

Features & options

  • Customizable widget title
  • Get posts from specific category
  • Set order by: Date, Modified, Title and Random
  • Set order mode: Ascending or Descending
  • Set number of post to display
  • Show/hide Exceprt
  • Show/hide Thumbnail (Also choose the size: Thumbnail, Medium, Large)
  • Set a Seconday format with all the options above
  • Show/hide “See more” link

Included translations

  • Spanish (es_ES)

屏幕截图

  • Basic widget options
  • Extended widget options
  • Example of the widget in the default twentyten theme
  • Example of the widget using the main and secondary post format

安装

  1. Upload the folder ‘ev-widget-post’ to the ‘/wp-content/plugins/’ directory
  2. 通过WordPress的的“Plugins”菜单激活插件
  3. In the Widgets section create a new ‘Ev Widget Post’ widget

常见问题

Where it takes the images?

The images are taken through the_post_thumbail function, as set in post’s edit screen

Where can I change the image size ?

The image sizes are definied in the Media Settings of WordPress options. The default are:

  • thumbnail 150px x 150px max
  • medium 300px x 300px max
  • large 640px x 640px max
How can I change the styles ?

You can define the styles in your style.css file, the widget has its own CSS classes (you can see it with Firebug, Web Inspector, Dragonfly or tools like that). For example, if you want to change the size of title you can define a class like:
h3.ev-widget-post-tittle {font-size:16px;}

评价

2016 年 9 月 3 日 1 回复
easy and fast, with this plugin i can to show items in my sidebar in a quick way, it saved me a few minutes of programming.
阅读所有1条评价

贡献者及开发者

「EV Widget Post」是开源软件。 以下人员对此插件做出了贡献。

贡献者

帮助将「EV Widget Post」翻译成简体中文。

对开发感兴趣吗?

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

更新日志

1.0.3

  • Typo

1.0.2

  • Typo
  • Added banner & icons (wordpress stuff)

1.0.1

  • Typo
  • Better Readme.txt

1.0.0

  • Back to life: I will support this plugin again.
  • Tested with WordPress 4.4.2
  • From now I will use semantic versioning

0.6

  • New Feature: Designates the ascending or descending order
  • Show ’empty’ categories in the category dropdown
  • Display the category dropdown in a hierarchical structure
  • fix the style of checkbox in the admin area (chrome fix)
  • Added ‘order by title’ option

0.5

  • New Feature: split post format (main and secondary posts)
  • Add Enable secondary format option
  • Dynamic options
  • Fix some Notices
  • Tested in WordPress 3.2.1

0.4

  • Add ‘order by modified’ option
  • Tested in WordPress 3.1

0.3

  • Add show thumbnail option
  • Add show excerpt option
  • Add thumbnail size option

0.2

  • Add support for I18n
  • Include Spanish traslation

0.1

  • First version of the plugin