Skip Navigation

[Resolved] Favorites Post plugin in view

This support ticket is created 6 years, 4 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Hong_Kong (GMT+08:00)

This topic contains 2 replies, has 2 voices.

Last updated by Luo Yang 6 years, 4 months ago.

Assisted by: Luo Yang.

Author
Posts
#946678
My view.jpg

I found this topic: https://toolset.com/forums/topic/favorites-post-in-view/

I have the same plugin installed (https://wordpress.org/plugins/favorites/).

---------
Hello Shane,

I installed this plugin. I have the field simplefavorites_count
In the filters of my view what to put with this field? constant ? url parameter ?
Thanks

Shane

Hi Christophe,
Great so since we now have the field we want to list the favourites is the amount of time it was favourited is greater than 0. So you would set the filter to Greater than and for the constant you will set it to 0
Please let me know if this helps.
Thanks,
Shane
---------

I try this, and it's work. But it filter the total favourites posts for all users.
I want to filter the view in order to show the favourites posts for a single user, the one who is logged.
Is it possible?
Thanks, Tommaso

#947750
screen1.jpg

Here you can see my favourites posts (5685, 6071, 6093 ecc… ID).
Could this be useful?

#948277

Hello,

There isn't such a feature within Views plugin, I suggest you try the shortcodes of Favorites plugin, for example:
[user_favorites user_id=”” include_links=”true” site_id=”” include_buttons=”false” post_types=”post” include_thumbnails=”false” thumbnail_size=”thumbnail” include_excerpt=”false”]

See their document:
https://wordpress.org/plugins/favorites/
section "User Favorites"