• Resolved bjarnee

    (@bjarnee)


    Hi! I have a simple 1 column table that is filtered to show only rows containing a specific word:
    [table id=3 row_order=sort row_order_sort_column=1 row_order_sort_direction=DESC filter=”fruit offers”/]

    Below the table this shows: “Showing 1 to 50 of 50 entries”

    I would like to have this info showed in a sentence above the table.

    Below you can see the [filtered row count] hottest fruit offers in our supermarket right now!

    Is there any way to get this info into a sentence like this?

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

    (@tobiasbg)

    Hi,

    thanks for your post, and sorry for the trouble.

    No, sorry, I’m not aware of a way to achieve that easily 🙁 Your best chance probably is some custom JavaScript code that simply counts the rows of the table, e.g. via jQuery using

    jQuery( '.tablepress-id-1' ).find( 'tr' ).length
    

    Regards,
    Tobias

Viewing 1 replies (of 1 total)

The topic ‘Show filtered row count?’ is closed to new replies.