I am adding tinymce edior with new wp_editor()
function on theme option page. On submit the theme option sends data to option.php
where it saves. But tinymce doesn't seem to convert the line breaks into <p>
tags as we see in the post and pages from the edit page. Other styles and htmls that I add from the editors are okey.
Do i have to use any filter on it before it saves?
I am showing the content with a echo
.
<?php echo theme_option('homepage_content'); ?>