JQuery load php – php file without the template
why don’t you use WordPress ajax hooks. It is really simple. first call the function from javascript or jQuery use the key as ‘action’ and value as ‘function hook name’ jQuery(document).ready(function($) { var data = { action: ‘my_action’, // here is the function name whatever: 1234 // if there are the data you want to … Read more