0

My custom post type has 5 custom meta boxes which use wp_editor. Visually I can format the content but when saved, all the formatting is gone.

For example I made a portion of my content bold, but when I save / update, the formatting is no longer there both in front end and back end (when I go back to edit the same post).

What is the right way to do this?

2
  • 1
    Maybe your save function strips the HTML tags. What's your metabox code?
    – Sally CJ
    Sep 12, 2019 at 12:56
  • 1
    You nailed it!! :) Sep 13, 2019 at 7:27

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy