run silex or slim with wordpress
There’s little that you can do with the Silex server that can’t be done through WordPress but it takes a bit of effort to get WP to respond to AJAX calls. The first step is to make the call available through AJAX. This requires adding a line to your functions.php file similar to add_action(‘wp_ajax_my_ajax_call’, ‘onno_update_my_ajax_call’); … Read more