Title: Premium Posts
Author: Shaun Scovil
Published: <strong>26 de Maio, 2013</strong>
Last modified: 30 de Maio, 2013

---

Buscar plugins

![](https://ps.w.org/premium-posts/assets/banner-772x250.png?rev=718481)

Este plugin **non se actualizou en máis de 2 anos**. É posible que xa non sexa compatible
ou mantido por ninguén, ou podes ter problemas de compatibilidade cando se usa con
novas versións de WordPress.

![](https://s.w.org/plugins/geopattern-icon/premium-posts_c6c6c6.svg)

# Premium Posts

 Por [Shaun Scovil](https://profiles.wordpress.org/sscovil/)

[Descargar](https://downloads.wordpress.org/plugin/premium-posts.zip)

 * [Detalles](https://gl.wordpress.org/plugins/premium-posts/#description)
 * [Valoracións](https://gl.wordpress.org/plugins/premium-posts/#reviews)
 *  [Instalación](https://gl.wordpress.org/plugins/premium-posts/#installation)
 * [Desenvolvemento](https://gl.wordpress.org/plugins/premium-posts/#developers)

 [Soporte](https://wordpress.org/support/plugin/premium-posts/)

## Descrición

Want to add a special message or ad code to your most popular blog posts? This plugin
enables you to do just that!

 1. Install and activate the plugin via `WP-Admin > Plugins`.
 2. Mark your top posts as “Premium” using a checkbox in the Post Editor.
 3. Go to `WP-Admin > Settings > Reading` and edit your premium post message.
 4. Choose to place your message above or below the post content, or place it manually
    using the `<?php premium_posts(); ?>` template tag inside [The Loop](https://codex.wordpress.org/The_Loop).

This plugin also adds the conditional tag `is_premium_post()` for use in your theme
template files. You can use it to test if a specific post is marked as premium by
passing the post ID (or post object) as a parameter.

Example:

    ```
    <?php if ( is_premium_post( $post_id ) ) { ?>

        <?php echo get_the_title( $post_id ); ?> is a premium post!

    <?php } ?>
    ```

## Capturas

 * [[
 * A `Premium Post` checkbox is added to the publish metabox in the post editor 
   screen.
 * [[
 * A `Premium Post` column is added to the post admin table.
 * [[
 * A `Premium Post` checkbox is added to the Quick Edit menu on the post admin table.
 * [[
 * Plugin options are added to `WP-Admin > Settings > Reading`.

## Instalación

 1. Install and activate the plugin via `WP-Admin > Plugins`.
 2. Mark your top posts as “Premium” using a checkbox in the Post Editor.
 3. Go to `WP-Admin > Settings > Reading` and edit your premium post message.
 4. Choose to place your message above or below the post content, or place it manually
    using the `<?php premium_posts(); ?>` template tag inside [The Loop](https://codex.wordpress.org/The_Loop).

## Comentarios

Non hai recensións para este plugin.

## Colaboradores e desenvolvedores

“Premium Posts” é un software de código aberto. As seguintes persoas colaboraron
con este plugin.

Colaboradores

 *   [ Shaun Scovil ](https://profiles.wordpress.org/sscovil/)

[Traduce “Premium Posts” ao teu idioma.](https://translate.wordpress.org/projects/wp-plugins/premium-posts)

### Interesado no desenvolvemento?

[Revisa o código](https://plugins.trac.wordpress.org/browser/premium-posts/), bota
unha ollada ao[repositorio SVN](https://plugins.svn.wordpress.org/premium-posts/),
ou subscríbete ao [log de desenvolvemento](https://plugins.trac.wordpress.org/log/premium-posts/)
por [RSS](https://plugins.trac.wordpress.org/log/premium-posts/?limit=100&mode=stop_on_copy&format=rss).

## Rexistro de cambios

#### 2.3

 * Security update: Added data sanitization to plugin settings displayed in form
   fields on settings page.

#### 2.2.2

 * Bug fix: resolved undefined index error in `WP-Admin > Posts > Add New`.

#### 2.2.1

 * Bug fix: save_post() method was throwing an error in the QuickPress dashboard
   widget.
 * Renamed premium_post_message() method to the more semantic get_post_message().
 * Clarified some inline documentation.

#### 2.2

 * Security update: Added settings field sanitization callback.

#### 2.1

 * Added plugin settings to `WP-Admin > Settings > Reading` for easy management 
   of premium & standard post messages.
 * Added `premium_posts()` template tag for manual placement of premium/standard
   post message.

#### 2.0.1

 * Added term filter for Standard posts in Posts admin table.

#### 2.0

 * Updated version uses a hidden taxonomy to mark posts as premium.
 * Added a column to the `Posts` admin table.
 * Added a checkbox to the `Quick Edit` menu.
 * Added term filter for premium posts in `Posts` admin table.
 * Cleaned up code by moving functions into a singleton class.
 * Added a .pot file for localization.

#### 1.0

 * Initial release stored post IDs of premium posts as an array in the options table.

## Meta

 *  Versión **2.3**
 *  Última actualización **Fai 13 anos**
 *  Instalacións activas **10+**
 *  Versión de WordPress ** 3.1 ou superior **
 *  Probado ata **3.5.2**
 *  Idioma
 * [English (US)](https://wordpress.org/plugins/premium-posts/)
 * Etiquetas
 * [mark](https://gl.wordpress.org/plugins/tags/mark/)[post](https://gl.wordpress.org/plugins/tags/post/)
   [posts](https://gl.wordpress.org/plugins/tags/posts/)[premium](https://gl.wordpress.org/plugins/tags/premium/)
   [tag](https://gl.wordpress.org/plugins/tags/tag/)
 *  [Vista avanzada](https://gl.wordpress.org/plugins/premium-posts/advanced/)

## Valoracións

 5 de 5 estrelas

 *  [  1 valoración de 5 estrelas     ](https://wordpress.org/support/plugin/premium-posts/reviews/?filter=5)
 *  [  0 valoracións de 4 estrelas     ](https://wordpress.org/support/plugin/premium-posts/reviews/?filter=4)
 *  [  0 valoracións de 3 estrelas     ](https://wordpress.org/support/plugin/premium-posts/reviews/?filter=3)
 *  [  0 valoracións de 2 estrelas     ](https://wordpress.org/support/plugin/premium-posts/reviews/?filter=2)
 *  [  0 valoracións de 1 estrelas     ](https://wordpress.org/support/plugin/premium-posts/reviews/?filter=1)

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

[Ver todas as valoracións](https://wordpress.org/support/plugin/premium-posts/reviews/)

## Colaboradores

 *   [ Shaun Scovil ](https://profiles.wordpress.org/sscovil/)

## Soporte

Tes algo que dicir? Necesitas axuda?

 [Ver o foro de soporte](https://wordpress.org/support/plugin/premium-posts/)