Custom fields Editor Light not outputting
-
Hi there, Loving the Custom fields plugin for adding new content areas to a page!, I just need to resolve this problem.
I have added several Editor Light elements to a page, and have entered the content. If I look at that content in the HTML viewer I is showing <p></p> as you would expect. these are not propagating to the front end though. If I look at the source, the content is not surrounded by <p></p>.
The code I am using to display in my theme is:
<?php $event = get_post_meta($post->ID, ‘t1’, true); if($event != ”){ echo ‘<div class=”contentColumn”>’ .$event. ‘</div>’; } ?>Any help would be greatly appreciated!
- The topic ‘Custom fields Editor Light not outputting’ is closed to new replies.