Support » Plugin: WP Favorite Posts » How do I insert 'favorite this' into this heart icon link code?

  • Apposl

    (@raquel24or)


    Can anyone help me?

    I am trying to make this code ‘favorite’ the post via Favorite Posts plugin.

    <a class="btn btn-mini" href="<?php the_permalink(); ?>/#respond"><i class="icon-heart"></i> <?php _e('Love', 'ipin'); ?></a>

    Can anyone tell me what shortcode I put and where to make this functional?

    Thank you!

    http://wordpress.org/extend/plugins/wp-favorite-posts/

Viewing 1 replies (of 1 total)
  • You can code this using font awesome:

    <a href="<?php echo site_url(); ?>?wpfpaction=add&postid=<?php echo $post->ID ?>" class="heart-icon wpfp-link"><i class="icon-left fa fa-heart"></i>Favorite</a>

Viewing 1 replies (of 1 total)
  • The topic ‘How do I insert 'favorite this' into this heart icon link code?’ is closed to new replies.