Hi, thanks, it works, but what happens if I delete this post? The code will not work.
The problem is that the post isn´t a permanent content on the site, it has an expiration and after that I delete it.
I tried to use the field group id (because the field group is permanent, I wouldn´t delete it), but it does not work woth it.
Isn´t any better solution?
Thank you!