Support » Plugins and Hacks » Assigning IDs to widgets

Assigning IDs to widgets

  • asgeirhoem


    Is there a plugin that lets you assign unique IDs to each separate widget?

    I’m using WordPress as a CMS for several sites, and it would be handy to be able to assign separate IDs to set, say, two text widgets apart. (I know WordPress generates numbered IDs, but I’d like to be able to assign my own, to keep the CSS tidy.)


Viewing 1 replies (of 1 total)
  • esmi
    Forum Moderator


    You need to edit your theme’s functions.php or whichever file registers the sidebars.

Viewing 1 replies (of 1 total)
  • The topic ‘Assigning IDs to widgets’ is closed to new replies.