Why use admin-ajax.php when loading pages through AJAX?
You are mixing things up a bit here. What you are currently doing is adding an optional layer on top of your website. For users with JavaScript you make the page load look different, as you use custom events/effects, instead of relying on the browser. admin-ajax.php is relevant, when you want to access specific methods … Read more