Title: AK Featured Post Widget
Author: kaser
Published: <strong>2012 年 4 月 19 日</strong>
Last modified: 2016 年 7 月 17 日

---

搜索插件

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

![](https://s.w.org/plugins/geopattern-icon/akfeatured-post-widget.svg)

# AK Featured Post Widget

 作者：[kaser](https://profiles.wordpress.org/kaser/)

[下载](https://downloads.wordpress.org/plugin/akfeatured-post-widget.2.0.zip)

 * [详情](https://cn.wordpress.org/plugins/akfeatured-post-widget/#description)
 * [评价](https://cn.wordpress.org/plugins/akfeatured-post-widget/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/akfeatured-post-widget/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/akfeatured-post-widget/#developers)

 [支持](https://wordpress.org/support/plugin/akfeatured-post-widget/)

## 描述

Easily configure this widget to display any amount of posts (from 1 to 99) from 
a category into any widgetized area of your blog.

 * You can create custom titles
 * You can set how many posts you wish to display
 * You can choose from Posts or Custom Post Types
 * You can select any category
 * You can choose wether or not to link the widget title to the archive of that 
   category or custom post type
 * You can choose wether or not to display the post title above the featured image
 * You can choose from predefined image sizes, or set custom width and height
 * You can choose to align the featured image Left, Center or Right
 * You can run as many instances of the widget that you want to!
 * You can order your posts randomly

## 屏幕截图

 * [[
 * A Screen shot of the widget configuration form
 * [[
 * A Screen shot of the widget in use on the Twenty Sixteen Theme

## 安装

So you want to feature some posts on your blog, Awesome! Let’s get it done!

To Manually Upload The Plugin :
 1. Download and extract the `ak-featured-post` 
plugin from https://wordpress.org/extend/plugins/akfeatured-post-widget/ 2. Upload`
ak-featured-post` plugin folder to your wordpress plugin directory, default is `
wp-content/plugins/` 3. Activate the plugin through the ‘Plugins’ menu inside of
the wordpress wp-admin dashboard 4. Navigate to the widget page inside of the wordpress
wp-admin dashboard, and drag and drop the widget into the desired location 5. Configure
the widget as you wish 6. Save and Enjoy 🙂

To Automatically Install The Plugin
 1. Navigate to the ‘Plugins’ menu inside of
the wordpress wp-admin dashboard, and select AD NEW 2. Search for AKFeatured Post
Widget, and click install 3. When the plugin has been installed, Click ‘Activate’
4. Navigate to the widget page inside of your wordpress wp-admin dashboard, drag
and drop the widget into the desired location 5. Configure the widget as you wish
6. Save and Enjoy 🙂

## 常见问题

  Once I install and activate the plugin, How do I use it?

This is only a widget, so you will need to drag and drop the widget into a sidebar
or other widgetized area of your blog before you can configure it to work.

  I dragged the widget over, but I can’t set custom post types or image size, what
do I do?

This has now been fixed in version 1.8 of the plugin so please upgrade to the latest
version to get latest post featuring technology!

  How did you make such an awesome plugin?

Lots of reading. Lots of thinking. Lots of #wordpress. Lots of music. 🙂

## 评价

此插件暂无评价。

## 贡献者及开发者

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

贡献者

 *   [ kaser ](https://profiles.wordpress.org/kaser/)

[帮助将「AK Featured Post Widget」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/akfeatured-post-widget)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/akfeatured-post-widget/)，
查看[SVN仓库](https://plugins.svn.wordpress.org/akfeatured-post-widget/)，或通过
[RSS](https://plugins.trac.wordpress.org/log/akfeatured-post-widget/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/akfeatured-post-widget/)。

## 更新日志

#### 2.0

Organized widget configuration
 cleaned code updated readme / tested version /

#### 1.9

Updating the readme.txt to fix some errors. More updates coming soon!

#### 1.8

Fixed the category link for the widget title by defining $category_id ( thanks madelynn,
mrjive & piantadosi )
 Added random ordering (thanks The Crazy Travel) Removed all
short php tags, all are <?php now ( thanks eeppo ) Cleaned up code to be more consistent,
and added some commenting Fixed javascript to work with widget upon creation with
out needing to save Updated the “Link Title To Cat” option to “Make Widget Title
A Link”, changed $link_title_to_cat to $link_title_to_archive for future expansion
Now you have the option to display a text excerpt ( Big thanks to craftzeefactory
for this idea haha ) Updated the donate link on the widget, missspelled my own domain
name for over an entire year -.-

#### 1.7

Fixed display bug when aligning images left and right
 Fixed broken link in wordpress
widget

#### 1.6

Now you can choose different sizes for the featured image or you can set custom 
dimensions
 Added some javascript effects for a more stream lined experience. Added
custom post type support Added ability to align image Left, Center or Right

#### 1.5

Included proper html syntax
 Added ordering of post by either ascending or descending

#### 1.4.1

It’s a secret bwahhahaha

#### 1.3

Added optioned to show featured image
 Added a support link option Cleaned up code
Fixed activation error

#### 1.1

Added post count limit,
 Added option to link the widget title to the category Added
ability to select category via a drop down menu Fixed a category display bug Cleaned
up code

#### 1.0

initial release
 show post title option, display featured image, set category by
id, Name widget title

## 额外信息

 *  版本 **2.0**
 *  最后更新：**10 年前**
 *  活跃安装数量 **400+**
 *  WordPress 版本 ** 4.5.3 或更高版本 **
 *  已测试的最高版本为 **4.5.33**
 *  语言
 * [English (US)](https://wordpress.org/plugins/akfeatured-post-widget/)
 * 标签
 * [Category Posts Widget](https://cn.wordpress.org/plugins/tags/category-posts-widget/)
   [display posts](https://cn.wordpress.org/plugins/tags/display-posts/)[featured posts](https://cn.wordpress.org/plugins/tags/featured-posts/)
   [Post Widget](https://cn.wordpress.org/plugins/tags/post-widget/)
 *  [高级视图](https://cn.wordpress.org/plugins/akfeatured-post-widget/advanced/)

## 评级

 4.2 星（最高 5 星）。

 *  [  4 条 5 星评价     ](https://wordpress.org/support/plugin/akfeatured-post-widget/reviews/?filter=5)
 *  [  0 条 4 星评价     ](https://wordpress.org/support/plugin/akfeatured-post-widget/reviews/?filter=4)
 *  [  0 条 3 星评价     ](https://wordpress.org/support/plugin/akfeatured-post-widget/reviews/?filter=3)
 *  [  0 条 2 星评价     ](https://wordpress.org/support/plugin/akfeatured-post-widget/reviews/?filter=2)
 *  [  1 条 1 星评价     ](https://wordpress.org/support/plugin/akfeatured-post-widget/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/akfeatured-post-widget/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/akfeatured-post-widget/reviews/)

## 贡献者

 *   [ kaser ](https://profiles.wordpress.org/kaser/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/akfeatured-post-widget/)

## 捐助

您愿意支持这个插件的发展吗?

 [ 捐助此插件 ](http://www.cssboss.com/donate)