• Resolved kd8hsr

    (@kd8hsr)


    Hi,
    I have a 3 column table: Title (of articles etc), Link, and Tags (of keywords in linked article)
    I would love to be able to only show the first 2 columns on the front end, hiding the “Tag” column, but have the search work to find the keyword tags from the hidden 3rd column.
    Is this possible?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter kd8hsr

    (@kd8hsr)

    Ah! Instead of toggling “hide column” would I use CSS to hide the col7mn to make it still be searchable? Like this?:

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

    Plugin Author Tobias B?thge

    (@tobiasbg)

    Hi,

    thanks for your post, and sorry for the trouble.

    Yes, that’s a good approach here! The “Hide Column” feature on the “Edit” screen would hide the column “for good”, even from the search function. The CSS instead only hides it from the visitor, but keeps it searchable.

    Good to hear that you already found this!

    Best wishes,
    Tobias

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Search hidden column’ is closed to new replies.