Forums / General Questions / Move category description to header

Move category description to header

Locked

Views: 799

Results 1 to 1 of 1
This thread is locked. New replies are disabled.
16 Mar 2009, 4:54 PM
#1
alex_clarke avatar

alex_clarke

Totally Zenned

Join Date:
Mar 2006
Posts:
909
Plugin Contributions:
1

Move category description to header

I'm trying to move the category description text (for the current category) to the header of my site.

Copying the following code from tpl_index_categories.php doesn't seem to work.

<?php echo $current_categories_description; ?>

Now, this is probably not working because the SQL code has not yet run, which pulls the category description from the database, right?

I presume that this code is run after the header is generated.

The problem is, I'm not sure how (or even if) this code can be moved. :huh:

Does anyone know of a work around for this?

My Contributions: Zen Lightbox | Best Sellers Reloaded