WordPress Post and Page Feature Plugin


Introduction

I have a project that needs a plugin where you can add a "feature" in a specific Post or Page. To save time I went to wordpress.org and search for "Post and Page feature" but all the results showed me "Featured Post" or "Featured Page" plugins.

So I started creating "Wordpress Post and Page Features". It allows you to embed a set of features in your Post or Page. This is a lightweight plugin, not too much code and css for flexible use. You need to have an admin privilege "manage_options" most of the time.

Version Tested

  • WordPress 3.2.1

Quick tutorial

  • Step 1: Upload Wordpress Post and Page Features plugin in your WordPress plugin directory. It would be advisable if you try this first in your local website. You can review the code too if you're a programmer

  • Step 2: Activate Wordpress Post and Page Features plugin. This will then install a table in your database named {your_table_prefix}_tf_postpage_features

  • Step 3: You can then go to Settings > WPTF - Post and Page Features to add your first several features that you can embed later in your post or page



    Here's a sample from my project

  • Step 4: After adding your features, you can then go edit a specific post or page where you want to add features. Just check what you want to embed to the specific post or page and then "Update" your post or page. The data will be saved on "postmeta" table on your database

  • Step 5: Now, you then need to add a "shortcode" in you post to show the features
    • [show_ppf post_id="{post_id}"]
    • [show_ppf post_id="{post_id}" show_label="0"]

  • Step 6: Update your post or page. You're done!

In Action




CSS

As said earlier. This is a lightweight plugin so that anyone can modify how it looks easily. The shortcode spits out the features in your post or page in "<ul>" with an id of wptf-ppf-list-{post_id} and a class of wptf-ppf-list.



Download Wordpress Post and Page Features

The plugin will be is available at Wordpress.org Plugin Directory.



Back to Freebies <-