Including loop in ajax pages
hi guys, here is a question, not strictly BP related.
I want to integrate ajax tabs in my theme layout. And so when i press the various tabs, i want to recall pages that contain loops: for example a loop for the category “music” posts, one for the “movie” posts etc..
if i include my loop pages without ajax, they work fine.
if i recall them using ajax i have the Call to undefined function query_posts() errors
I think including the wp blog header it should fix this, but i’m trying without success. Can you tell me if this could be the problem, and the right sintax?
i’ve tried setting this at the first line of the page: include(‘wp_blog_header.php’);
You must be logged in to reply to this topic.