$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

9 Responses to “my first wordpress plugin Simple Weather Plugin”

  1. kewlburn Says:

    Salamat nga pala sa Yahoo Weather para sa info

    xmlParser by monte

  2. jsonv Says:

    walang anuman…

    –Yahoo Weather

  3. jsonv Says:

    san ilalagay yung code na ?

    woi bat wlang configuration under options menu yung weather plugin? san makikita yung config nun?

    http://blog.jsonvega.net

    hhehehe

  4. jsonv Says:

    hmmmm… compatible ba xa sa widget ready themes?
    xe yun ang uso ngayon eh! yung mga template ng widget ready…testing mo gumamit ng template na widget ready..magkakaron xa ng bagong option sa Presentatioan menu mo e.g. presentation >> sidebar widget

    pagnasa sidebar widget ka na kung widget compatible yung plugin lalabas xa dun as dragable item na pedeng idrag sa sidebar at kung sang pwesto mo gusto! diba diba mas maganda yun? heehhehhehhe

  5. kewlburn Says:

    pedeng penge ako ng sample ng sinasabi mo? kelangan kase compatible sa lahat eh diba?

  6. kewlburn Says:

    pare ilagay mo sa template mo yung code… :)

    san ilalagay yung code na ?woi bat wlang configuration under options menu yung weather plugin? san makikita yung config nun? http://blog.jsonvega.net

    hhehehe

  7. jsonv Says:

    ano update?

  8. poell Says:

    salamat sa plugin :D

    btw, moved un Philweavers eb… its on the 29th na

  9. kewlburn Says:

    thanks poell. kala ko nakalimutan mo na ako eh :D
    baket namove?

    jason nasa version 0.1 na tayo gawa na lang tayo ng images or icons

Leave a Reply