Skip Navigation

[Resolved] Question About

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.

Our next available supporter will start replying to tickets in about 6.57 hours from now. Thank you for your understanding.

This topic contains 1 reply, has 2 voices.

Last updated by Luo Yang 1 year, 5 months ago.

Assigned support staff: Luo Yang.

Author
Posts
#1374415

Tell us what you are trying to do?

I am speaking to someone who wants to build a membership website. A couple of things need to be accomplished.

A) Members could create profiles where they could select preferences (ex. they could select which Post Tags they are most interested in), and the preferences they select could determine what posts are displayed on the homepage of the site (ex. User A selects "Sports", "TV" and "Eating", the home page would show a carousel with posts tagged Sports, TV or Eating).

B) Upon submission of their profile form, they would receive suggested posts (ex. They selected "Sports" as an interest, therefore they are shown posts tagged "Sports").

Are these sorts of views possible?

Is there any documentation that you are following?
I have not found anything yet to reference in Toolset forums. I feel like there is probably something out there!

Is there a similar example that we can see?

For example A) Pinterest is an example of this: hidden link users select preferred categories when signing up, content in their feed is influenced by those preferences. We're not trying to re-build Pinterest. Just the first example I could think of where user preferences determine content suggestions.

For example B) I'm looking to replicate something kind of like this: hidden link
The user just completed a quiz about hair. Their responses triggered specific content suggestions.

A user fills out a form, when they submit the form they receive content based on their input.

What is the link to your site?
N/A

#1374445

Luo Yang
Supporter

Languages: English (English ) Chinese (Simplified) (简体中文 )

Timezone: Asia/Hong_Kong (GMT+08:00)

Hello,

I think it is possible within Toolset plugins, for example, you can try these:
1) Create a custom post type "member-cpt", register taxonomy "Post Tags" to post type "member-cpt"
https://toolset.com/documentation/user-guides/create-a-custom-post-type/
- Each "member-cpt" post author is different WordPress user
- Each WordPress user can have only only one "member-cpt"

2) Create a post form for creating "member-cpt" post, so users can setup their favorite terms in taxonomy "Post Tags"

3) in the user's home page, display nested view:
- Parent view, query "member-cpt" posts, filter by post's author is same as current logged in user, display below child post view
https://toolset.com/documentation/user-guides/filtering-views-query-by-author/

- Child post view, query posts, filter by taxonomy "Post Tags" Value set by the current post in the loop, display post's information
https://toolset.com/documentation/user-guides/filtering-views-by-taxonomy/

More help:
https://toolset.com/documentation/post-relationships/how-to-create-custom-searches-and-relationships-for-users/
How to Create Custom Searches and Relationships for Users