Exemplo n.º 1
0
 function __construct()
 {
     $widget_ops = array('description' => __('Displays Featured image in place of title in any RSS or Atom feed.'));
     $control_ops = array('width' => 400, 'height' => 200);
     parent::__construct('genesis-club-feed', __('Genesis Club Feed'), $widget_ops, $control_ops);
 }
Exemplo n.º 2
0
function wpmp_theme_widget_rss($args, $widget_args = 1)
{
    ob_start();
    if (function_exists('wp_widget_rss')) {
        wp_widget_rss($args, $widget_args);
    } else {
        $widget = new WP_Widget_RSS();
        $widget->display_callback($args, $widget_args);
    }
    $html = ob_get_contents();
    ob_end_clean();
    print preg_replace("/\\<img.*\\>/Usi", "", $html);
}
Exemplo n.º 3
0
 function __construct()
 {
     $widget_ops = array('description' => __('Displays Featured image in place of title in any RSS or Atom feed.'));
     $control_ops = array('width' => 400, 'height' => 200);
     parent::__construct('footer-putter-feed', __('Footer Putter Feed'), $widget_ops, $control_ops);
 }