mumboandjive on "[Plugin: TablePress] Search & Sort not showing"

ساخت وبلاگ

williamsc16
Member
Posted 3 weeks ago #

I upgraded WordPress today and the search and sort options are not showing on the all of the tables.

Proper options are selected on the tables.

This functioned correctly prior to upgrade of wordpress to 4.5.

https://wordpress.org/plugins/tablepress/

Hi,

thanks for your post, and sorry for the trouble.

Can you please post a link to the page with the table where this problem happens, so that I can take a direct look? Thanks!

Regards,
Tobias

williamsc16
Member
Posted 3 weeks ago #

Thank you for the quick response.

This is a member only site with private information. Please email me at and I can send you a temporary useame and password.

Hi Carol,

thanks for the email with the account details! I was able to log in and could reproduce the issue.
You are basically affected by this: https://wordpress.org/support/topic/scroll-top-blocks-other-plugin-functionality-on-wp-45?replies=6

A JS file in your theme contains a bug that only shows with the latest version of the jQuery JS library. Therefore, this error will have to be fixed in your theme. One idea could therefore be to contact your theme developer about this and ask them for an updated/fixed version.
As it's a small change, you could also fix this yourself, by changing

$("a[href=#scroll-top]")

to

$('a[href="#scroll-top"]')

in the /wp-content/themes/responsive/core/js/responsive-scripts.min.js file.

Regards,
Tobias

Hi,

I am having this issue as well. The search function doesn't work for the tables with the new WordPress update.

Here is a table using it: http://car.uwosh.edu/find-a-tutor/

I am using Divi as my theme and could not find the file you are referencing in wp-contents.

Thank you.
Kayde

Hi kempenk,

you are indeed suffering from the same problem. In your case, the offending line is

$( 'a[href*=#]:not([href=#])' ).click( function() {

in the file http://car.uwosh.edu/wp-content/themes/Divi/js/custom.js

It might sufficient to change that line to

$( 'a[href*="#"]:not([href="#"])' ).click( function() {

but for a definite answer, you might want to ask the theme developers.

Regards,
Tobias

myforex9ja
Member
Posted 1 week ago #

I also have the same problem after updating to 4.5.
The search and sorting function don't display again.
Here is the page of the error. ===>> https://www.myforex9ja.com/10-day-free-trial/

Kindly help in this regard on what to do. I can send you login access to the page to assist.

myforex9ja
Member
Posted 1 week ago #

Hello,
I had worked on it and figured out how to do it. I observed that I upgraded my wordpress from 4.4 to 4.5.1 and this caused all the problems.

I checked that my theme was not updated for the latest wordpress update for my JQUERY to work properly. I decided to degrade my wordpress back to 4.4 and everything seems to be working perfectly.

Its great now. Thanks alot.

Hi,

while temporarily downgrading to WordPress 4.4 might have worked here, it's not a good solution! You should really try to get your theme fixed (or ask the developers to fix it!).
Otherwise, you will run into many, many problems in the future!

Regards,
Tobias

myforex9ja
Member
Posted 1 week ago #

You 100% correct. My theme is a premium theme and an update for it has not been released. I had been checking up on the developer is there is a new update; but presently none for now. I would consider changing it in future as well.

Thank you so much for your response. You have a great plugin. I would purchase your extensions as well. Thanks.

Hi,

thanks for the kind words about TablePress :-)

Yes, you should really keep asking your theme developer for an update, especially if it's a premium theme! As mentioned above, the fix is very simple in most cases, so that you could also try fixing this yourself.

Regards,
Tobias

mumboandjive
Member
Posted 2 days ago #

Hi Tobias,

I seem to be having the same problem on my site since upgrading to WP 4.5.2. I'm using the ShapeShifter 2 theme - I would contact the developer for a fix but the theme doesn't seem to be supported anymore unfortunately.

I'd be extremely grateful if you could have a quick look at my site and see if you can identify which line/s of code I need to change to get things working properly again. Here's the link: http://goldensombreros.co.uk/hall-of-fame/ (table should be sorted by final column).

Thanks in advance!

Hi,

yes, this is the same issue. In your case, please change

jQuery('a[href*=#]').click(function() {

to

jQuery('a[href*="#"]').click(function() {

in the file /wp-content/themes/shapeshifter/assets/javascripts/skeleton-key.js

Regards,
Tobias

mumboandjive
Member
Posted 2 days ago #

Thanks so much, that worked perfectly! You're a lifesaver!

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!

mumboandjive
Member
Posted 21 hours ago #

Hi again Tobias, it seems my problem isn't entirely resolved after all!

While table sorting is now working perfectly in Firefox (and Opera), I've just realised that when I use Chrome or Safari the tables aren't being sorted.

Any ideas what could be causing this?

Thanks again!

Hi,

I'm testing in Chrome and it works just fine. Are you logged-out or logged-in into WordPress in your Chrome? That could make a difference if other plugins load other scripts then.

Regards,
Tobias

mumboandjive
Member
Posted 4 hours ago #

Just tried logging out in Chrome and the sorting now works, however it's still not working in Safari even when logged out. And it's working fine in Firefox and Opera whether I'm logged in or out.

It's not a huge problem, just a bit strange!

Hi,

yes, that's strange. Do you see any JavaScript errors in the Safari JS error log console?

Regards,
Tobias

mumboandjive
Member
Posted 12 seconds ago #

Yeah I was getting the a[href*=#] error again, however I've just tried clearing the cache in Safari and now the sorting is working perfectly again, so I guess that must have been what was causing the problem! So it's now working fine in all browsers.

Thanks anyway for the help.

WordPress ...
ما را در سایت WordPress دنبال می کنید

برچسب : نویسنده : استخدام کار wpss بازدید : 232 تاريخ : پنجشنبه 23 ارديبهشت 1395 ساعت: 20:55