wordpress / php help
wordpress / php help
Out of context: Reply #24
- Started
- Last post
- 30 Responses
- dbloc0
figured it out.
you have to define the variable in the header file:
<?php global $currentSec; ?>and then in the template page set
$currentSec = "events";