/** * Register widget with WordPress * * @since 0.9 */ function __construct() { parent::__construct('ctfw-categories', _x('CT Categories', 'widget', 'church-theme-framework'), array('description' => __('Shows categories of various types', 'church-theme-framework'))); // Redirect Dropdown URL add_action('template_redirect', array(&$this, 'ctfw_redirect_taxonomy')); // used with Categories widget dropdown redirects }
/** * Register widget with WordPress * * @since 0.9 */ function __construct() { parent::__construct('ctfw-giving', _x('CT Giving', 'widget', 'church-theme-framework'), array('description' => __('Shows a message and button', 'church-theme-framework'))); }
/** * Register widget with WordPress * * @since 0.9 * @return array Fields for widget */ function __construct() { parent::__construct('ctfw-slide', _x('CT Slide', 'widget', 'church-theme-framework'), array('description' => __('A slide to be shown in a slider', 'church-theme-framework'))); }
/** * Register widget with WordPress * * @since 0.9 */ function __construct() { parent::__construct('ctfw-gallery', _x('CT Gallery', 'gallery widget', 'church-theme-framework'), array('description' => __('Shows gallery thumbnails', 'church-theme-framework'))); }
/** * Register widget with WordPress * * @since 0.9 */ function __construct() { parent::__construct('ctc-locations', _x('Locations', 'widget', 'church-theme-framework'), array('description' => __('Shows church location(s)', 'church-theme-framework'))); }
/** * Register widget with WordPress * * @since 0.9 */ function __construct() { parent::__construct('ctc-archives', _x('Archives', 'widget', 'church-theme-framework'), array('description' => __('Monthly archive for chosen post type', 'church-theme-framework'))); }
/** * Register widget with WordPress * * @since 0.9 */ function __construct() { parent::__construct('ctfw-events', _x('CT Events', 'events widget', 'church-theme-framework'), array('description' => _x('Shows upcoming or past events', 'events widget', 'church-theme-framework'))); }
/** * Register widget with WordPress * * @since 0.9 */ function __construct() { parent::__construct('ctc-highlight', _x('Highlight', 'widget', 'church-theme-framework'), array('description' => __('Shows a highlight', 'church-theme-framework'))); }
/** * Register widget with WordPress * * @since 0.9 */ function __construct() { parent::__construct('ctc-posts', _x('Posts', 'widget', 'church-theme-framework'), array('description' => __('Shows blog posts according to options', 'church-theme-framework'))); }
/** * Register widget with WordPress * * @since 0.9 */ function __construct() { parent::__construct('ctfw-sermons', _x('CT Sermons', 'widget', 'church-theme-framework'), array('description' => __('Shows sermons according to options', 'church-theme-framework'))); }
/** * Register widget with WordPress * * @since 0.9 */ function __construct() { parent::__construct('ctfw-galleries', _x('CT Galleries', 'widget', 'church-theme-framework'), array('description' => __('Shows list of gallery pages', 'church-theme-framework'))); }
/** * Register widget with WordPress * * @since 0.9 */ function __construct() { parent::__construct('ctfw-section', _x('CT Section', 'widget', 'church-theme-framework'), array('description' => __('Shows a section', 'church-theme-framework'))); }