Ok. I have it written in an external functions page that I named "atlas_functions.php" and call it through my external index page.
On my external index page, I do have this:
PHP Code:
$categories = get_categories(0);
if (!$categories)
{
$categories = $vbphrase['atlas_no_categories'];
}
unset($categories);
And in the index template I created for my external page, I use $categories in the template.
--------------- Added [DATE]1208793301[/DATE] at [TIME]1208793301[/TIME] ---------------
What's weird is that the counters thing I posted about in another thread DOES work when called from the same functions page.