• Hi,

    I would like to loop through some ACF fields using this plugin short codes in a table.
    When I am putting short codes in a table in Visual Composer Text Block and save it. Then the Visual Composer kick the short code from its actual location to the top and mess whole table.

    Here is my actual table with short codes loop:

    <table class=”schedule-small”>
    <thead>
    <tr style=”background-color: #be0527;”>
    <th>Monday (10am – 7pm)</th>
    </tr>
    </thead>
    <tbody>
    [loop type=pp_ladies taxonomy=pp_shifts term=monday-day-shift orderby=date order=ASC]
    <tr>
    <td>[no_button size=”medium” text=”[field lady_name]” link=”[field lady_page_url]” target=”_self” color=”#f7f7f7″ hover_color=”#be0527″ background_color=”#be0527″ hover_background_color=”#f7f7f7″]</td>
    </tr>
    [/loop]
    </tbody>
    </table>

    And here is what Visual Composer does to it once I hit save button:

    [loop type=pp_ladies taxonomy=pp_shifts term=monday-day-shift orderby=date order=ASC][/loop]
    <table class=”schedule-small”>
    <thead>
    <tr style=”background-color: #be0527;”>
    <th>Monday (10am – 7pm)</th>
    </tr>
    </thead>
    <tbody>
    <tr>
    <td>[no_button size=”medium” text=”[field lady_name]” link=”[field lady_page_url]” target=”_self” color=”#f7f7f7″ hover_color=”#be0527″ background_color=”#be0527″ hover_background_color=”#f7f7f7″]</td>
    </tr>
    </tbody>
    </table>

    Can anyone help me how can I use short codes in Visual Composer Text Block.

  • The topic ‘Incompatible with Visual Composer Text Block’ is closed to new replies.