Navigation überspringen

[Gelöst] Orphaned custom post type

This support ticket is created vor 2 Jahren, 12 Monaten. 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
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10: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/Kolkata (GMT+05:30)

Dieses Thema enthält 2 Antworten, hat 2 Stimmen.

Zuletzt aktualisiert von Minesh vor 2 Jahren, 12 Monaten.

Assistiert von: Minesh.

Author
Artikel
#2252089

Compliments of the season to all.

Last query from this projects.

We have a membership type of website. The users registered as WordPress users. Then we created a Custom post type profiles.
So the users must be logged in to complete their profiles. Subsequently, the profile is then linked to the User.
we need to create a report that must show all or any profiles that are not linked to a User. So i need a list of orphaned profiles. Any advice on how to achive this?

Regards

Herman

#2253105

Anybody?

#2253407

Minesh
Supporter

Sprachen: Englisch (English )

Zeitzone: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

You should create a view for your desired post type and add the query filter for post author and filter by value equal to zero.
What if you try to find the posts where post author equal to zero (0). Does that helps?

More info:
=> https://toolset.com/documentation/user-guides/views/filtering-views-query-by-author/