Home Forums Add-ons Flexible Content Field Row layout with a shortcode gets out of order


Row layout with a shortcode gets out of order

  • I have a Flexible content field with some layouts inside, one of them is a WYSIWYG field that is executing a shortcode in a particular page. That shortcode executes a loop that lists some categories and some posts.

    The thing is, that WYSIWYG gets prepended to any other layout included in the page. The problem seems to be the foreach() that the shortcode is using, any shortcode will work and keep the WYSIWYG layout in it’s current order, except for the ones that include a foreach() loop.

    Any way to fix it?


  • Nevermind, I just fixed it by using a relationship field.

Viewing 2 posts - 1 through 2 (of 2 total)

The topic ‘Row layout with a shortcode gets out of order’ is closed to new replies.

We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Cookie Policy. If you continue to use this site, you consent to our use of cookies.