Title: need help for theme widget
Last modified: August 21, 2016

---

# need help for theme widget

 *  [Rahul Kashyap](https://wordpress.org/support/users/rahul0010/)
 * (@rahul0010)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/need-help-for-theme-widget/)
 * Hello WordPress theme developers. I have to need help for create subscriber widget
 * How can I do that please help me I am no expert in WordPress coding so I am confused.
   Here is my code it is not complete coding
 *     ```
       class my_subscribe_widget extends WP_Widget {
   
       	function my_subscribe_widget() {
       	$widget_ops = array('classname' => 'widget_subscribe', 'description' => 'Add an RSS link' );
               $this->WP_Widget('my_subscribe_widget', 'RSS subscriber', $widget_ops);
       	}
   
       	function widget($args, $instance) {
       		echo 'test';
       	}
   
       	function update($new_instance, $old_instance) {
       		echo 'test';
       	}
   
       	function form($instance) {
       		echo 'test';
       	}
       }
   
       register_widget('my_subscribe_widget');
       ```
   

Viewing 1 replies (of 1 total)

 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/need-help-for-theme-widget/#post-4361334)
 * [http://justintadlock.com/archives/2009/05/26/the-complete-guide-to-creating-widgets-in-wordpress-28](http://justintadlock.com/archives/2009/05/26/the-complete-guide-to-creating-widgets-in-wordpress-28)

Viewing 1 replies (of 1 total)

The topic ‘need help for theme widget’ is closed to new replies.

## Tags

 * [widget](https://wordpress.org/support/topic-tag/widget/)

 * In: [Hacks](https://wordpress.org/support/forum/plugins-and-hacks/hacks/)
 * 1 reply
 * 2 participants
 * Last reply from: [esmi](https://wordpress.org/support/users/esmi/)
 * Last activity: [12 years, 6 months ago](https://wordpress.org/support/topic/need-help-for-theme-widget/#post-4361334)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
