The forums ran from 2008-2020 and are now closed and viewable here as an archive.
Home › Forums › Back End › custom field for vimeo
how can i create a custom field to display a vimeo video on my wordpress post?
it’s custom field because I want it on a specific part of the post that is not on the post content.
can’t figure it out. can you please help?
thanks in advance.
If you are simply going to pump out some embed code, you could just add this to your loop:
<?php echo get_post_meta($post->ID, ‘vimeo’, true); ?>
And create and custom field called "vimeo" and put the embed code in there.