Skip Navigation

[Resolved] Next/Prev is refreshing the whole page

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

Problem:

The issue here is that the customer's AJAX pagination was not working, instead they were getting a full page refresh.

Solution:

In this case it was being caused by the Latest version of the ENFOLD wordpress theme. What I recommend is that you contact the theme author and let them investigate this issue.

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

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 12 replies, has 2 voices.

Last updated by Jernej Kozole 6 years, 6 months ago.

Assisted by: Shane.

Author
Posts
#915793
web-kulinarika-slider.jpg

Hello,

I created a slider with your documentation and it shows up just fine. The problem is that when I click the arrow next or previous it refreshes the whole site.

I expect that it only make the slide.

I checked the setting multipletimes and can't find the couse.

You have to change your host file
193.9.21.222 web-kulinarika.si hidden link

The slider is at the bottom of the homepage.

Kind regards,

#915944

Shane
Supporter

Languages: English (English )

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

Hi Jernej,

Did you enable ajax for the pagination?

Could you send me a screenshot of your views settings for the pagination ?

Thanks,
Shane

#916145
slider-settings-2.jpg
slider-settings-1.jpg

Yes, its set to ajax.

I can give you access to the dashboard?

Kind regards,

#916239

Shane
Supporter

Languages: English (English )

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

Hi Jernej,

Yes please provide me with access.

Thanks,
Shane

#916341

Shane
Supporter

Languages: English (English )

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

Hi Jernej,

This is strange. I would like to ensure that this isn't a plugin conflict and as such I would like for you to temporarily disable all the non-toolset plugins and try again.

Thanks,
Shane

#916574

When only toolset plugins are activated it still does not work.

There are not a lot of plugins and now back activated it's only the yoast plugin. You can deactivate it if you want to try.

I can't see any errors in the console either.

Thanks,

#916786

Shane
Supporter

Languages: English (English )

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

Hi Jernej,

I would like a local copy of this site for further testing.

Would you mind if I installed the duplicator plugin to create a copy ?

Thanks,
Shane

#917288

Yes, please do. If you need any further info, let us know.

#917295

Also, please check this issue - visibility hidden - on some views it happens.
This problem is also, on the slider which is the main issue - but we hardcoded - visibility: visible.

Code example - included in single post in sidebar:

example: hidden link

<div id="wpv-view-layout-1853" class="js-wpv-view-layout js-wpv-layout-responsive js-wpv-view-layout-1853 wpv-pagination js-wpv-layout-has-pagination wpv-pagination-preload-images js-wpv-layout-preload-images wpv-pagination-preload-pages js-wpv-layout-preload-pages" style="visibility:hidden;" data-viewnumber="1853" data-pagination="{"id":"1853","base_permalink":"/recept/kokosovo-pecivo-s-kislo-smetano/?wpv_view_count=1853&wpv_paged=WPV_PAGE_NUM","query":"normal","type":"rollover","effect":"fade","duration":500,"speed":5,"pause_on_hover":"disabled","stop_rollover":"true","cache_pages":"enabled","preload_images":"enabled","preload_pages":"enabled","preload_reach":1,"spinner":"builtin","spinner_image":"hidden link","callback_next":"","manage_history":"enabled","has_controls_in_form":"disabled","infinite_tolerance":0,"max_pages":7,"page":1,"loop":{"type":"","name":"","data":[],"id":0}}" data-permalink="/recept/kokosovo-pecivo-s-kislo-smetano/?wpv_view_count=1853">

#917539

Shane
Supporter

Languages: English (English )

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

Hi Jernej,

There is more to this It seems to be .

Switching the theme the AJAX starts working normally. Could you contact the enfold team to have them look at this. Maybe there is a setting that is there that is causing this to happen.

Thanks,
Shane

#917551

Hi Shane,

so, you switched the theme and the pagination was working as AJAX expected and the style (style="visibility:hidden;") was removed?

#917552

Shane
Supporter

Languages: English (English )

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

Hi Jernej,

Yes All i did on the copy i have locally is to download the astra wordpress theme and then switch to it.

Finally I added the view to a post and previewed that post on the frontend and it scrolled using AJAX

#917821

Hi Shane,

indeed - the problem is with the latest Enfold update (04.06.2018)
We tested Toolset slider with the older versions and it works ok.

Thanks