Как изменить виджеты?
-
Есть такой код виджета:
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(); }
Выгледит оно так: http://rghost.ru/6CHQwJYR8/image.png
Нужно сделать что то типо такого: http://rghost.ru/8q8wl8KTG/image.png
Помогите плиз..(
Просмотр 2 ответов — с 1 по 2 (всего 2)
Просмотр 2 ответов — с 1 по 2 (всего 2)
- Тема «Как изменить виджеты?» закрыта для новых ответов.