Hello. Created a sitebar,
register_sidebar(array( 'name' => 'Widget', 'id' => 'widget-1', 'description' => 'first', 'before_widget' => '', 'after_widget' => '', 'before_title' => 'Π‘Π΄Π΅ΡΡ ΠΈΠΊΠΎΠ½ΠΊΠ° <h2>', 'after_title' => '</h2>', )); Before the tile, I insert an icon. Now the challenge is that this icon could change depending on the name of the widget. Suppose I put in the site bar VJ "Rubrics" I give him the title "Games" then the icon is automatically replaced with "Games", i.e. you need to write a condition somewhere (if "games" then ..). Or is it easier to make 10 sitebars? I would like to know how to do better