Skip Navigation

[Resolved] Remove title attribute within pagination links

This thread is resolved. Here is a description of the problem and solution.

Problem:

The issue here is that the user has some custom code that doesn't work after AJAX pagination is done.

Solution:
What you can do is to add it to the callback functions for views. To add the callback functions go to your view and then go to the filter section.

Then you will go to the js section and click on the callback functions.

From here you can add the various different callback functions.

This support ticket is created 6 years, 5 months ago. 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.

No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 -
- 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 14:00 – 18:00 13:00 – 18:00 -

Supporter timezone: America/Jamaica (GMT-05:00)

This topic contains 2 replies, has 2 voices.

Last updated by seanM-6 6 years, 5 months ago.

Assisted by: Shane.

Author
Posts
#908337
example title attribute on hover.PNG

I want to remove the title attribute from the pagination links, because it's shows in a small pop-up on hover.
I tried removing the title attribute with jQuery, but it only works on the page load. After using the ajax filtering, the title attribute is created again. I used the following code:

jQuery("a.wpv-filter-pagination-link").removeAttr("title");

I found a related question in this topic: https://toolset.com/forums/topic/set-title-attribute-in-pagination/

You can find a example of the situation below:
hidden link

I hope there's a solution!

#908516

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Sean,

Thank you for contacting our support forum.

What you can do is to add it to the callback functions for views. To add the callback functions go to your view and then go to the filter section.

Then you will go to the js section and click on the callback functions.

From here you can add the various different callback functions.

Please let me know if this helps.

Thanks,
Shane

#910536

It worked, thanks!