Quote:
Originally Posted by Lynne
You don't put php code in templates. So, you would have to copy the code that creates $notifications_total into a plugin, or into the actual page (if you can't find a good hook location) to a spot that is prior to the header template being evaled. I believe the $notifications_total is defined in global.php, so you can copy the code from there.
|
I've copied the code (not sure if I an post it here) and made ther hook global_start and it still isn't working. What am I doing wrong?