Title: TodayOnly's Replies | WordPress.org

---

# TodayOnly

  [  ](https://wordpress.org/support/users/todayonly/)

 *   [Profile](https://wordpress.org/support/users/todayonly/)
 *   [Topics Started](https://wordpress.org/support/users/todayonly/topics/)
 *   [Replies Created](https://wordpress.org/support/users/todayonly/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/todayonly/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/todayonly/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/todayonly/engagements/)
 *   [Favorites](https://wordpress.org/support/users/todayonly/favorites/)

 Search replies:

## Forum Replies Created

Viewing 15 replies - 1 through 15 (of 24 total)

1 [2](https://wordpress.org/support/users/todayonly/replies/page/2/?output_format=md)
[→](https://wordpress.org/support/users/todayonly/replies/page/2/?output_format=md)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP Edit] Search and replace in text editor](https://wordpress.org/support/topic/search-and-replace-in-text-editor/)
 *  Thread Starter [TodayOnly](https://wordpress.org/support/users/todayonly/)
 * (@todayonly)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/search-and-replace-in-text-editor/#post-8266026)
 * I believe a lot of users would appreciate such a feature, even tho they are not
   posting actively about it. This would make WP editor much more alike the Microsoft
   Office package.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[TablePress - Tables in WordPress made easy] Multiple filters simultaneously](https://wordpress.org/support/topic/multiple-filters-simultaneously/)
 *  Thread Starter [TodayOnly](https://wordpress.org/support/users/todayonly/)
 * (@todayonly)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/multiple-filters-simultaneously/page/2/#post-7031612)
 * Hi Tobias,
 * That worked wonderfully. Thank you.
 * However, now we have a button that resets all filters. What we both agreed on
   that is best solution is if the button can be switched on/switched off.
 * Is there a way to do that?
 * Again, I am in no hurry so if such an feature would require extra time, I’m happy
   with that, but that is what we both think is the best.
 * Kind regards
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[TablePress - Tables in WordPress made easy] Multiple filters simultaneously](https://wordpress.org/support/topic/multiple-filters-simultaneously/)
 *  Thread Starter [TodayOnly](https://wordpress.org/support/users/todayonly/)
 * (@todayonly)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/multiple-filters-simultaneously/page/2/#post-7031610)
 * Hi Tobias,
 * Thank you for the quick respond.
 * I tried copy & paste that code into the tablepress-datatables-button-filter.php
 * First, I replaced the `$( '#tablepress-{$table_id}_filter input' ).val() + ' '
   + $( this ).data( 'filterterm' )` with the new code.
 * This didn’t work, so I kept the old code and put the new code below.
 * This didn’t work either. So I deleted the whole
 *     ```
       var {$name} = {$command};
       $( 'body' ).on( 'click', '.table-{$table_id}-filter', function() {
       	{$name}.search( $( '#tablepress-{$table_id}_filter input' ).val() + ' ' + $( this ).data( 'filterterm' ) ).draw();
       } );
       ```
   
 * and replaced with your code.
 * However, this didn’t work either.
 * Where is this code supposed to be?
 * Kind regards
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[TablePress - Tables in WordPress made easy] Multiple filters simultaneously](https://wordpress.org/support/topic/multiple-filters-simultaneously/)
 *  Thread Starter [TodayOnly](https://wordpress.org/support/users/todayonly/)
 * (@todayonly)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/multiple-filters-simultaneously/#post-7031608)
 * Hi Tobias,
 * I hired a programmer, and he tried adding various codes such as
    var clear = “”;
   var remove = 0;
 * to insert them as variables in the
    `$( '#tablepress-{$table_id}_filter input').
   val() + ' ' + $( this ).data( 'filterterm' )`
 * However, after 15+ tries we couldn’t make it.
 * I am sure there are many users who would like the filter/remove filter feature.
   When you have time, I am in no hurry, could you please take a look at this?
 * Best regards
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[HUSKY - Products Filter for WooCommerce Professional] Filter not on WooCommerce page](https://wordpress.org/support/topic/filter-not-on-woocommerce-page/)
 *  Thread Starter [TodayOnly](https://wordpress.org/support/users/todayonly/)
 * (@todayonly)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/filter-not-on-woocommerce-page/#post-7095031)
 * Yes but it redirects to BBC. Why would anyone want that?
 * I want it **NOT **to redirect.
 * That is the trouble I am having, since I use Enfold layout builder and not the
   WooCommerce page.
 * I want to filter and sort on the Enfold layout builder page.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[HUSKY - Products Filter for WooCommerce Professional] Filter not on WooCommerce page](https://wordpress.org/support/topic/filter-not-on-woocommerce-page/)
 *  Thread Starter [TodayOnly](https://wordpress.org/support/users/todayonly/)
 * (@todayonly)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/filter-not-on-woocommerce-page/#post-7095003)
 * I tried on input ” and input ‘#’. Both redirected to shop, what should I put 
   in thside the ”?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[TablePress - Tables in WordPress made easy] Multiple filters simultaneously](https://wordpress.org/support/topic/multiple-filters-simultaneously/)
 *  Thread Starter [TodayOnly](https://wordpress.org/support/users/todayonly/)
 * (@todayonly)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/multiple-filters-simultaneously/#post-7031572)
 * Hi Tobias,
 * Thank you for the insight.
 * I was thinking then, an alternative solution, would be that when clicking at 
   the button again, that filter gets deleted. Do you know a way to do that?
 * Best regards
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[TablePress - Tables in WordPress made easy] Multiple filters simultaneously](https://wordpress.org/support/topic/multiple-filters-simultaneously/)
 *  Thread Starter [TodayOnly](https://wordpress.org/support/users/todayonly/)
 * (@todayonly)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/multiple-filters-simultaneously/#post-7031565)
 * Hi Tobias,
 * I am very thankful for you helping me with this.
 * For this solution, I tried Googling to find a variable that set a default value,
   but couldn’t manage to find one.
 * It is quite essential to remove filters, or the user gets stuck.
 * Could you think of another solution, in case you neither can’t find the Javascript
   variable?
 * You are the best.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[TablePress - Tables in WordPress made easy] Multiple filters simultaneously](https://wordpress.org/support/topic/multiple-filters-simultaneously/)
 *  Thread Starter [TodayOnly](https://wordpress.org/support/users/todayonly/)
 * (@todayonly)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/multiple-filters-simultaneously/#post-7031557)
 * Hi Tobias,
 * Thank you for the help. It worked wonderfully!
 * Now I wonder, what is the query I’d enter in the shortcode to reset filters?
 * `<button class="table-123-filter" data-filterterm="ENTER HERE">Button text</button
   >`
 * Thank you again!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[TablePress - Tables in WordPress made easy] Multiple filters simultaneously](https://wordpress.org/support/topic/multiple-filters-simultaneously/)
 *  Thread Starter [TodayOnly](https://wordpress.org/support/users/todayonly/)
 * (@todayonly)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/multiple-filters-simultaneously/#post-7031555)
 * Hi Tobias,
 * I looked into extending that line, but it’s hard.
 * Do you know someone who previously managed to pull this off?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[TablePress - Tables in WordPress made easy] Multiple filters simultaneously](https://wordpress.org/support/topic/multiple-filters-simultaneously/)
 *  Thread Starter [TodayOnly](https://wordpress.org/support/users/todayonly/)
 * (@todayonly)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/multiple-filters-simultaneously/#post-7031533)
 * Hi Tobias,
 * The JavaScript solution filtered very quickly and is to prefer.
 * However, as of now it also ignores if a button has been already been clicked.
   I believe editing some PHP file would make that the filter term from previous
   button-click don’t get stripped, am I mistaken?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[TablePress - Tables in WordPress made easy] Multiple filters simultaneously](https://wordpress.org/support/topic/multiple-filters-simultaneously/)
 *  Thread Starter [TodayOnly](https://wordpress.org/support/users/todayonly/)
 * (@todayonly)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/multiple-filters-simultaneously/#post-7031528)
 * Hi Tobias,
 * Thank you for the help.
 * I am not exactly what you mean by that the keyword would be appended. Say for
   example that the user clicks a URL filter such as example.com/?table_filter=keyword1
   +keyword2 and then later the user clicks on the same page example.com/?table_filter
   =keyword3, would they all 3 be sorted then?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[TablePress - Tables in WordPress made easy] Reduce load time using loadJS and media queries](https://wordpress.org/support/topic/reduce-load-time-using-loadjs-and-media-queries/)
 *  Thread Starter [TodayOnly](https://wordpress.org/support/users/todayonly/)
 * (@todayonly)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/reduce-load-time-using-loadjs-and-media-queries/#post-7028595)
 * Alright I see, I´ll just use normal CSS media queries then.
 * Cheers
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [Add multiple filters](https://wordpress.org/support/topic/add-multiple-filters-1/)
 *  Thread Starter [TodayOnly](https://wordpress.org/support/users/todayonly/)
 * (@todayonly)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/add-multiple-filters-1/#post-6989063)
 * Double
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[TablePress - Tables in WordPress made easy] Sort table by url in multiple columns](https://wordpress.org/support/topic/sort-table-by-url-in-multiple-columns/)
 *  Thread Starter [TodayOnly](https://wordpress.org/support/users/todayonly/)
 * (@todayonly)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/sort-table-by-url-in-multiple-columns/#post-6984603)
 * Hmm okey.
 * Tobias, is there any other solution you can see for filtering different columns,
   using buttons?
 * Thankful for your help

Viewing 15 replies - 1 through 15 (of 24 total)

1 [2](https://wordpress.org/support/users/todayonly/replies/page/2/?output_format=md)
[→](https://wordpress.org/support/users/todayonly/replies/page/2/?output_format=md)