Nigel,
I've implemented everything you've told me, but it doesn't work for me 😉 .
Look at this video: enlace oculto
Thanks for your help.
Regards,
Nigel
Supporter
Idiomas:
Inglés (English )
Español (Español )
Zona horaria:
Europe/London (GMT+00:00)
In your custom field settings, could you check what the slug is for the Fabricante post reference field?
I couldn't see that in the video.
Nigel,
I had the slug wrong, the correct slug is "related-fabricante", however, I modified it and it still doesn't work. 🙁
Any ideas?
Thanks for your help.
Regards,
Nigel
Supporter
Idiomas:
Inglés (English )
Español (Español )
Zona horaria:
Europe/London (GMT+00:00)
Sorry, can you clarify, what are the slugs of
- the parent post
- the child post
- the post relationship field
- the custom field where you will store the ID
Hi Nigel,
All the values that I have set are correct.
I have done many tests.
I have used get_post_meta and the value has been saved correctly, since returns it correctly, but for some reason Toolset does not take that value to display it.
Do you have any idea what's going on?
Look at this video: enlace oculto
Thanks for your help.
Regards,
Nigel
Supporter
Idiomas:
Inglés (English )
Español (Español )
Zona horaria:
Europe/London (GMT+00:00)
I can't tell what the problem is.
I can see the debug info in the console in your screen recording, and it seems to confirm that having saved the post meta you then retrieve the post meta which has the correct value.
But, look at the screenshot.
That's what's in the database.
Seemingly the data which your debug info shows is correctly saved to the database, is then deleted from the database.
I can't see how or why that would be happening.
To identify why it would be necessary to rule out interference from any other plugin, or code from the theme, or any other custom code snippet, to try to isolate why.