Title: Easy Featured Content
Author: nickohrn
Published: <strong>11.02.2013</strong>
Last modified: 23.05.2014

---

Поиск плагинов

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

![](https://s.w.org/plugins/geopattern-icon/easy-featured-content.svg)

# Easy Featured Content

 Автор: [nickohrn](https://profiles.wordpress.org/nickohrn/)

[Скачать](https://downloads.wordpress.org/plugin/easy-featured-content.1.1.0.zip)

 * [Детали](https://ru.wordpress.org/plugins/easy-featured-content/#description)
 * [Отзывы](https://ru.wordpress.org/plugins/easy-featured-content/#reviews)
 *  [Установка](https://ru.wordpress.org/plugins/easy-featured-content/#installation)
 * [Разработка](https://ru.wordpress.org/plugins/easy-featured-content/#developers)

 [Поддержка](https://wordpress.org/support/plugin/easy-featured-content/)

## Описание

Quickly and easily mark any content that has an editing UI in the WordPress administrative
section as featured. This plugin
 also provides a template tag that you can use 
to display certain markup or styles for featured content and a query variable that
allows you to query for featured (or non-featured) content.

## Скриншоты

[⌊This is the metabox that will appear on all editing screens after plugin activation⌉⌊
This is the metabox that will appear on all editing screens after plugin activation⌉[

This is the metabox that will appear on all editing screens after plugin activation

[⌊This screenshot shows the links you can click to feature or unfeature any content
on your site⌉⌊This screenshot shows the links you can click to feature or unfeature
any content on your site⌉[

This screenshot shows the links you can click to feature or unfeature any content
on your site

## Установка

 1. Upload `featured-content` to the `/wp-content/plugins/` directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress
 3. Indicate featured content through the row actions on the content management screen
    or the meta box in the content editing screen
 4. Use the query variable `is_featured` in your queries or the template tag `featured_content_is_featured_content`
    in your templates

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

  How do I make a post type featurable?

By default, the plugin only allows posts and pages to be featured. However, if you
have a custom post type, you can easily add featured content support by modifying
the following snippet:

    ```
    function register_featured_content_support() {
        // Adds featured content support to the custom post type 'my-post-type-slug'
        add_post_type_support('my-post-type-slug', 'featured-content');

        // Removes featured content support from pages
        remove_post_type_support('page', 'featured-content');
    }
    add_filter('after_setup_theme', 'register_featured_content_support');
    ```

  Why would I want to use this plugin?

If you have content on your site that you want to feature (maybe on the home page
or in a sidebar) then you can use this plugin
 to enable marking that content as
featured. It works for any post type that provides an editing UI.

  How do I use the query variable?

In your custom queries (`new WP_Query`, `get_posts` or `query_posts`) simply pass
in the query variable `is_featured` as follows:

    ```
    $featured_posts = new WP_Query(array('is_featured' => 'yes', 'post_type' => 'post'));
    ```

If you need to get only non featured content, you would do something like the following:

    ```
    $non_featured_posts = new WP_Query(array('is_featured' => 'no', 'post_type' => 'post'));
    ```

## Отзывы

Нет отзывов об этом плагине.

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

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

Участники

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

[Перевести «Easy Featured Content» на ваш язык.](https://translate.wordpress.org/projects/wp-plugins/easy-featured-content)

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

[Посмотрите код](https://plugins.trac.wordpress.org/browser/easy-featured-content/),
проверьте [SVN репозиторий](https://plugins.svn.wordpress.org/easy-featured-content/),
или подпишитесь на [журнал разработки](https://plugins.trac.wordpress.org/log/easy-featured-content/)
по [RSS](https://plugins.trac.wordpress.org/log/easy-featured-content/?limit=100&mode=stop_on_copy&format=rss).

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

#### 1.1.0

 * Better security
 * Code cleanup
 * Use `has_post_type_support` and `add_post_type_support`
 * Only posts and pages support featured content by default now

#### 1.0.0

 * Initial release of plugin

## Мета

 *  Версия **1.1.0**
 *  Обновление: **12 лет назад**
 *  Активных установок: **40+**
 *  Версия WordPress ** 3.5.1 или выше **
 *  Совместим вплоть до: **3.9.40**
 *  Язык
 * [English (US)](https://wordpress.org/plugins/easy-featured-content/)
 * Метки:
 * [admin](https://ru.wordpress.org/plugins/tags/admin/)[Featured Content](https://ru.wordpress.org/plugins/tags/featured-content/)
 *  [Дополнительно](https://ru.wordpress.org/plugins/easy-featured-content/advanced/)

## Оценки

 5 из 5 звёзд.

 *  [  2 5-звездный отзыв     ](https://wordpress.org/support/plugin/easy-featured-content/reviews/?filter=5)
 *  [  0 4-звездный отзыв     ](https://wordpress.org/support/plugin/easy-featured-content/reviews/?filter=4)
 *  [  0 3-звездный отзыв     ](https://wordpress.org/support/plugin/easy-featured-content/reviews/?filter=3)
 *  [  0 2-звездный отзыв     ](https://wordpress.org/support/plugin/easy-featured-content/reviews/?filter=2)
 *  [  0 1-звездный отзыв     ](https://wordpress.org/support/plugin/easy-featured-content/reviews/?filter=1)

[Ваш отзыв](https://wordpress.org/support/plugin/easy-featured-content/reviews/#new-post)

[Посмотреть всеотзывы](https://wordpress.org/support/plugin/easy-featured-content/reviews/)

## Участники

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

## Поддержка

Есть что сказать? Нужна помощь?

 [Перейти в форум поддержки](https://wordpress.org/support/plugin/easy-featured-content/)