Plugin Directory

Favourite Post plugin

This section describes how to install the plugin and get it working.

  1. Extract the zip file and upload the 'ssdFavourite' folder to your wordpress plugins directory ('/wp-content/plugins/').

  2. You will need to make a couple of additions to index.php located in '/wp-contents/themes/[folder of theme used on your blog]'.

    Code-1: Set/Unset link. Paste the following line after the tag (heading of the post):

    Code-2: Favourite icon. Paste the following line after the '' tag (or above the article content):

    NOTE:

    • These are guidlines only and the code can go where you wish as long as it remains in the post loop.
    • To display the Icon, you must use Code-2.
    • If you use only Code-1, only the set/unset link will appear, the icon will not be displayed.
    • Alternatively if you choose to set/unset favourites through Admin (as described below in USAGE section) then you can avoid Code-1 ans use only Code-2 for icon display.
  3. You can activate the plugin as usual by navigating to the 'Plugins' page in Wordpress admin.

    e.g.

    • Upload plugin-name.php to the /wp-content/plugins/ directory
    • Activate the plugin through the 'Plugins' menu in WordPress
    • Place <?php do_action('plugin_name_hook'); ?> in your templates
  4. Add following CSS style to your theme:

    .favourite{ width: 35px; height:28px; background: url('images/favourite.png') center center no-repeat; clear:both; left: 30px; position: relative; } .no_favourite{ width: 35px; height:28px; clear:both; left: 30px; position: relative; } .notew{ width: 35px; height:28px; clear:both; float: left; }

Download

FYI

Compatibility beta

Your Setup

Log in to vote.

The Consensus (1 reporting)

100%
100,1,1
100,1,1

Average Rating

5 stars
4 stars
3 stars
2 stars
1 star
(1 ratings)