Assigning IDs to widgets (2 posts)

  1. asgeirhoem
    Posted 6 years ago #

    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.)


  2. esmi
    Forum Moderator
    Posted 6 years ago #

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

Topic Closed

This topic has been closed to new replies.

About this Topic