I'd like to call a 2.8 widget (extended WP_Widget class) directly from a template and / or plugin.
The template i am trying to get a widget working doesn't have a sidebar, so I tried to initiate the widget class and call a specific widget like this:
$sb = new WP_Widget();
but it gives me some errors..
Warning: Missing argument 2 for WP_Widget::__construct(), called in (......)
and a Fatal error: Call to undefined method WP_widget::demowidget(....)
The widget i am trying to call is working fine with my standard sidebar. I am sure it is not the widget itself..
Do i need to load/include some other files? I didnt follow the widget development, so i dont really know wtf.
Basically what i wanna do is: I want to call one (or more) specific widget(s) within a custom post/page template and not the whole sidebar which is defined on your widget admin page..