• Resolved scottiej86

    (@scottiej86)


    I love your plugin! Makes life so much easier. I don’t have an example on my site yet, but I will eventually.

    I am trying to save myself a little work. If I have one table that has multiple columns (10) of data that I show on a page, is it possible to have a second table that can draw the data from the first table, but only show (for example) Columns 1 and 5? Is there a code I could put in each cell that would tell it to pull data from Table 43, Column 2, Row 6?

    Thanks in advance.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi,

    thanks for your post, and sorry for the trouble.

    Yes, and for this you don’t even need a second table. You could simply show the smaller version of the table by adding extra parameters to the Shortcode.
    To show the full table, you use, as usual,

    [table id=123 /]
    

    To show just a few columns:

    [table id=123 hide_columns=all show_columns=1,5 /]
    

    To re-use the content of a single cell somewhere, you can use the TablePress Extension from https://tablepress.org/extensions/table-cell-shortcode/

    Regards,
    Tobias

    Thread Starter scottiej86

    (@scottiej86)

    Thank you! That worked beautifully!

    Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi,

    no problem, you are very welcome! 🙂 Good to hear that this helped!

    Best wishes,
    Tobias

    P.S.: In case you haven’t, please rate TablePress here in the plugin directory. Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Automatically transferring data from one table to another’ is closed to new replies.