Forums

[resolved] [Plugin: WP Favorite Posts] Code to make widget list signed-in users favorites? (6 posts)

  1. sharris203
    Member
    Posted 2 years ago #

    I only use the plugin for registered users.

    How can I make a widget (html or php code) that will show only the signed-in users favorite list (instead of a favorites page- those codes dont work in widget)?

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

  2. sharris203
    Member
    Posted 2 years ago #

    Actually the signed-in part doesn't matter. I just need to make a widget.

  3. sharris203
    Member
    Posted 2 years ago #

    My temporary solution was to use the Sidebar Login widget and add a link to the "My Favorites" page, but I'd still like a whole list of them to show on the side instead.

  4. sharris203
    Member
    Posted 2 years ago #

    solution, anyone?

  5. sharris203
    Member
    Posted 2 years ago #

    I figured it out. i used a php widget to call the fav list function. Forgot what it was now... Maybe list_user_favorites();

  6. Huseyin Berberoglu
    Member
    Posted 2 years ago #

    @sharris203 thanks for feedback. i was away for 6 months so i couldn't answer your questions.

    You can do this from your template with wpfp_list_favorite_posts() function. I might create a widget for this with next versions.

Topic Closed

This topic has been closed to new replies.

About this Topic