Skip Navigation

[Resolved] Provider – Offer link broken in Frontend

This thread is resolved. Here is a description of the problem and solution.

Problem:

The customer has two custom post types: "Providers" and "Offers," where each "Offer" is linked to a "Provider." After editing some Offers, they noticed that these Offers were no longer visible to the original Providers in their front-end accounts and appeared under the customer's admin account instead. The original Providers could no longer edit their Offers without accessing the WordPress backend. The customer wanted to know how to make the Offers appear again in the original creators' front-end accounts and whether it was possible to edit Offers from other Providers without changing the Offer ownership.

Solution:

When editing the posts in the backend, the post author was being overwritten with the current user (the customer's admin account). To prevent this, it was suggested to go to Toolset > Post Types, edit the "Offer" custom post type, and enable the "Post author" option in the Supports section. This change would allow setting the post author when editing, ensuring the original author remains unchanged, and maintaining proper ownership visibility on the front end.

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
- 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 -
- 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 -

Supporter timezone: America/Sao_Paulo (GMT-03:00)

Tagged: 

This topic contains 1 reply, has 2 voices.

Last updated by Nigel 2 months, 2 weeks ago.

Assisted by: Mateus Getulio.

Author
Posts
#2728109

Hi Support Team, For my page I have arranged two custom typs "Providers" and "Offers". Each offer is linked to a Provider.

No the page has plenty of offers and providers and I have added new taxonomies. I tried to update some of the Offers that did not belong to me and simply using the newly added taxonomies.

The issue that occurs now is that the offers do not appear in the account of the provider that had created the offer back then but in my admin account, I guess since I have last edited them. But the origianl provider can't edit the offer anymore without going to the wordpress backend, which usually should not be the case.

Is there a way how I can make the offers appear again in the original creators front-end account?

By the way in the word press back end I can see that the offer is still linked to the original creator but it does not appear in the list in the front end.

Bonus question: Is there a way how I could edit offers from other providers without "stealing" the offer?

#2728392

Nigel
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+00:00)

You are editing the posts in the back end?

That would mean when you update the post you will overwrite the existing post author (so "steal" the offer).

To prevent that, the simplest solution would be to go to Toolset > Post Types and edit the Offer custom post type, and in the Supports section include Post author.

That will then show a select box when editing the posts where the post author can be set. When you edit an Offer post you can make sure you save it with the post author unchanged from the original.

#2728418

Thank you that is exactly what I was looking for. Perfect!

Have a nice weekend.