Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class FeaturedStory_Widget extends WP_Widget {
- function FeaturedStory_Widget() {
- $widget_ops = array( 'classname' => 'featured-story', 'description' => 'Feature A Story in a Widget. Includes Site Name above the story.' );
- $control_ops = array('width' => 400, 'height' => 300);
- $this->WP_Widget( 'featured-story', 'Featured Story', $widget_ops, $control_ops );
- }
Add Comment
Please, Sign In to add comment