How show displayed Text of a given post field
-
Hi,
I created a cusom post field called “niveau-universaitaire” to which I added two options:
option1: displayedtext: 2014-2015 value: 1
option2: displayedtext: 2015-2016 value: 2I succeded to display the value of this field by executing the following instruction:
echo get_post_meta($post->ID, “wpcf-niveau-universaitaire”);But, I don’t know how to display the associated text (e.g: 2014-2015 instead of the value: 1)
Please help me to get such information.
Cordially,
M.B
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘How show displayed Text of a given post field’ is closed to new replies.