Hello,
I'm working on a custom wordpress theme with a little bit of backend admin system.
Why I need to declare
global $options;
foreach ($options as $value) {
if (get_settings( $value['id'] ) === FALSE) { $$value['id'] = $value['std']; } else { $$value['id'] = get_settings( $value['id'] ); }
}
multiple times in header and footer? Because my index.php file includes header.php and footer.php. Why can't I declare one time at the header.
thanks :)