Post will not load via ajax
All ajax requests should be routed through the handy /wp-admin/admin-ajax.php file. It works with the great WP hooks system. So you send an “action” with your request and use that as part of the action into which you hook your function. So, let’s say your ajax call looks like this (with jQuery) jQuery(‘a.ajax’).click(function(e){ data = … Read more