You should be able to do that manually by tweaking the relevant sections in WeatherIcon.php. Would be below the stuff that’s set up for the Options Page display…. look for function WeatherIcon ($station='KLFK') – should be around there.
I have no idea about php,
all I see is this scripts.
<div class=”wrap”>
<h2><?php _e(‘Usage Information’, ‘WeatherIcon’); ?></h2>
- <?php _e(‘Add a snippet like this wherever you want the weather to appear:’, ‘WeatherIcon’); ?>
<?php if (function_exists('WeatherIcon')) : ?><br/>
<li class="weather">San Francisco, U.S.A<br/>
<?php WeatherIcon('KSFO'); ?>
<br/>
<br/>
<?php endif; ?>
</div>
The section I told you to look for is in the WeatherIcon.php file which you would upload to your server. I’m pretty sure what you want to do would be handled in that section. I don’t know how to make it do that myself….
You might try posting on Jeremiah’s blog – he might be able to give you more help.
you can call the function and specify what you want before and after each name value pair.
it defaults to ‘li’ and ‘/li’ but you can choose anything you like.
just call the function like this:
WeatherIcon('KLFK','before','after')
change ‘before’ and ‘after’ to whatever you want.
in this case, I guess it would be:
WeatherIcon('KSFO','*','')
–Jeremiah
Thanks Jeremiah, everything is working fine. 🙂