Hi @andrealves
Hmm, there was an issue similar to this but it was resolved a long time ago. Are you using the latest version?
Do you add the OLX posts manually via wp-admin?
Hi.
Wow, that was a fast reply!
Yes, WP and plugin are both on the latest version.
The posts are added via Contact Form 7 (using Post My CF7 Form plugn). When a user sends a form, it’s mapped to that CPT (created by that plugin) and it’s automatically published.
Then, your plugin “enters in action”. It checks the new CPT is published and sends the email with those both dynamic fields “fixed”.
Can be something to do with the small time the CPT is created and your notification is triggered?
Thanks
This is what I do 🙂
Ok, I’m 95% sure that the error occurs because of how the Post My CF7 Form plugin handles the post adding.
Please, give me few days to replicate this issue and come up with a solution. I’m pretty busy right now but I’ll come back to you as soon as possible.
Thanks man!
Meanwhile, is there any tag I can use with the last permalink of any wordpress post?
Thanks!
The only merge tag we have is {post_permalink}
but the issue is deeper than just on the tags layer. Very hard to come up with any hotfix.
I couldn’t reproduce this issue. Notification plugin picks the right post every single time which would point you to some other part of your system that overwrites the post.
This is why you are always getting the notification for this specific post. I don’t think this is a Post My CF7 Form nor Notification plugins issue.