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

Category Sticky Post

描述

Category Sticky Post allows you to mark a post to be displayed – or stuck – to the top of each archive page for the specified
category.

Category Sticky Post…

  • Allows you to select which category in which to stick a post
  • Will display the post on the top of the first page of the archive just like built-in sticky posts
  • Will only allow you to stick a single post per category
  • Displays whether or not a post is stuck in a category on the Post Edit dashboard
  • Provides light styling that should look good in most themes
  • Is available on each post editor page
  • Is fully localized and ready for translation

For more information or to follow the project, check out the project page.

Development Information

Category Sticky Post was built with…

屏幕截图

  • A post marked as a 'Category Sticky' displaying at the top of an archive page
  • The new menu item for selecting which in which category to stick the given post
  • Disabled options show that a category already has a sticky post
  • The post dashboard indicating which entries are category sticky posts

安装

Using The WordPress Dashboard

  1. Navigate to the ‘Add New’ Plugin Dashboard
  2. Select category-sticky-post.zip from your computer
  3. 确认上传
  4. Activate the plugin on the WordPress Plugin Dashboard

Using FTP

  1. Extract category-sticky-post.zip to your computer
  2. Upload the category-sticky-post directory to your wp-content/plugins directory
  3. Activate the plugin on the WordPress Plugins dashboard

常见问题

Installation Instructions

Using The WordPress Dashboard

  1. Navigate to the ‘Add New’ Plugin Dashboard
  2. Select category-sticky-post.zip from your computer
  3. 确认上传
  4. Activate the plugin on the WordPress Plugin Dashboard

Using FTP

  1. Extract category-sticky-post.zip to your computer
  2. Upload the category-sticky-post directory to your wp-content/plugins directory
  3. Activate the plugin on the WordPress Plugins dashboard

评价

2020年6月6日
Once upon a time i applied this useful plugin. Now the plugin search did not show it on my new wordpress site. Found it, and installed other way. And still works. Thank you!
2018年1月7日
I was going nuts, and wasted a lot of time, trying to figure out why a sticky post was not staying at the top on the page where I display that category. Now I know that "sticky" doesn't automatically apply to category menu pages. This solved that problem. Thank you!
2017年12月15日
Users are asking for multiple stickys per category. Allowing order by date. Don't mind paying extra for a pro version, but will donate for now. Edit: your donate link to professionalthemes gives an error from Paypal
阅读所有21条评价

贡献者及开发者

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

贡献者

将“Category Sticky Post”翻译成您的语言。

对开发感兴趣吗?

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

更新日志

2.10.2

  • Change plugin authorship.

2.10.1

  • Fix to plugin ownership name.

2.10.0

  • Changing plugin ownership.

2.9.0

  • Adding Serbian language translation (props George Dragojevic)

2.8.0

  • WordPress 4.3 Compatibility
  • Updating author URLs
  • Removing the disabled functionality that would prevent you from selecting the same
    category a post originally had (props marc)
  • Removing some unused functions
  • Cleaning up some of the PHP

2.7.0

  • WordPress 4.2.1 compatibility
  • Updating copyright dates

2.6.0

  • WordPress 4.0 compatibility
  • Checking the main query to avoid conflicts with other plugins that deal with the main query

2.4.0

  • Verifying WordPress 3.9 compatibility

2.3.0

  • Removing the ability to add the sticky post to Pages (this should not have been possible earlier)
  • Verifying WordPress 3.8 compatibility

2.2.0

  • Adding Spanish translations (props to Andrew Kurtis)

2.1.1

  • Updating the plugin so that the category-sticky class is applied only on category archive pages (props http://davidpratten.com).

2.1.0

  • Updating the plugin to support pages custom post types
  • Moving the screenshots to the /assets/ directory to make the download a bit smaller

2.0.0

  • Resolving a bug that marked the category as ‘unstuck’ when updating a post
  • Introduced a feature for disabling the category sticky border
  • Improving the coding standards of the plugin be separating the class into its own file
  • Improving the PHPDoc of the plugin

1.2.1

  • Removing the custom.css line in the README file

1.2

  • Now posts that belong to multiple categories are properly styled when they are marked as sticky
  • Removing some of the styles that were causing posts to look incorrect in certain themes
  • Documenting all of the functions that exist in the source code
  • Fully removing custom.css support

1.1.2

  • Removing the custom.css support as it was causing issues with other plugin upgrades. Will be restored later, if requested.

1.1.1

  • Improving support for adding custom.css so that the file is also managed properly during the plugin update process
  • Updating localization files

1.1

  • Updating function calls to use updated PHP conventions
  • Adding a function to dynamically create a custom.css file if one doesn’t exist
  • Verifying compatibility with WordPress 3.5

1.0

  • Initial release