Ajax and wordpress
Ajax and wordpress
Out of context: Reply #15
- Started
- Last post
- 16 Responses
- acescence0
is index2.php the file that contains the above code? or are you calling this file via ajax from index2.php? the path to wp-load should be relative to the file that contains the above code, not the file you're making your ajax call from. you can then test that page by loading that php file directly rather than calling it via ajax.