• Resolved Sho-Down

    (@sho-down)


    I’m currently using another add to favorite plugin which came with a template page for showing a user’s favorites. I edited the template so members can visit their favorites page and the posts they faved show up the exact same way as they do on my blog (post thumbnails, full content, etc.) This is much better in my opinion that just html links.

    Any plans to add a template page to show user’s favorites? There’s no support for the other plugin so I’m looking for alternatives.

    https://wordpress.org/plugins/favorites/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Kyle Phillips

    (@kylephillips)

    No current plans to add an “automatic” template page.

    The aim of this plugin is to keep plugin-generated markup to an absolute minimum and provide theme developers and designers with more control over presentation (and access to data).

    In your case, you could create a template to your specs by using the get_user_favorites() template function, and passing the array of results into a new WP_Query. From there, you could loop through the query results like any other WP loop.

    An example in use:
    https://gist.github.com/kylephillips/9fe12f195c671c989af3

    Thread Starter Sho-Down

    (@sho-down)

    Ok, thanks Kyle!

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Template page for showing favorite posts?’ is closed to new replies.