Having the loader on every single page feels a bit weird in the navigation flow. But we still like for the initial site load. Is there any way to have it only on the initial load and not after further ajax calls ? We've tried disabling ajax calls in general settings with no success; it removed the preloader entierly.
Thanks I was able to login. Maybe there is a misunderstanding. Let me explain better.
if you have ajax enabled the the first time ANY page from the site loads in the browser will display the preloader. After that, once you are in, the preloader is not displayed anymore because you are navigating through pages via AJAX.
What I think you actually want is that the preloader shows only in the homepage? So if I load directly the contact page in the browser https://y-ours.fr/contact/ it should not display anything in terms of preloading, correct?
I understand the behavior better, but not fully yet.
If I land on home then go to contact i see no preloader. But if I land on home then go to services (via the header), then I get the loader again. I don't understand why, as both links are setup using WP menus but one seem to not be loaded via ajax.
So I think the default behavior is the one I actually need; I was just misunderstanding that behavior because I always tested with that services link. Any idea why that link would behave like this ?
Ok I see what you are saying and the reason is top level menu items (with subitems) custom menu links don't have the links loading with with ajax. Would you like to change that? I see that you disabled the preloader entirely, would you like to keep it like that?
If you can change the behaviour for such links, that would be really nice indeed.
Also, is the following related; with links like "Derriè la girffe" on the "Accueil" page (cf screen), the links don't work via ajax either.
So as of now, we removed it until we sort it out as it's a bit disruptive. You can activate it again if you wanna try make it work. Ideally, any links on the site would be loaded with ajax unless explicitly started with http://. But the menu and the nanotech button link are the most important to us right now.
So I modified the following file /include/hooks-config.php and I enabled the preloader to illustrate how it works. Plz hard refresh your cache before testing.
Having the loader on every single page feels a bit weird in the navigation flow. But we still like for the initial site load. Is there any way to have it only on the initial load and not after further ajax calls ?
We've tried disabling ajax calls in general settings with no success; it removed the preloader entierly.
Or maybe just on the home page.
Hello Valentin, have you enabled customizer -> general settings -> Ajax page transitions?
Thank you.
Clapat Support
Review Envato Item Support Policy
Follow us!
https://www.clapat.com/
https://www.facebook.com/clapat.ro
https://www.instagram.com/clapat.themes/
https://x.com/clapatdesign
https://www.linkedin.com/company/clapatstudio
https://www.tiktok.com/@clapatstudio
Hello,
Yes, I have tried with that setting on and off.
When on, the loader is on every page. If off, it is never shown.
Can you provide wp admin access (in a private comment)?
Thank you.
Clapat Support
Review Envato Item Support Policy
Follow us!
https://www.clapat.com/
https://www.facebook.com/clapat.ro
https://www.instagram.com/clapat.themes/
https://x.com/clapatdesign
https://www.linkedin.com/company/clapatstudio
https://www.tiktok.com/@clapatstudio
Hello Valentin,
Thanks I was able to login. Maybe there is a misunderstanding. Let me explain better.
if you have ajax enabled the the first time ANY page from the site loads in the browser will display the preloader. After that, once you are in, the preloader is not displayed anymore because you are navigating through pages via AJAX.
What I think you actually want is that the preloader shows only in the homepage? So if I load directly the contact page in the browser https://y-ours.fr/contact/ it should not display anything in terms of preloading, correct?
Thank you.
Clapat Support
Review Envato Item Support Policy
Follow us!
https://www.clapat.com/
https://www.facebook.com/clapat.ro
https://www.instagram.com/clapat.themes/
https://x.com/clapatdesign
https://www.linkedin.com/company/clapatstudio
https://www.tiktok.com/@clapatstudio
Thanks for taking a look.
I understand the behavior better, but not fully yet.
If I land on home then go to contact i see no preloader. But if I land on home then go to services (via the header), then I get the loader again. I don't understand why, as both links are setup using WP menus but one seem to not be loaded via ajax.
So I think the default behavior is the one I actually need; I was just misunderstanding that behavior because I always tested with that services link.
Any idea why that link would behave like this ?
Hello Valentin,
Ok I see what you are saying and the reason is top level menu items (with subitems) custom menu links don't have the links loading with with ajax. Would you like to change that? I see that you disabled the preloader entirely, would you like to keep it like that?
Thank you.
Clapat Support
Review Envato Item Support Policy
Follow us!
https://www.clapat.com/
https://www.facebook.com/clapat.ro
https://www.instagram.com/clapat.themes/
https://x.com/clapatdesign
https://www.linkedin.com/company/clapatstudio
https://www.tiktok.com/@clapatstudio
Also, is the following related; with links like "Derriè la girffe" on the "Accueil" page (cf screen), the links don't work via ajax either.
So as of now, we removed it until we sort it out as it's a bit disruptive. You can activate it again if you wanna try make it work. Ideally, any links on the site would be loaded with ajax unless explicitly started with http://. But the menu and the nanotech button link are the most important to us right now.
Thanks again for your time
Hello Valentin,
So I modified the following file /include/hooks-config.php and I enabled the preloader to illustrate how it works. Plz hard refresh your cache before testing.
Thank you.
Clapat Support
Review Envato Item Support Policy
Follow us!
https://www.clapat.com/
https://www.facebook.com/clapat.ro
https://www.instagram.com/clapat.themes/
https://x.com/clapatdesign
https://www.linkedin.com/company/clapatstudio
https://www.tiktok.com/@clapatstudio
That looks exactly as it should to us. Thanks a lot !
You can close this ;)