• Resolved seank123

    (@seank123)


    Liking this so far but I have a question:

    How do I get the data into a HTML table? I have:

    <table>
    <tr>
    <td>{competition_type}</td>
    <td>{home_club_name}</td>
    <td>{away_club_name}</td>
    </tr>
    </table>

    It works, but obviously each line of data is in a new table!

    What template structure would put the data into rows in the same table.

    Many thanks!

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

    (@berkux)

    This depends on the json too.
    Put the table-tags before and after the shortcode…

    Thread Starter seank123

    (@seank123)

    Yes – that works!!

    I had to use a HTML block in Gutenberg then paste the generated shortcode in.

    Many thanks!

    Plugin Author berkux

    (@berkux)

    Glad to read that!
    Feel free to vote for this plugin.

    Bernhard

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Laying data out in a table?’ is closed to new replies.