Plugin Directory

Changeset 489725


Ignore:
Timestamp:
01/14/2012 04:53:17 AM (14 years ago)
Author:
adnanyasir
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • wordpress-weather-widget/trunk/index.php

    r487653 r489725  
    22/**
    33 * Plugin Name: Weather widget for wordpress
    4  * Plugin URI: http://show.yasiradnan.com
     4 * Plugin URI: http://yasiradnan.com
    55 * Description: A widget adds weather forecast to your wordpress sidebar
    66 * Version: 1.0
    77 * Author: Yasir Adnan
    88 * Author URI: http://yasiradnan.com
    9  *License: GPLv2 or later
    10 */
    11 
    12 /*
    13 This program is free software; you can redistribute it and/or
    14 modify it under the terms of the GNU General Public License
    15 as published by the Free Software Foundation; either version 2
    16 of the License, or (at your option) any later version.
    17 
    18 This program is distributed in the hope that it will be useful,
    19 but WITHOUT ANY WARRANTY; without even the implied warranty of
    20 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    21 GNU General Public License for more details.
    22 
    23 You should have received a copy of the GNU General Public License
    24 along with this program; if not, write to the Free Software
    25 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
    26 */
    27  /**
     9 */
     10/**
    2811 * Add function to widgets_init that'll load our widget.
    2912 */
     
    4124
    4225    function add_my_stylesheet() {
    43         $myStyleUrl = plugins_url('style.css', __FILE__); // Respects SSL, Style.css is relative to the current file
    44         $myStyleFile = WP_PLUGIN_DIR . '/weather/style.css';
     26        $myStyleUrl = plugins_url('weatherstyle.css', __FILE__); // Respects SSL, Style.css is relative to the current file
     27        $myStyleFile = WP_PLUGIN_DIR . '/wordpress-weather-widget/weatherstyle.css';
    4528        if ( file_exists($myStyleFile) ) {
    4629            wp_register_style('myStyleSheets', $myStyleUrl);
     
    9376    /**
    9477     *Weather API
    95      *To use this as a PHP script for your another website copy below codes here to </html> tag
    9678     */
    9779
     
    137119    </body>
    138120</html>
     121
    139122<?  echo '</ul>';
    140123        /* After widget (defined by themes). */
Note: See TracChangeset for help on using the changeset viewer.