TodayOnly
Forum Replies Created
-
Forum: Plugins
In reply to: [WP Edit] Search and replace in text editorI 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
In reply to: [TablePress - Tables in WordPress made easy] Multiple filters simultaneouslyHi 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
In reply to: [TablePress - Tables in WordPress made easy] Multiple filters simultaneouslyHi 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
In reply to: [TablePress - Tables in WordPress made easy] Multiple filters simultaneouslyHi 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
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.
I tried on input ” and input ‘#’. Both redirected to shop, what should I put in thside the ”?
Forum: Plugins
In reply to: [TablePress - Tables in WordPress made easy] Multiple filters simultaneouslyHi 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
In reply to: [TablePress - Tables in WordPress made easy] Multiple filters simultaneouslyHi 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
In reply to: [TablePress - Tables in WordPress made easy] Multiple filters simultaneouslyHi 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
In reply to: [TablePress - Tables in WordPress made easy] Multiple filters simultaneouslyHi Tobias,
I looked into extending that line, but it’s hard.
Do you know someone who previously managed to pull this off?
Forum: Plugins
In reply to: [TablePress - Tables in WordPress made easy] Multiple filters simultaneouslyHi 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
In reply to: [TablePress - Tables in WordPress made easy] Multiple filters simultaneouslyHi 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?
Alright I see, I´ll just use normal CSS media queries then.
Cheers
Forum: Plugins
In reply to: Add multiple filtersDouble
Hmm okey.
Tobias, is there any other solution you can see for filtering different columns, using buttons?
Thankful for your help