Premium Posts

plugin banner

Adds a checkbox to the Edit Post screen that allows you to mark a post as 'Premium'.

Author:Shaun Scovil (profile at wordpress.org)
WordPress version required:3.1
WordPress version tested:3.5.2
Plugin version:2.3
Added to WordPress repository:26-05-2013
Last updated:30-05-2013
Warning! This plugin has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.
Rating, %:100
Rated by:1
Plugin URI:https://github.com/sscovil/premium-posts
Total downloads:1 194
Active installs:10+
plugin download
Click to start download

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.

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 } ?>

Screenshots
ChangeLog