WordPress.org

Ready to get started?Download WordPress

Forums

[Plugin: myWeather] Widget Title? (3 posts)

  1. snarkwifev2
    Member
    Posted 6 years ago #

    I downloaded, installed and configured this widget...but there doesn't appear to be a widget title. How can I add one in? The forecasts look strange in my sidebar all by their lonesome.

    Thanks.

    http://wordpress.org/extend/plugins/myweather/

  2. exploditie
    Member
    Posted 5 years ago #

    I got the same problem, know's anybody how to solve this and get a title in it?

    Thanks

  3. Cocheeze
    Member
    Posted 5 years ago #

    You can hard code the title. Getting an option to change the title in the admin interface is a bit more work.
    Open myweather.php in any editor and scroll to the very bottom where the widget code is. Copy this

    function widget_myweather($args){
    extract($args);
    echo $before_widget . $before_title;
    ?>The Weather<?
    echo $after_title;
    wp_myweather();
    echo $after_widget;
    }

    The Weather can be whatever title you want.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags