Support » Plugin: WP Favorite Posts » display favorite posts of a specific user given as parameter

  • Resolved derhyl

    (@derhyl)


    Hello,

    I am trying to display all favorite posts of a given user.
    Basically, it is to use in the author page to let authors show visitors their prefered posts in the blog.

    Can someone help?

    Thank you so much

Viewing 10 replies - 1 through 10 (of 10 total)
  • I’m looking for the same feature. Have you figured it out?

    Can anyone pls help?

    PS WP favorite posts isnt quite what im looking for… I would love it if you’d be able to save favorite posts to your profile.

    So far…

    WP Favorite Posts saves info inside table “wp_postmeta”
    ( Search meta_key = wpfp_favorites )

    Next we need a custom query attached to the author.php template 🙂

    I will probably need this to, in the near future…

    That would be great! Thanks!

    Plugin Author Huseyin Berberoglu

    (@hberberoglu)

    You can use wpfp_get_users_favorites(String userlogin) this function for get a user’s favorites

    For example if you want to get hberberoglu’s favorite posts you should write:

    wpfp_get_users_favorites(hberberoglu)

    this will return hberberoglu’s favorite post ids in an array.

    What if I want to pull the favorite count for a post and display that value on the homepage of my site?

    Is there anyway I can display a users favourites on their profile page,

    I have tried wpfp_list_favorite_posts();, but this gives me a list of my own favourite posts no the authors whose profile I am on.

    Any help would be great.

    I would like to see this too, or a way for other members to see favorites of others. Is this possible?

    You can use wpfp_get_users_favorites(String userlogin) this function for get a user’s favorites

    For example if you want to get hberberoglu’s favorite posts you should write:

    wpfp_get_users_favorites(hberberoglu)

    this will return hberberoglu’s favorite post ids in an array.

    Huseyin Berberoglu, Could you please explain this a little deeper? It doesn’t seem to work out for me. Thanks!

    yes, please explain , it does not work for me either. Thanks

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘display favorite posts of a specific user given as parameter’ is closed to new replies.