amit helped you out, but while we’re at it you really shouldn’t be echoing everything like that. Should probably try this instead:
<?php
foreach ( $videoID as $value ) { ?>
<div class="video-pops">
<a class="thumb video-pop-lb" data-video-pid="<?php echo $videoID; ?>"></a>
<?php } ?>
And so on.
You may even be better off using the alternate syntax;
foreach ( $videoID as $value ) :
...
endforeach;
Related Posts:
- Adding another state (spam, reject, approve) to wordpress comments?
- Problem in custom meta boxes
- Multiplile values checkbox or select in custom meta box
- Better Method for Multiple Meta Boxes
- I need a “Choose from existing content” popin
- How can I hide custom field from users used for caching response from external api?
- Let’s Create Custom Field Template Documentation
- MetaBox not saving after empty
- Custom meta boxes not saving
- Display metabox title for custom fields with values
- Make separate text boxes for separate WordPress Custom Fields
- Save input form on custom field
- When post is updated, custom metadata in text area field is overwritten
- Where can I find the code for the menu page meta boxes?
- Validating Custom Meta Box Values & Required Fields
- Is there a way to set default custom fields when creating a post?
- Custom field/meta populated by dropdown of existing posts?
- What is the index [0] for on post meta fields?
- Gutenberg add a custom metabox to default blocks
- Custom field metabox not showing in back-end
- How to hide meta box values from custom fields list?
- Unable to get Preview of Uploaded image within a Custom Meta box
- Using media-upload.php to upload mp3 via custom fields
- Edit Custom Database Tables in WordPress
- Correct Approach for Validating Custom Field Input
- How to store the value of a custom field dropdown select for post referencing?
- Meta keywords and descriptions plugin for manually editing meta for each page/post
- Custom Meta Boxes: Store two values in one repeatable field
- How to customize default wordpress editor?
- Add custom meta box on Post page
- How to make custom comment fields required and message field not required
- Auto-add paragraphs to custom field?
- Custom fields to save multiple values
- Undefined index error when saving content on metabox
- Metabox with multiple fields added by user and upload box
- wp_handle_upload error “Specified file failed upload test” but still creates attachment?
- wp_editor removes paragraph from custom meta box
- WP Custom Fields Metabox Disappears – ACF plugin issue [closed]
- Where did the Add New Custom Field go?
- Admin meta Image Path
- how to fetch the meta field keys/meta boxes from a post type?
- How to Create Dynamic Fields in a Meta Box?
- Set front page option using custom fields?
- Can’t get metabox value (a url) returned using WPAlchemy
- Displaying a checkbox array from advanced custom field
- Sort custom field by post
- Need Help Fixing My Iframes [closed]
- Cannot save CPT meta box
- How do i add custom fields to my themes template file?
- Custom tables or custom fields?
- Set default value for radio button in WP Alchemy custom meta box?
- Post selector as Custom Field
- Custom Metabox additional item
- get_posts in meta box dropdown not showing latest posts
- Display Custom Meta Box Field Only If Value is Present
- Find a way to retrive data updated through metabox plugin to web page
- How to remove custom fields from the selector?
- How can I combine this php statement to get the results of multiple variable inputs?
- Values entered in a meta box aren’t saved
- Scripts and tags will not save or output from my custom meta box
- Using WP Color Picker in Repeatable Fields
- How do I save Multiple fields in a meta box?
- Enable a short code in the custom meta field
- Showing Custom Fields on Parent Page
- Best way to achieve multiple links in a post title
- Show array of meta_value in Edit Post Coloum
- How to display data from custom fields I created?
- Custom Field & Gravity Forms [closed]
- Searching with Multiple (Parallel) Criteria on Custom Fields?
- Save custom field types with this function…?
- Working with multiple values and metaboxes
- How can I add diffrent editable text fields?
- Trying to update Woocommerce meta values
- Move the metaboxes to the very top of post editor
- WordPress Blocks, setAttributes not saving
- non-unique #_ajax_nonce id in browser console
- add meta box considers the selected option as post parent
- Issue on Creating Checkbox Field On Custom Post type
- How do I display a custom field in an existing form on the front end?
- Why does this javascript search function in the WordPress Admin not work?
- Create Meta boxes dynamically
- Get meta value when the page is a blog archive
- How do I use foreach to get content from a custom-field in multiple posts?
- custom field meta-box with dropdown/autocomplete
- Is it possible in WordPress
- How can I hide my section title if there is no data in custom fields?
- Custom fields are not displaying in page with multiple loops
- wp_postmeta are updated for only one page
- Meta Box Data added to header redirect
- How to add a prefix to existing custom fields over MYSQL query?
- Custom metaboxes not saving after switching themes
- I want my post to republish again after adding a custom field
- Semi-Private Comments + page comments -> is it possible?
- Get fields from metabox array
- Creating an If/Else statement using WPAlchemy MetaBox radio boxs
- Display custom meta box in my template file
- Using CMB2 Plugin to create text_date metabox (datepicker) How do I save multiple dates? [closed]
- How I can change PayPal IPN ‘custom’ field in woocommerce?
- Google not index my Custom 404 page ?why?
- Dynamic background image used in css after selector