i want to show categories list in header as well. before that they are being shown in left panel of wordpress theame im using.
can this function be called twice in same file?
errors are asking to include following files that im adding as well.
============
<?php include_once("wp-config.php"); ?>
<?php include("wp-includes/wp-db.php"); ?>
<?php include("wp-includes/category-template.php"); ?>
<?php include("wp-includes/plugin.php"); ?>
<?php include("wp-includes/formatting.php"); ?>
<?php include("wp-app.php"); ?>
<?php include("wp-includes/functions.php"); ?>
<?php include("wp-includes/deprecated.php"); ?>
========
even after that an error comes unable to set connection with database.
------------------
being my first wordpress project im totally new to it. anyone help for right direction how to solve this out?