Этот плагин не тестировался с последними 3 основными выпусками WordPress. Скорее всего, он уже не поддерживается и может быть несовместим с текущими версиями WordPress.

Sticky Tax

Описание

Sticky Tax enables posts to be made «sticky» within a specific category or tag. Ideal for cornerstone content or important stories, Sticky Tax lets blogs maintain chronological post archives, while keeping the most important content at the top of the list.

Why might I want this?

Let’s imagine Chris, a long-time blogger with lots of traffic coming to his site. He’s worked hard to categorize all of his content, but there are a few posts that he wants to make sure are the first thing people see when they hit a category landing page.

Using WordPress’ default behavior, these important pieces of content will eventually get lost behind pagination, just because they’re not the newest posts in the category.

With Sticky Tax, Chris can highlight the most important posts in a category, whether they were written last week or last year!

Usage

After installing and activating Sticky Tax, a new «Promote Post» meta box will appear on the post edit screen, with a list of terms for any public taxonomies registered on your site.

On the front-end

archive. Each sticky post even gets a .sticky-tax class added to it, enabling you to apply custom styling for your sticky content!

Скриншоты

  • The Sticky Tax meta box on a WordPress post edit screen, showing a list of categories.
  • A post, made sticky via Sticky Tax, styled separately and at the top of the category archive page.

Установка

  1. Upload the sticky-tax directory into wp-content/plugins/
  2. Activate the plugin through the «Plugins» menu in WordPress

Часто задаваемые вопросы

Installation Instructions
  1. Upload the sticky-tax directory into wp-content/plugins/
  2. Activate the plugin through the «Plugins» menu in WordPress
Can I use Sticky Tax for other post types and/or taxonomies

Absolutely! Sticky Tax includes a number of filters that make customizing Sticky Tax a snap; for full details, please visit the plugin’s README on GitHub.

Can I style sticky posts separately from regular, non-sticky posts?

When a post is appearing at the front an archive thanks to Sticky Tax, the sticky-tax class will be applied to the post via the post_class filter. As long as your theme is using the <?php post_class(); ?> function in the loop, you should be able to target sticky posts in your CSS using the .sticky-tax selector.

Отзывы

23.11.2017
Just what I was looking for, a nice and easy plugin. Saved my day, hope that it will soon be used by many others.
Посмотреть 1 отзыв

Участники и разработчики

«Sticky Tax» — проект с открытым исходным кодом. В развитие плагина внесли свой вклад следующие участники:

Участники

Перевести «Sticky Tax» на ваш язык.

Заинтересованы в разработке?

Посмотрите код, проверьте SVN репозиторий, или подпишитесь на журнал разработки по RSS.

Журнал изменений

For a full list of changes, please see the Sticky Tax change log on GitHub.

1.0.0

  • Initial public release.