If you want the contents of an option, variables, or anything for that matter to be treated like post content you’ll need to call the post content filters.
<?php echo apply_filters( 'the_content', $your_var ); ?>
Your data is then treated in the same way as post content is, inline with the code sample you’ve posted, the call should go like this..
<?php echo apply_filters( 'the_content', theme_option('homepage_content') ); ?>
Hope that helps. 🙂
Related Posts:
- Creating a wp_editor instance with custom tinyMCE buttons
- Remove HTML editor and visual/HTML tabs from TinyMCE
- How to get the input of a TinyMCE editor when using on the front-end?
- Load wp_editor via ajax [duplicate]
- TinyMCE 4.x : How to customize toolbar on wp_editor()
- How to use the new Dashicons for custom TinyMCE buttons?
- Add unique class or ID information to tinyMCE
- TinyMCE Anchor Button not showing
- “wp_editor” not displaying TinyMCE correctly when square brackets used in name
- Secure Validation of wp_editor in Theme Options
- TinyMCE Editor Set Default Tab
- Registering custom TinyMCE buttons, for admin area, to work with custom instances of wp_editor
- Remove quicktag buttons but not Visual / Text editor and tabs
- TinyMCE editor – new lines not rendered on front end
- How to get WP editors tinyMCE instances
- TinyMCE strips line breaks on mceAddControl
- Count Words using tinymce in the front-end
- tinyMCE.activeEditor = null WP editor loaded in ‘Text’ mode?
- Add table controls with wp_editor minimal editor configuration (‘teeny’)
- Change Default Font Size and Remove Unwanted Font Sizes in TinyMCE
- TinyMCE Plugin Parameter
- wpeditor issue – shows both mode and not able to focus/edit during visual mode
- wp_editor on input changes content
- Limit Block format tags in WordPress wp_editor
- How to remove the statusbar from the default wordpress editor?
- wp.editor.initialize does not show the same default toolbar
- Stop WordPress Visual Editor converting backticks into code blocks
- TinyMCE Editor change underline button behavior – u tag instead of span text-decoration underline
- wordpress qtranslate editor text is not working [closed]
- Is it possible to disable the image alignment options in the post editor?
- How to dynamically generate wordpress editor on frontend?
- Change syntax styling of TinyMCE HTML Text Editor
- More than one TinyMCE (wp_editor) with different $settings[‘drag_drop_upload’] values breaks
- Adding custom styles to elements, without creating new elements
- wp_editor not modify html tags of initial content
- allowing all HTML tags in tinymce editor
- How to apply a custom skin to WP_Editor / TinyMCE?
- Stop editor from adding “amp;” after every “&”
- TinyMCE 4 & wp_editor multiple editor issue
- How to remove buttons from tinyMCE in wp_editor added via AJAX
- Loading a self-hosted custom @font-face into TinyMCE dropdowns (Classic Editor) via ‘tiny_mce_before_init’ filter
- Load WordPress Editor .css on Front End
- “Formats” Select Menu in WP Editor doesn’t show up with correct colour
- WordPress Editor without buttons
- Adding a class to custom TinyMCE button using WPLinks dialog box
- How to remove “justifyfull” in TinyMCE
- wp_editor Too Tall when Content is Loaded
- Inline Editing with wp_editor and tinymce (problem with textarea)
- Adding New Row of Custom TinyMCE
- How to add placeholder in wp_editor?
- How to add “Insert/Edit link” button in custom popup tinymce window?
- How to disable TinyMCE from removing span tags
- Enqueue Script After TinyMCE initialized
- Unable to add “code” button to TinyMCE toolbar
- Is it possible to re-use the image details popup?
- Visual Tab Missing From Editor
- Is it possible to create nested lists in the WYSIWYG editor?
- Add a button to tinyMCE editor on Custom Post Type
- Load tinyMCE / wp_editor() via AJAX [duplicate]
- How to disable TinyMCE 4 keyboard shortcuts
- TinyMCE style_select – Append Classes
- Adding TinyMCE custom buttons when using teeny_mce_before_init
- Disabling TinyMCE keyboard shortcuts altogether
- Should the WP post editor B (bold) button be inserting a tag instead of in HTML5?
- TinyMCE Editor removing and and putting instead
- Hide TinyMCE controls in TinyMCE 4 (WordPress 3.9)
- Add TinyMCE editor to windowManager textbox
- unwanted and tags in text editor
- WordPress editor strips out anchor tags when they appear on their own line
- Custom settings page TinyMce: no formatting when echoing value of editor
- TinyMCE as comment editor – encoding issues
- How to reset ‘Advance’ tab on table property?
- Add drop down in wordpress tiny mce editor pop up
- TinyMCE Advanced list type drop-down
- editor text cut off when using 2 spaces (after periods)
- Advanced tinyMCE insert link error [closed]
- How to reference TinyMCE body in my script
- How to prevent shortcode preview from breaking in tinymce editor?
- customize tiny MCE blockqute
- tiny_mce_before_init is not trigger
- How can a TinyMCE modal return formatted/visual text?
- Why exactly does WordPress use p tags, not divs?
- How to edit blockquote image
- When I write posts I usually have to use non breaking space element in order to keep margins in between the sentences. why?
- Add custom value for link_class_list for the classic editor
- How to apply padding to TinyMCE editor?
- TinyMCE is inactive after installation
- WordPress, tinymce, how get the link text from dialog?
- How to set custom TinyMCE format style as default?
- Did Gutenberg block editor change the html in post content during import?
- Add custom TinyMCE 4 Button: Is it mandatory to have one JS per button?
- Nested ordered list in tinymce
- Visual Editor not working properly
- TinyMCE 4.0: specifying buttons to display [duplicate]
- Adding to he format dropdown menu tinyMCE in WordPress
- Is there an alternative way to upload html without using TinyMCE?
- add button to tinymce
- install tinymce plugin [closed]
- How to create custom toggle button in tinymce?
- How to load TinyMce cloud editor in WordPress with wp_editor()?