This plugin hasn’t been tested with the latest 3 major releases of WordPress. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

AJAX Manufactory


Whenever you plan to begin developing applications on WordPress using AJAX technology, you have to solve a number of
minor issues unrelated to the logic of your application:

  • How to package and transmit data from the browser to the server, so they will not have been distorted?
  • How to transfer data, if they are multi-dimensional array?
  • How to implement a custom processing of AJAX response in case, again, it represents a complex set of data (a typical
    example – form sending and on-server validation)?
  • How to handle data transition errors?
  • How to debug all this stuff?

Usually these issues generates a lot of spaghetti code, moreover, each new request type requires some customization of
code. Managing all of this, you forget about the function that you would like to implement.

AJAX Manufactory plugin for WordPress have most of these tasks already solved. You can think about functionality and
business logic instead.

What you can have from the box:

  • A simple function at the client side which allows to send any your complex data from javascript to WordPress server
  • An AJAX response wrapper at the server side which gives to you sent data as PHP array and allows you to create
    an AJAX response as a set of simple “commands” like “make an alert”, “set up javascript variable”, “put html text to
    specific html node(s)”, “execute a javascript function”, “go to specific URL” etc.
  • Automatic execution of “commands” queue at the client side. Additionally you can specify your own callback.


Please refer Documentation.


  1. Unpack and upload ajax-manufactory folder with all files to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress


Where can I put some notices, comments or bugreports?

Do not hesistate to write to us at Contact Us page.


پروری 10, 2017
I found this plugin to be very exasperating, because the only documentation it has is how to install it. There is NOTHING on how to actually use it. One BIG thumb down.
ستمبر 3, 2016
Very elegant solution. Working with a lot of ajax was pretty boring, but now it’s not. Thank you!
ستمبر 3, 2016
I found this plugin when I was trying to develop ajax content update with built in wordpress tools. Mostly syntax is pretty straightforward and self explanatory. Tricky part is when you need to pass variables back to page. Luckily plugin developer appeared very nice person and pointed me how to use plugin nice and easy. Now here’s the trick: Say, we want send two variables to php side, process that data and show alert only for birds. Note: you can change “myaction” to whatever you like. On html side we embed javaScript: jxAction('myaction', {'variable_name': 'apples','another_variable': 'penguins'}, function(v){ alert(v['birds']); }); On php side in functions.php we add action hook: add_action('jx_myaction', function($jx){ $data = $jx->data; //this is array with our variables $bird = 'penguins'; foreach ( $data as current_var ) { // here we write desired values to array that will be returned. if ( $current_var == $bird ) $jx->variable('birds', $fname); } }); That’s pretty much it. p.s. IMPORTANT! In case of error on php side, you might get “Wrong jx JSON response (not JSON)” message. Then you should check webserver logs for errors. My recommendations, five stars.
ستمبر 3, 2016
Putting “interface part” out of your mind, you can always concentrate on the logic itself. It is increasing programming productivity and lower human errors.
Read all 5 reviews

Contributors & Developers

“AJAX Manufactory” is open source software. The following people have contributed to this plugin.


Translate “AJAX Manufactory” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.



  • Changed name back (it was prohibited)


  • Changed name
  • Lots of fixes planned


  • Fixed logos


  • Fixed a bug with ‘data’ parameter of jxAction() function (it become optional)


  • Added new method variables() to set bunch of variables simultaneously
  • Added new method trigger() to trigger jQuery event on the client side (with parameters)


  • Added named global triggers to track AJAX activity: jx_start_, jx_success_, jx_finish_, jx_error_


  • Fix for WP 4.8.1 compatibility


  • Added global triggers (at document level) to track AJAX activity: jx_start, jx_finish, jx_success, jx_error

  • Fixed data collection from forms by jxFormData() method. Especially for checkbox lists and radio lists.

  • New method call() was added. Read doc for details.

  • Added new flag “has_priv” in JX class

  • Fixed version number in core file

  • Now working at admin side too

  • Some security bugs was fixed.


  • console() method added
  • redirect() method has been fixed
  • javascript module completely redone.


  • Full Documentation has been added
  • variable() method added


  • First WordPress version


  • html(), redirect(), reload() methods were added.


  • Initial edition. Only conception is implemented with alert() method on-board.