Forums

[Plugin: Front-end Editor] Problem with paragraph tags <p> (4 posts)

  1. ricardormz
    Member
    Posted 2 years ago #

    Im using custom field template plugin to write some multi-line custom fields. I click publish, check out my new post, all good. But every time I edit a Custom Field it strips out the <p> tags. The weird thing is that the tags are there when im editing. Its just that when i click save and the editing field its closed, the tags are ignored (and not shown on the source code).

    Any ideas?

  2. scribu
    Member
    Posted 2 years ago #

    I assume you're using editable_post_meta(). You need to download the development version (1.4a2) and wrap the call in wpautop():

    echo wpautop(editable_post_meta(..., $echo = false));
  3. ricardormz
    Member
    Posted 2 years ago #

    Thanks! Its working now

  4. Treblamah
    Member
    Posted 2 years ago #

    I had the same problem. Now, after you click save, the text is without <p> tags, but it renders properly after reloading the page, using the fix above and the development version.

Topic Closed

This topic has been closed to new replies.

About this Topic