trigatch4
02-14-2008, 04:22 PM
Script: Ajaxtabs
http://www.dynamicdrive.com/dynamicindex17/ajaxtabscontent/
I'm using Ajaxtabs within wordpress. I am am pointing to external PHP documents that make calls the wordpress loop to display 1 post from a specific category. Unfortunately, I get a PHP error in that tab:
Fatal error: Call to undefined function query_posts() in /myroot/domain/blah/ajaxtabs/feature-outdoors.php on line 3
Here are the first 3 lines of that script:
<?php
// this is where the Lead Story module begins
query_posts('showposts=1&cat=5'); ?>
Any help is appreciated... will provide specific URL via PM if it would help...
http://www.dynamicdrive.com/dynamicindex17/ajaxtabscontent/
I'm using Ajaxtabs within wordpress. I am am pointing to external PHP documents that make calls the wordpress loop to display 1 post from a specific category. Unfortunately, I get a PHP error in that tab:
Fatal error: Call to undefined function query_posts() in /myroot/domain/blah/ajaxtabs/feature-outdoors.php on line 3
Here are the first 3 lines of that script:
<?php
// this is where the Lead Story module begins
query_posts('showposts=1&cat=5'); ?>
Any help is appreciated... will provide specific URL via PM if it would help...