Support › General › How to display same field to different locationResolved
Is it possible to create a CPT and add fields and display the field I want in multiple page on my website ?
For example :
CPT = CEO Phone number
I want to show this phone number in my contact page but also in the team page.
Thanks for your help.
Ps : I'm using Oxygen Builder
Yes, it is possible. You need to pass the post ID to the helper function to output the field value associated with that post. For example:
$value = rwmb_meta( 'field_id', '', 12345 );
Read more on the documentation https://docs.metabox.io/displaying-fields/#using-code
If you use the Oxygen Builder, please contact their support to ask for implementing the code.