Support » Fixing WordPress » 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)
  • 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. 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.