Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi there,

    I’m afraid not, the caption is design for text but you can use HTML too, it’s not a WYSIWYG editor so it relies on the HTML being added otherwise it’ll just process it as a string.

    Thanks,
    Dave

    Thread Starter kchayka

    (@kchayka)

    So there’s no way to filter it, to have it pass through nl2br() or other function, right?

    Once WP started allowing HTML in the caption field they should have provided a tinymce control for it, too. Clients don’t like coding anything, even the occasional <br> :-\

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘retaining line breaks in captions’ is closed to new replies.