WordPress.org

Ready to get started?Download WordPress

Forums

WP Favorite Posts
Creating custom link (1 post)

  1. tfc
    Member
    Posted 1 year 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">

    or

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

    Any ideas?

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

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic