• Resolved mumboandjive

    (@mumboandjive)


    Hi Tobias,

    Firstly thanks for your amazing work on TablePress, it’s by far the most useful WP plugin I’ve used!

    My question: is it possible to use the Row Filtering extension to filter by number rather than by keyword? I have a table of my softball team’s stats, and I’m wanting to have TablePress show only the players who’ve played a certain number of games. So instead of searching for a specific text string, I’d want to search for a minimum number, and only within the ‘Games Played’ column. Is there any way to achieve this?

    Here’s the table in question: https://goldensombreros.co.uk/hall-of-fame/

    Thanks in advance!

    https://www.ads-software.com/plugins/tablepress/

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

    (@tobiasbg)

    Hi,

    thanks for your question, and sorry for the trouble.

    You can actually use the Row Filtering Extension for this, you will just need to use the “or” operator in the filter parameter and another parameter to set the column for the filtering:

    [table id=92 filter="20||21||22||23||24||25||26||27||28||29||30" filter_columns="2" /]

    This example would show all players with 20 or more Games Played, but less then 31. Just extend this list as desired. The key basically is the || operator between the numbers, which indicates “or”.

    Regards,
    Tobias

    Thread Starter mumboandjive

    (@mumboandjive)

    Thanks very much, works perfectly!

    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 ‘Using row filtering to filter by number instead of keyword?’ is closed to new replies.