Support

Account

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

Solved

Row layout with a shortcode gets out of order

    • Rude

    • July 8, 2013 at 11:11 pm

    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?

    Thanks!

    • Rude

    • July 8, 2013 at 11:38 pm

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

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

You must be logged in to reply to this topic.

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.