I’ve managed to use the wp_register_style where it get some of it options from database by using
wp_register_style('phpbb', (get_option('phpbb_url') .'style.php?id=2&lang=en'));
and that works rather well.
However after looking at http://www.onedesigns.com/tutorials/how-to-create-a-wordpress-theme-options-page#nogo I went to use
wp_register_style('phpbb', $sa_settings['phpbb_url'] 'style.php?id=2&lang=en'));
and Adobe dreamweaver CS5 doesn’t like the code for some reason. Can someone please help me with this?
- The topic ‘wp_register_style codex question’ is closed to new replies.