Sauter la navigation

[Résolu] View not running custom Javascript function after searching/filtering.

This support ticket is created Il y a 5 années et 5 mois. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 -
- 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 -

Supporter timezone: Europe/London (GMT+00:00)

Ce sujet contient 2 réponses, a 2 voix.

Dernière mise à jour par davidS-53 Il y a 5 années et 5 mois.

Assisté par: Nigel.

Auteur
Publications
#1320773
screencapture-icpkp-223-165-76-42-sth-nz-wp-admin-admin-php-2019-08-21-17_19_02.jpg
2019-08-21 17_19_12-.png
2019-08-21 17_32_31-Colleges Archive - ICPKP.png
2019-08-21 17_32_44-Colleges Archive - ICPKP.png

As above. I've used the code from here https://toolset.com/forums/topic/masonry-layout-broken-after-ajax-reload-parametric-search/ to reinitialize masonry after searching/filtering an archive.

Relevant screenshots all attached.

Everything works fine until you search/filter. It displays the relevant results but they are not in the masonry layout.

I added that generic button to test manually triggering the same function, and it works fine if you click it after searching/filtering.

You can see it here: lien caché

Any ideas what's going on with it?

#1321115

Nigel
Supporter

Les langues: Anglais (English ) Espagnol (Español )

Fuseau horaire: Europe/London (GMT+00:00)

I'll suggest we close this as a duplicate of the other thread unless there is something specific to deal with here...

#1321699

Yep this is a duplicate- sorry, closed the tab early and thought it hadn't posted.