Need help creating an options page for a plugin
-
So I’ve been working on WeatherIcon a lot lately with one of the plugin’s original makers and my latest project for it is updating it to WP 1.5 standards.
It had been before doing an
add_options_page
on itself and then aif (is_plugin()) {
or whatever it is to display the configuration page.Since that is depreciated, I’m trying to switch it to using a function to display the options page and I cannot figure out for the life of me what I’m doing wrong.
Here’s what I have currently: https://test.viper007bond.com/WeatherIcon.phps
And the error I’m getting:
Fatal error: Cannot redeclare weather_options_page() (previously declared in c:phpdevprivateprojectsnewblogwordpresswp-contentpluginsWeatherIconWeatherIcon.php:169) in c:phpdevprivateprojectsnewblogwordpresswp-contentpluginsWeatherIconWeatherIcon.php on line 168
Ideas?
- The topic ‘Need help creating an options page for a plugin’ is closed to new replies.