You appear to be a bot. Output may be restricted
Description
Constructor. Set the default widget options and create widget.
Usage
Genesis_Featured_Post::__construct();
Parameters
Returns
void
Source
File name: genesis/lib/widgets/featured-post-widget.php
Lines:
1 to 43 of 43
public function __construct() { $this->defaults = [ 'title' => '', 'posts_cat' => '', 'posts_num' => '', 'posts_offset' => 0, 'orderby' => '', 'order' => '', 'exclude_displayed' => 0, 'exclude_sticky' => 0, 'show_image' => 0, 'image_alignment' => '', 'image_size' => '', 'show_gravatar' => 0, 'gravatar_alignment' => '', 'gravatar_size' => '', 'show_title' => 0, 'show_byline' => 0, 'post_info' => '[post_date] ' . __( 'By', 'genesis' ) . ' [post_author_posts_link] [post_comments]', 'show_content' => 'excerpt', 'content_limit' => '', 'more_text' => __( '[Read More...]', 'genesis' ), 'extra_num' => '', 'extra_title' => '', 'more_from_category' => '', 'more_from_category_text' => __( 'More Posts from this Category', 'genesis' ), ]; $widget_ops = [ 'classname' => 'featured-content featuredpost', 'description' => __( 'Displays featured posts with thumbnails', 'genesis' ), ]; $control_ops = [ 'id_base' => 'featured-post', 'width' => 505, 'height' => 350, ]; parent::__construct( 'featured-post', __( 'Genesis - Featured Posts', 'genesis' ), $widget_ops, $control_ops ); }