I want to rename “Widget” to something else
Like “Block” or something else.
please help me.
EDIT
Per the user’s comment below, she wants to change class="widget"
to class="block"
(or any arbitrary class name) in the rendered, sidebar Widget.
I want to rename “Widget” to something else
Like “Block” or something else.
please help me.
EDIT
Per the user’s comment below, she wants to change class="widget"
to class="block"
(or any arbitrary class name) in the rendered, sidebar Widget.
You must be logged in to post a comment.
The classes assigned to rendered Widgets are specified by the argument array passed to the
register_sidebar()
call used to register the sidebar. e.g.:See the
before_widget
parameter:…change it accordingly, e.g. to: