這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 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. Upload
  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. Upload
  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!
2019 年 3 月 13 日 1 則留言
I am on WordPress 5.1.1 and the plugin still seems to work just fine 👍🏻👍🏻👍🏻
閱讀全部 23 則使用者評論

參與者及開發者

以下人員參與了開源軟體〈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