echo wp_editor to screen with formatting
-
Hello,
I’ve created a custom field containing a content editor (including formatting toolbar)
I can save any inputs such as text, font colour etc with no worries.
I am however struggling to out put the content on the front end. I can print the content but it removes the formatting.
Example of out put on the front end:
↓ span style="color: #ff0000;"↑ text↓ /span↑The < and > are being replaced by up and down arrows.
The code I’m using to output is:
$sideOneTextOneEditor = get_post_meta($post->ID, 'secTextEditor' , true ) ; echo $sideOneTextOneEditor; ?>Any help appreciated
The topic ‘echo wp_editor to screen with formatting’ is closed to new replies.