array( 'name' => esc_html__( 'Simple List', 'powerkit' ), 'func' => 'powerkit_featured_posts_default_template', ), 'numbered' => array( 'name' => esc_html__( 'Numbered List', 'powerkit' ), 'func' => 'powerkit_featured_posts_default_template', ), 'large' => array( 'name' => esc_html__( 'Large Thumbnails', 'powerkit' ), 'func' => 'powerkit_featured_posts_default_template', ), ); return $templates; } /** * Register the stylesheets for the public-facing side of the site. */ public function wp_enqueue_scripts() { wp_enqueue_style( 'powerkit-widget-posts', powerkit_style( plugin_dir_url( __FILE__ ) . 'css/public-powerkit-widget-posts.css' ), array(), powerkit_get_setting( 'version' ), 'all' ); // Add RTL support. wp_style_add_data( 'powerkit-widget-posts', 'rtl', 'replace' ); } }