Navigation überspringen

[Gelöst] Create todo task list

This support ticket is created vor 5 Jahren. 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.

Sun Mon Tue Wed Thu Fri Sat
- - 14:00 – 20:00 14:00 – 20:00 14:00 – 20:00 14:00 – 20:00 14:00 – 20:00
- - - - - - -

Supporter timezone: Asia/Ho_Chi_Minh (GMT+07:00)

Dieses Thema enthält 1 Antwort, hat 2 Stimmen.

Zuletzt aktualisiert von Beda vor 5 Jahren.

Assistiert von: Beda.

Author
Artikel
#1452213

Tell us what you are trying to do?
Each golf course listed on my site has a Radio-button custom field. On this a user can select whether he has played that specific course and in which style ( has 3 styles)
So want the user's page to have a wishlist of courses “to-do”, the sum of the coursees he/she has already done, and a few more stats.

Is there any documentation that you are following?

Is there a similar example that we can see?

What is the link to your site?

#1452585

I am not sure if you already have that data or need to create it, however, if it's available, then you create 3 Views:

1. The first View will query the post type "Golf Course" and add a query filter to it, so to filter out posts that only have the value "to do" set in their respective fields.
2. The second View with the same settings as 1 but this time a query filter that filters all posts with the fields' value "done" checked.
3. Eventual other View with more stats.

You can add query filters according to these instructions in a View:
https://toolset.com/documentation/user-guides/views/filtering-views-by-custom-fields/

You can see more about how to complete a View (loop part) here https://toolset.com/documentation/user-guides/views/digging-into-view-outputs/

But I actually suggest suing Toolset Blocks/Views with Gutenberg edit mode for the View loop so you can design it with Gutenberg design features:
https://toolset.com/2019/06/visually-create-and-design-views-using-block-editor/