WP Favorite Posts
Creating custom link (1 post)

  1. tfc
    Posted 2 years ago #

    Hi, This is a great plugin!
    I'm trying to create a custom link where I have an image, and I want to add an "a href" link on it that has the same add to favorites function given in the plugin.

    I see that the link on the live page is :yoursite.com/?wpfpaction=add&postid=155

    But I can't just copy that because that is going to a specific post (id 155)
    I want to put an action on my link that tells it to get the specific post id of the item

    So I am thinking my custom button link would need to look something like:
    <img src="images/buttons/save.png">


    <img src="http://www.thefashioncorporation.com/new/images/buttons/save.png">

    Any ideas?


Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WP Favorite Posts
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic