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?
- Buddypress Add unserialized Profile Fields in Members Loop [closed]
- How to check for specific meta box value on front end and output accordingly
- Where did the Add New Custom Field go?
- How Meta Data is different from Custom Fields of POST/PAGE in WordPress
- Admin meta Image Path
- Tweak Meta for Post to work it for Pages also
- Odd PHP Code To Display HTML Of Meta Box [closed]
- Custom Taxonomy to dropdown box on adminside wordpress
- custom field not saved
- How to create a Custom Meta Box with Name/Value Admin User Input Fields?
- Create Multiple File Upload Metabox in WordPress
- Users Select inside custom metabox
- Custom Metabox Not Saving
- 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?
- query usermeta from custom field
- custom avatar removal
- Should custom meta boxes be able to output shortcodes the same as WordPress’ native post editor?
- Can’t get metabox value (a url) returned using WPAlchemy
- Displaying a checkbox array from advanced custom field
- WP 3.1 meta_query for multiple custom field values
- How to make condition, based on custom fields value?
- How to select posts from multiple categories and metavalues?
- Sort custom field by post
- Unsaved changes in metabox inputs not detected in the block editor
- Send email with custom fields after new draft is saved or new post published
- Need Help Fixing My Iframes [closed]
- Custom Meta Box (SELECT) Not Saving
- Saving and Restoring a Canvas on A Individual User Basis
- Get updated meta value after post update or published (custom post type) using hook
- Button inside Custom Meta Box triggering the Update Button
- Why is my Custom Meta Box Field Inputs NOT saving?
- Cannot save CPT meta box
- custom-meta-box checkboxes from loop won’t save
- 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
- Trying to retrieve post meta
- Custom Metabox additional item
- get_posts in meta box dropdown not showing latest posts
- For homepage images (for small business website), is it better to use custom fields or post_thumbnail?
- Outputing a metabox textarea and avoid line breaks inside li tags
- How can you include custom post meta in search without calling each key?
- Display Custom Meta Box Field Only If Value is Present
- Redirect to another page using contact form 7? [closed]
- Add additional field to custom post_type
- When creating a metabox do you have to create DB fields for the data?
- shortcode in a custom metabox
- Saving zero in meta box
- Specific coditional usage [closed]
- Find a way to retrive data updated through metabox plugin to web page
- Set checkbox as checked by default in a metabox
- Why does this update_post_meta function not delete the custom field itself?
- Singleton Custom Field (Meta Box)
- Problem with saving large amount of data in postmeta/usermeta
- How to remove custom fields from the selector?
- Custom metabox not displaying multiselect data in edit mode
- Move Title and the Content WYSIWYG editor position
- How to validate select field in post meta?
- Get post meta retrieving wrong value
- How to use media upload on metabox post page without breaking TinyMCE?
- How to query an out put value?
- Check & remove special characters in a field?
- Displaying Meta-Box Data Properly
- How can I combine this php statement to get the results of multiple variable inputs?
- Is it preferable to use custom code to create metaboxes instead of plugins (such as ACF) and if so why? [closed]
- frontend submit post jQuery clone row won’t save
- Values entered in a meta box aren’t saved
- How add multiple wp_editor_box to new post
- Is there a way to set default custom fields when creating a new post?
- Scripts and tags will not save or output from my custom meta box
- How to store multiple custom meta box
- Using WP Color Picker in Repeatable Fields
- Displaying pages with a specific custom meta
- Can I save post meta programatically without setting metaboxes?
- How do I save Multiple fields in a meta box?
- Let author add field to metabox by pressing a button
- save metabox with new values _wp_page_template
- Get text from user and display it on page
- Enable a short code in the custom meta field
- Custom Fields Question
- Showing Custom Fields on Parent Page
- How to validation for sanitize_URL?
- Meta box values are displayed on Custom Fields list. Is it possible to hide them?