Title: setting parameters with widgets
Last modified: August 19, 2016

---

# setting parameters with widgets

 *  [Skeary](https://wordpress.org/support/users/skeary/)
 * (@skeary)
 * [16 years, 11 months ago](https://wordpress.org/support/topic/setting-parameters-with-widgets/)
 * I started using some widgets in a theme I’m developing (based off another theme),
   it just sped things up a fair bit, but now I seem completely unable to enter 
   parameters that aren’t pre-set options for the widget.
 * For instance, I want wp_list_categories to have have hide_empty=0.. is there 
   any way to do that while still using the widgets, or would i be better off just
   coding the sidebars myself (which wouldn’t be a problem at all except i’m trying
   to use a widget plugin – sideposts)

Viewing 1 replies (of 1 total)

 *  Thread Starter [Skeary](https://wordpress.org/support/users/skeary/)
 * (@skeary)
 * [16 years, 11 months ago](https://wordpress.org/support/topic/setting-parameters-with-widgets/#post-1107897)
 * Alright after a lot of searching and reading online, I think I’ve figured this
   out myself. Though I’m pretty surprised it was as hard to locate as it was.. 
   seems like something that should be right in the codex.
 * Basically the widgets can be customized in the widgets.php file in the functions
   folder.. but as that’s a hack it wouldn’t be preferred method since an upgrade
   could totally throw it.
 * The most elegant solution looks to be the [php code widget](http://wordpress.org/extend/plugins/php-code-widget/).
   Though it’s not updated for 2.8 I assume it’d still work ok… and am about to 
   find out.

Viewing 1 replies (of 1 total)

The topic ‘setting parameters with widgets’ is closed to new replies.

## Tags

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

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 1 participant
 * Last reply from: [Skeary](https://wordpress.org/support/users/skeary/)
 * Last activity: [16 years, 11 months ago](https://wordpress.org/support/topic/setting-parameters-with-widgets/#post-1107897)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
