WP Favorite Posts
Favorite with custom image (2 posts)

  1. ivancandle
    Posted 2 years ago #

    I need to upload my own image to the Favorite button, but without text, image only. And make that image the link itself.
    How can I do that?

    I've tried "Custom image URL" and no text in "Text for add link" but it shows the image without a link.



  2. nijip
    Posted 2 years ago #

    Hi Ivan.
    This is how i did it.
    I select the no image setting and then add the image via HTML into the "Text for add link" and "Text for remove link" sections. This allows me to have different images for a favorited and non favorited post. You can also change the colour of the each doing it this way too.

    Here's an example using Font Awesome Icons with the second link changing colour.

    <i class="fa fa-plus-square"></i> Add to favorites

    <p style="color:#428BCA"><i class="fa fa-minus-square"></i> Remove from favourites</p>

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


No tags yet.