What are you inporting via CRON
Hello Vandestouwe,
Thanks for the answer, sorry for the delai.
I’m importing posts from a Drupal, into a Custom Post Type called “Annonces”, essentially made of Advanced Custom Fields.
These are Real Estates posts, but the Email Cron does not trigger as these “Annonces” are being imported via WP All Import. They eventually send if I manually re-save every posts.
Thanks
We have fully set up a staging website, if by any chance you have enough time to check whats going on there.
thanks again,
RegardS.
Hi,
I’m facing the exact same problem here with a custom job board.
In my case, job offers are imported by WP All Import Pro with the right category, but they don’t trigger email alerts. It only works if I manually edit/save them or if I manually create them.
Is there any known solution to this issue?
Thanks for your help (and for the great plugin though).
Best regards.
I will investigate this issue and report my findings. It will help if you give an example on what you are trying to import.
-
This reply was modified 4 years, 3 months ago by
vandestouwe.
-
This reply was modified 4 years, 3 months ago by
vandestouwe.
Hello Mr. Vandestouwe,
I’m importing job offers from a XML feed into Custom Post Type (thanks to WP All Import Pro Plugin). These imported posts are all set to the current date/time, their status is Published and their category is the one used for StC alerts. Their structure consists of a title, a description, a category, a couple of extra taxonomies and some advanced custom fields.
StC detects these imported posts as new posts only if I manually edit/save each one of them after importing. (n.b. StC works well if I manually add a new job offer.)
Thanks for your help.
Best regards.
Yes I understand your explanation. I would like you to sow me between CODE tags the exact XML feed you import so I can repeat that in my test system. One record (with fake private stuff if present) wil be enough.
I Assume that you have a category called “StC alerts” is this assumption correct?
Best Regards, Sidney
I’ve just e-mailed you a XML example through your website contact form.
Thanks again for your support.
Best regards.
Can you please name you Custom Post Type: ad_post
I think I had this problem once before and made for this problem a tailored solution. If that is the case. The import will work if that indeed is the same problem. I than only need to figure out a more generic solution.
Best Regards, Sidney
Sidney,
I replaced ‘ad_post’ (*) with my own custom post type slug and it now works perfectly.
(* : subscribe-to-category/classes/class-stc-subscribe.php @ line 1759)
Thanks for both your help and commitment.
Have a great weekend!
OK, in the next version of STC I will have coded a more generic solution for this problem. It involves checking for existance of the stc status field in the query for posts whom are created not using the intended save post function from WP.