Advanced custom fields plugin has it’s own set of functions to use, use them instead. Also text fields there have an option of weather to save HTML or pure text
http://www.advancedcustomfields.com/docs/
They also have nice examples if you go to the documentation of the particular field type
Related Posts:
- HTML code in Custom field
- get_post_custom stripping styling issue
- Best Way to Add UnEditable HTML to Posts
- Benefits to using semantic HTML in post content? [closed]
- Adding div to WordPress page content
- Stop WordPress Wrapping Images In A “P” Tag
- Stop WordPress automatically adding tags to post content
- I want to have my custom field use HTML, how do I do that?
- Get content from one page and show it on another page
- How to protect pages with double authentication: password + email (in custom field)
- How set featured posts using checkbox in post edit screen?
- Add a checkbox to post screen that adds a class to the title
- Strategy for handling hierarchical pages with empty parent content
- Custom Field in Featured image for A particular post
- How to remove Nextpage tag inside posts text depending of utm_campaign
- Convert custom fields to post categories
- Update all posts automatically when using post_meta
- strip only specific tags (like ), but keep other tags (like )
- How can you make sure authors’ posts are longer than 250 words?
- What is the best / efficient way to get WordPress content by post id and why?
- JSON not valid after json_encode posts
- Removing the title attribute from links in the post content
- I am trying to create a simple frontend form for posting
- Prevent duplicate posts in wp_insert_post using custom fields
- Better post meta efficiency?
- How to show posts rank based on custom field value
- Add default content to post (for specific category)
- How to wrap every image in a post with a div?
- Add custom field to all posts in specific category
- Adding a Nav menu to post admin
- meta_box or custom_field as a second tinymce post-instance?
- Programmatically inserting page breaks
- Guest Author – How to modify my custom function code if the guest author URL will follow a particular pattern/format?
- Hide parts of the post content on the home page
- Filter/Remove HTML Elements on all posts and pages
- Create A Metabox For A Custom Field
- Load post content into div with ajax
- why does HTML Tag not working in Post and Page
- Change post format using custom field
- Populating a page with content from post custom fields
- How to change what the post creation page looks like?
- Sanitizing `wp_editor();` Values for Database, Edit, and Display
- Content editor creating blank paragraphs in spaces and creating   in the_excerpt
- How can I make existing custom fields easier to edit/add in my theme?
- Add custom fields to post programmatically
- How to get Advanced Custom Field Value According using POST ID? [closed]
- Testing for post title in ‘if/else’ statement returns no content
- Same content shared between multiple posts?
- Autoremove empty custom fields
- How to add a custom field after wp post
- how load content as pop-up using ajax
- Custom fields on a virtual page
- What Is meta_id In wp_postmeta?
- Get a custom field of all posts on current blog page
- How to get only text from wordpress post content?
- Only display posts after current date
- Add scripts on custom post add/edit pages Not Working
- Add code just after Post content
- Add custom field automatically (add_post_meta) with value based on number of words of article
- Global $post not working in OOP function WordPress
- How can I get a post field value using javascript?
- Automatic value for custom fields for posts
- WordPress’ visual editor messing up my (nested) lists (and other things as well)
- Batch process: remove first image from post content
- Articles are text-only in any “Category” instead of HTML
- Understanding and using metaboxes in posts
- Duplicating Table of Contents for Paginated Post
- Why content_arr[‘extended’] removes paragraph tags?
- Guest Author – How to display posts on /author/ archive page
- Unautop / Sanitize content added to a post through a plugin
- Ajax Dynamic Archives not showing correct results
- WP_Query orderby not working with meta_value_num and menu_order
- How can I sort posts by the date and a custom meta field?
- is there a way to show the the post title after the image?
- How to get rid of shortcodes in post content once and for all
- Add Word Limit to Posts
- How do I correctly set up a WP-Query to only show upcoming event-posts?
- How to display Common posts from specific Tag & Category with Shortcode
- Ajaxify This Code
- Automatically add custom fields value to wordpress post
- Is there a way to notify specific users when new posts are published to specific pages?
- Pausing and Resuming WP_Query results
- Show only one page link in content pagination
- MySql query to get posts with all meta and terms
- Is Hfeed class for all pages needed
- Categories list into registration form
- Add a custom meta box in the post options that loads some html code in the header
- Query Posts With Over 1000 Views
- Show only posts with images and a fixed amount of posts
- Cannot retrieve a custom RSS field from posts
- How to create new post content templates for my users?
- Hooking into the post editing screen for an existing page only
- Query Posts by Custom Field
- Anyone know why wordpress converts some html entities to their numeric equivalents?
- How do I do a page break?
- How to get a post’s content? [closed]
- How to rate a post from Admin Side / Manually?
- Why does a published post only displays the title and not the content in the site? [closed]
- Customize rel=canonical tag for single blog post
- How to I retrieve the ID from the Posts page?