short code syntax for zebra stripes

short code syntax for zebra stripes

mjs111mjs111 Posts: 1Questions: 1Answers: 0

Hi!

I'm new here and just installed the Google inline spreadsheet viewer for WordPress. I was referred here for help. I'd like to add zebra striping using the short codes but haven't figured out the right syntax yet. Right now my short code line looks like this:

[gdoc key="ABCDEFG" datatables_page_length="25"]

I want to add to this short code line the datatables_stripeClasses option, with two elements in the array for alternating stripes. I've tried a few guesses at the syntax but haven't succeeded yet.

Thanks for any help!

Mike

Answers

  • allanallan Posts: 63,121Questions: 1Answers: 10,397 Site admin

    I'm afraid I know nothing about WordPress's shortcodes - you'd need to ask in a WordPress forum about that.

    Assuming that you can set options, the stripeClasses option is the one that allows the zebra classes to be customised in DataTables.

    is its default of odd and even not what you want? With those, its just a little bit of CSS that is needed.

    Allan

This discussion has been closed.