AJAX & Template Tags
-
This is my first dabble into AJAX so bear with me.
I have in my template file a link with an onClick to a javascript funtion. The javascript function will, using AJAX, call an external php file to retrieve some data from a database and that php file will subsequently call a template tag to display the new data onto the template page.
The problem is, is that the external php page has no access to buddypress/wordpress functions (or my template tags). It returns an error saying function soandso not found.
Is there a wp_head() or something I need to call in the external php file to be able to access my template tag functions?
- The topic ‘AJAX & Template Tags’ is closed to new replies.