How to change widgets?
-
Hello all
I need to help (((
I hive widgetThis is widget code:
class Noo_Job_Category_Widget extends Noo_Wiget { public function __construct() { $this->widget_cssclass = 'noo-job-category-widget'; $this->widget_description = __( "Display Noo Job Categories.", 'noo' ); $this->widget_id = 'noo_job_category_widget'; $this->widget_name = __( 'Noo Job Categories', 'noo' ); $this->cached = true; $this->settings = array( 'title' => array( 'type' => 'text', 'std' => '', 'label' => __( 'Title', 'noo' ) ), 'count' => array( 'type' => 'checkbox', 'std' => 0, 'label' => __( 'Show Job Counts', 'noo' ) ), 'include_empty' => array( 'type' => 'checkbox', 'std' => 0, 'label' => __( 'Include Empty Categories', 'noo' ) ), 'hierarchical' => array( 'type' => 'checkbox', 'std' => 0, 'label' => __( 'Show Hierarchy', 'noo' ) ), ); parent::__construct(); }
It looks so: http://rghost.ru/6CHQwJYR8/image.png
And to do like this: http://rghost.ru/8q8wl8KTG/image.png
Please help(((
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
- The topic ‘How to change widgets?’ is closed to new replies.