Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter dtroit

    (@dtroit)

    That would be awesome!

    Thread Starter dtroit

    (@dtroit)

    Ok I see, thanks!

    Thread Starter dtroit

    (@dtroit)

    Hey! Thanks for the quick answer!

    I’m hooking into the markup and duplicate it in the output to have a different layout of the table on mobile, in my case I create an accordion of the table to make it easier to read the table on mobile. So with this setting I want the user to decide if the accordion items should be grouped by column titles or row titles.

    So inside this hook I need to be able to differentiate the two solutions. At the moment I can parse the class of the container but it would have felt better to just have a setting so that the client wouldn’t manually have to type a specific class every time. I guess adding a parameter to the shortcode would be more clear but you still have to type the setting manually instead of for example using a radio button.

    Every table gets stored as a post so technically they can have post meta, are there no hooks I can use to output my custom fields then? Like the same way you use the add_meta_box method from your abstract class.

    Thanks for your support!

    • This reply was modified 2 years ago by dtroit.
Viewing 3 replies - 1 through 3 (of 3 total)