• Resolved tgrell

    (@tgrell)


    I have a table with a directory list, including 2 columns that have counties and cities served by each agency. I do not want these columns to show in the table on the page, but I would like when someone searches by a specific county or city for it to pull up those agencies that have that county or city listed in those columns.

    Is there a way to hide columns, but still have them be searchable?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    thanks for your post, and sorry for the trouble.

    Yes! For that, please hide the columns using CSS code. For example, add this to the “Custom CSS” textarea on the “Plugin Options” screen of TablePress:

    .tablepress-id-123 .column-4,
    .tablepress-id-123 .column-5 {
      display: none;
    }

    Just change the table ID and column numbers as desired.

    Regards,
    Tobias

    Thread Starter tgrell

    (@tgrell)

    That worked perfect, thank you for the quick feedback!

    Plugin Author TobiasBg

    (@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 ‘Ability to Search Hidden Columns’ is closed to new replies.