Hey – I’ve just been working with this plugin and come across the ‘reload’ situation.
location.reload();
If you place your code within the admin panel ‘reload’ section – it get’s placed here:
"[yoursite.com]/wp-content/plugins/advanced-ajax-page-loader/reload_code.js"
I’m making the assumption (without looking into the plugin code) that the anchors are triggered/binded with $(document).ready(function (){}
.
Try this:
$(window).on('load', function() {
//// Non Ajax loading pages
$('#home, #contact').click(function() {
location.reload();
});
});
My ‘main.js’ is rendered before the plugin loads. Not sure if that helps.