WordPress.org

Ready to get started?Download WordPress

Forums

World Clock Widget
Change title (2 posts)

  1. PahaW
    Member
    Posted 3 years ago #

    Hi
    How change title for this widget?

    Line 109: echo $before_title.'World Clock'.$after_title;

    may be written:

    function printInputTitleClock($fieldName) {
    ?>
    <p>
    <label for="<?php echo $fieldName; ?>">Title (for widget display):</label>
    <input name="<?php echo $fieldName; ?>" class="<?php echo $fieldName; ?>" type="text" />
    </p>
    <?php
    }

    echo '<fieldset style="border:1px solid #DDD;margin:3px;padding:5px;"><legend style="font-weight:bold;font-size:12px;">Title Clock</legend>';
    $this->printInputTitleClock('title_clock');
    echo '</fieldset>';

    Then I start getting confused in your code!!?

    http://wordpress.org/extend/plugins/world-clock-widget/

  2. PahaW
    Member
    Posted 3 years ago #

    I added the ability to change the title and div = "wordclock"
    Please update your plugin!
    Corrected file:
    http://zalil.ru/30644437

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic