$this->Twitter->status('tambay ulet sa beanstalkapp.com');
Dec 17

Download Link

ito ang una kong plugin na nagawa ko. copy nyo lang sa plugin directory then activate nyo sa wordpress admin panel then lagay nyo lang itong code na ito.

<?php weatherforecast(); ?>

pero ilagay nyo ito para mas safe or walang error kapag na deactivate nyo na ang plugin.

<?php if (function_exists('weatherforecast')) { weatherforecast(); } ?>

parameters ng plugin e.g. weatherforecast(“RPXX0006“, “c”);

  1. localcode ( string ) : localcode or US zipcode ( default : “RPXX0006” )
  2. unit ( string ) : unit ng weather depende sa inyo C or F ( default : “c” )
  3. title

Note For Widgets Template : Activate nyo sa plugins nyo then go to Presentation then Widgets then ayun na dun nyo siya maseset title, localcode, unit.

Salamat nga pala kay jason vega para sa ideas nya about Widgets. :)

Blogged with Flock