Search WIdget – Add ID
i need to set an ID selector to the WordPress Search Widget in the sidebar.
Currently, the search widget is the only one in the sidebar included just in a simple
<li>[WIDGET CODE]</li>. I need it to be
<li id="searchwidget">[WIDGET CODE]</li>. I took a look to widget.php but i didn’t figure out what and where to modify. Maybe something in $before_widget?
Thanks in advance =)
- The topic ‘Search WIdget – Add ID’ is closed to new replies.