I have a small question for you. How can I dinamicaly get a plugin file path? I want to make an ajax call from a page to a file wich is in my plugins directory, and I don't want to use wp-content/ . . . . etc Is there a way to do that? So it can work on every site. Thank you
admin-ajax.php, and they publish the documented way to do that in the codex. codex.wordpress.org/AJAX_in_Plugins If you do not follow this advice, you will likely have problems on non-standard installations of Wordpress.