Skip Navigation

[Résolu] Auto Draft – 2

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.

This topic contains 4 réponses, has 2 voix.

Last updated by Adriano Il y a 7 années et 7 mois.

Assigned support staff: Adriano.

Auteur
Publications
#215393
Screenshot.png

Hi Adriano
I have prematurely closed the post yesterday: https://toolset.com/forums/topic/auto-draft/

With that code, it does save my Merchant Posts and the [wpv-post-link] for Merchant post short code does work with no problem. However, I have just realized that this code is causing a problem for my Coupon list in my Merchant posts. (I had done a content template for my Merchant posts with a Coupon view which lists all the child coupons of the parent Merchant)

Now, it does list the coupon details with the title of the parent Merchant (instead of the title of the coupon), but with the correct link to the coupon page.

I have attached a screenshot.

Thanks

#215395

Also, for Coupons I am using the standard WordPress title, not a custom post field. Thanks again

#216140

Dear James,

I see you are testing it in a local environment, so I think will not possible to provide access, but any way the private area is enabled if you can.

Please help me to understand what you want to achieve. You want to use some custom field instead of the default title once you are saving a post, but is it only for some post type? Please explain a bit more and show me the structure of your site.

#216146

Hi Adriano

Sorry that I have not closed this one but the issue seems to have fixed itself. 🙂

I have added a new coupon to test it and the new coupon showed the correct Title and I then re-entered the titles of the old coupons. This seems to have fixed the issue.

I have kept it open to see if it was going to come back for some reason but it did not.

It is a concern though, if the website was active and there were hundreds of coupon entries, it would have caused a big headache.

Thanks for your help

#216162

Feel free to create a new one if you need. You are welcome.