Plugin Directory

Changeset 1150716


Ignore:
Timestamp:
05/01/2015 02:53:48 AM (11 years ago)
Author:
twodayslate
Message:

icon support

File:
1 edited

Legend:

Unmodified
Added
Removed
  • recent-categories/trunk/widget.php

    r1150691 r1150716  
    160160            <label for="<?php echo $this->get_field_id( 'display_date' ); ?>"><?php _e( 'Display category date?' ); ?></label>
    161161        </p>
     162        <?php if (function_exists('the_icon')) { ?>
    162163        <p>
    163164            <input id="<?php echo $this->get_field_id( 'display_icon' ); ?>" name="<?php echo $this->get_field_name( 'display_icon' ); ?>" type="checkbox" <?php checked($instance['display_icon'], 'on'); ?> />
    164165            <label for="<?php echo $this->get_field_id( 'display_icon' ); ?>"><?php _e( 'Display category icon?' ); ?></label>
    165166        </p>
     167        <?php } ?>
    166168
    167169        <?php
Note: See TracChangeset for help on using the changeset viewer.