Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Eliot Akira

    (@miyarakira)

    Hello, sorry for the late reply. There are a few solutions:

    1) Put all the code in one line

    2) Protect the code from default post formatting, by wrapping with the [raw] shortcode (it should be enabled under Settings). For example:

    [raw]
      [loop type="recipes"]
        [field title]<br>
      [/loop]
    [/raw]

    3) Use the clean parameter, and add <br> after the title.

    Thread Starter rmkahler

    (@rmkahler)

    Putting it all on one line, then adding a <br> worked! Thanks!

    Plugin Author Eliot Akira

    (@miyarakira)

    I’m glad you found a solution.

    For multi-line shortcodes, the post editor’s auto-formatting can be a pain to get around. Another issue you may run into is the Visual editor – it will also try to auto-format the post content, which can rewrite your break lines. I have a few more notes about it in the FAQ section of this plugin page.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Loop Formatting’ is closed to new replies.