• Resolved bhammondCVL

    (@bhammondcvl)


    I’ve altered the display template to output the staff list as a table (with <table><thead> stuff before the [staff_loop], and each staff listing as a <tr>, etc.). Spans and breaks I’ve added to the template show up just fine, but none of the table markup. What’s wrong?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Brett Shumaker

    (@brettshumaker)

    Hi @bhammondcvl
    The plugin outputs a <div> wrapper around the entire staff list, and each staff member is also wrapped in a <div> so it’s not able to output a single, valid <table> element around the entire list.

    If you do need to output tables, you would need to add your <thead> in its own table before the staff list shortcode, then put your table markup _inside_ the [staff_loop] in your template. Not ideal, I know, but the only way currently to output tables.

    Hope that helps!

    Thread Starter bhammondCVL

    (@bhammondcvl)

    Thanks for the prompt response. I will give that a try.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘template won’t output table?’ is closed to new replies.