I finally found the answer to this and am posting it here in case someone else needs the answer. Just put the following in your theme file.
<?php
global $post;
$variable_name = get_post_meta($post->ID, 'custom_metaBox', true);
echo html_entity_decode( $variable_name );
?>
Change the variable name and custom_metaBox to your specific values and voila, functioning HTML code.
Related Posts:
- How to remove a metabox from menu editor page?
- Why is my custom meta box input not saving
- Can I prevent the user from adding more than two levels deep of terms inside of a taxonomy metabox?
- Image media upload metabox
- Trying to retrieve post meta
- Show meta box only for default page template
- Illegal string offset in PHP function
- Why does this update_post_meta function not delete the custom field itself?
- Warning: call_user_func() expects parameter 1 to be a valid callback, function
- Unable to Call More than One Meta Box Output
- Add a Metabox checkbox to the Page Edit screen of wp-admin , which only certain roles can see and Makes only certain roles able to Edit said page
- Checkbox doesn’t save inside metabox
- Dropdown category field inside repeatable metabox
- Create shortcode for metabox gallery
- Display metabox galleries on specific page template in admin editor
- Custom meta box save values issues – Deprecated: Function ereg() and more
- Display a post based on its metabox selection
- Help with my first Metabox helper class
- Metabox Input Not saving
- Display custom meta box in my template file
- Warning: Illegal string offset ‘post’ and ‘page’
- How to get meta box labels?
- Calling a method from functions.php on a click of a button
- How to redirect users to custom lostpassword page?
- How to change featured content to a different tag in WordPress Twenty Fourteen?
- Can I write ‘RewriteCond’ using ‘functions.php’?
- How do I create comment-reply-button using element not
- How to add 2 posts under another post? Formatting should be intact
- WordPress menu deletes when trying to add a hook
- Overriding a theme redux file in child theme
- Validate a users email address when using gmail to register
- Get widget settings function?
- Making Quote Plugin more efficient
- Adding tawk.to code just before body tag on functions.php file
- allow subscribers to see private posts without plug in
- add_action shortcut?
- Change the WP Video Shortcode Output
- How to pick the default selected value in wordpress dropdown?
- Using WP-API and SSE not authenticating user ID
- Validate functions before inserting then into functions.php
- How to retrieve current wordpress profile page URL?
- WordPress Quick Question . How to Get Parent Link in Submenu in My Code
- Is the “_s” on this `sprintf(__(‘Page %s’, ‘_s’), max($paged, $page))` just refer to a text domain?
- Exclude category
- Security for data obtained from the database
- What exactly do this function declared into functions.php file of a WP theme?
- Find a way to retrive data updated through metabox plugin to web page
- Display Data in Table from External Database in WP using Shortcodes
- How to check if a Customizer setting is set?
- Remove item in Checkout
- How to get current post category details inside “loop”?
- Co-Authors Plus: How do I get all authors with a query?
- Why i can’t get custom fields value or post ID via Ajax?
- How to reference PHP in Javascript
- Fallback image URL if no featured image exists via a shortcode function
- Create special button on WP Tiny MCE Posts Editor for Shortcodes
- Deactivate a plugin on wp version
- making php value numeric
- the_post_thumbnail issues
- WP insert post Redirect after function has executed
- Add Block Before Entry Title Using PHP
- How to assign page id with array in page_scheduled_event
- Uncaught TypeError: extract(): Argument #1 ($array) must be of type array, null given
- Dynamically populate parameter in Gravity Forms using PHP
- Store ajax data in PHP variable
- comment_post (if comment is approved OR $comment_approved === 1) not working?
- Cannot find the php_ini configuration file to find my error log to see why my code is not working
- How to Send Pingbacks for all Posts in WordPress?
- HTML comment cause issue in functions.php script root
- Programmatically add a product to the cart and set price to zero when buying from certain category
- I want to show cart items number if any or nothing, simple CART text
- How can i create a function tag in my plugin
- Including user data in “new user notification email”
- Refresh page after login with litespeed cache
- Return newly created category by code
- WordPress Ajax filter: Create two loops for different output styles?
- Meta Box clears saved field content
- Hook into all password resets in WordPress and get password before hashing?
- How to call a function from functions.php with ajax?
- Set user status to absent on WordPress
- remove_action() not working in page template – Genesis
- How to sort (orderby) a query done by a template function before the ‘foreach’ loop?
- Metabox – Displaying the Value of a Metabox
- Dropdown menu on custom menu
- Showing wordpress latest post thumbnails in slider with auto increment
- How can the searchform.php know if it’s used on a registered sidebar id ‘sidebar-1’ or ‘sidebar-2’?
- My function echos only “array”
- Notify admin (by email) if post added with specific tag
- WordPress get_post_meta issue
- Woocommerce Price Text
- Limit Taxonomy Parents
- WordPress HTML Helper
- List sibling pages widget, exclude current page
- How to add button to top of theme customizer?
- Send foreach $_post method to contact form 7 [closed]
- Options.php loop won’t show!
- Contact form with dynamic dropdown and filter
- Critical Error customiser
- Generate and upload screenshot as featured image for user-submitted post
- a problem in class in class-wp-hook.php