Title: Widget Customize Description
Last modified: August 19, 2016

---

# Widget Customize Description

 *  Resolved [GeoffM1968](https://wordpress.org/support/users/geoffm1968/)
 * (@geoffm1968)
 * [16 years, 10 months ago](https://wordpress.org/support/topic/widget-customize-description/)
 * How do you code widget descriptions as found with default widgets using the function.
   php?
 *     ```
       <?php
       function widget_mytheme_pages() {
       ?>
       	Customozed Page Widget Code here
       <?php
       }
       if ( function_exists('register_sidebar_widget') )
       	register_sidebar_widget(__('Pages'), 'widget_mytheme_pages');
       ?>
       ```
   

Viewing 1 replies (of 1 total)

 *  Thread Starter [GeoffM1968](https://wordpress.org/support/users/geoffm1968/)
 * (@geoffm1968)
 * [16 years, 10 months ago](https://wordpress.org/support/topic/widget-customize-description/#post-1154978)
 * Figured it out. The _register\_sidebar\_widget_ built in function does not support
   it. Instead, the depreciated function _wp\_register\_sidebar\_widget_ does support
   this:
 *     ```
       <?php
       	function widget_mytheme_tag_cloud() {
       	?>
       		Customozed Page Widget Code here
       	<?php
       	}
       	if ( function_exists('wp_register_sidebar_widget') )
       		$widget_ops = array('id' => 'tag_cloud','title' => 'Tag Cloud', 'description' => "Your most used tags in cloud format" );
       		wp_register_sidebar_widget($widget_ops['id'], $widget_ops['title'], 'widget_mytheme_' . $widget_ops['id'], $widget_ops);
       ?>
       ```
   

Viewing 1 replies (of 1 total)

The topic ‘Widget Customize Description’ is closed to new replies.

## Tags

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

 * 1 reply
 * 1 participant
 * Last reply from: [GeoffM1968](https://wordpress.org/support/users/geoffm1968/)
 * Last activity: [16 years, 10 months ago](https://wordpress.org/support/topic/widget-customize-description/#post-1154978)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
