• Resolved agrippaold

    (@agrippaold)


    Hello Tobias,
    how can i hide a column with a shortcode?
    this is my shortcode:
    [table id=114 filter=108040T /]

    in this way system show only my correct row that contain 108040T
    but i need to hide “b” column

    can i do with a parameter in shortcode?

    Thank you so much

    Best Regards

    Riccardo

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.

    This is possible with the hide_columns Shortcode parameter, see https://tablepress.org/faq/documentation-shortcode-table/
    With that, you can modify your Shortcode to

    [table id=114 filter=108040T hide_columns=2 /]
    

    (Note that this might not work together with the filtering. In that case, you could hide the column with CSS code. For example, add this to the “Custom CSS” textarea on the “Plugin Options” screen of TablePress:

    .tablepress-id-114 .column-2 {
      display: none;
    }

    )

    Regards,
    Tobias

    Thread Starter agrippaold

    (@agrippaold)

    Thank you so much Tobias,
    you solve my trouble

    Great!!

    Riccardo

    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 ‘Hide Columun’ is closed to new replies.