Skip Navigation

[Resolved] Schema question regarding Custom Post Types and relationships

This support ticket is created 5 years, 3 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.

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)

Author
Posts
#1353213

Hello,

I did a migration from Drupal to WordPress and used Toolset to create relationships between "Staff" post types and "Article" post types.

Now I'm trying to pull schema for "author" and it only shows "admin" (that's who I'm logged in as) for every article.

I understand that this setup is not the typical WP way of handling author/post relationships.

My question: Is there any way to connect the staff custom post type to their user ID in the WP user database and have that info passed to the schema plugin (using WPSSO right now)

#1353707

Minesh
Supporter

Languages: English (English )

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

Hello. Thank you for contacting the Toolset support.

Toolset do not have such a feature. Generally, if you want to change the post author programetically you should check the following links:
=> https://wordpress.stackexchange.com/questions/186253/programatically-change-post-author
=> https://stackoverflow.com/questions/20444690/change-post-author-on-post-update-in-wordpress

#1357047

I'm not sure where to begin with this as I thought it would be handled with Toolset from the beginning.
It's unfortunate that the migration is now over and I can't go back and start this over with new knowledge.