- This topic has 1 reply, 1 voice, and was last updated 1 year, 6 months ago by .
I am moving old custom Post types and fields over to the Meta Box so I can use Frontend Submission and it’s been going fine – you make it pretty simple! But now I am stuck at display the fields – and I am really stuck. I don’t understand “rwmb_meta” and I’m having rouble with the custom templates.
So here’s where I am getting tripped up : In the old custom post (‘job’), I displayed the field ‘job_opportunity_type’ in single-job.php this way:
<p>job type: <?php echo get_post_meta($post->ID,’job_opportunity_type’, true); ?></p>
In the MB documentation, it says “rwmb_meta” is a wrapper for “get_post_meta” but I need a bit more tutorial for this to sink it. Can you give me an example of exactly how you would get job_opportunity_type to display on a custom template (not called “single”)?
- You must be logged in to reply to this topic.