WordPress.org

Support

Support » Plugins and Hacks » [Plugin: Custom Class on Text Widgets] Don't write title if it's empty

[Plugin: Custom Class on Text Widgets] Don't write title if it's empty

Viewing 1 replies (of 1 total)
  • And one more condition for widget without any class:
    22: echo (!empty($customClass)) ? '<div class="'.$customClass.'">'.PHP_EOL : '<div>'.PHP_EOL;

Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: Custom Class on Text Widgets] Don't write title if it's empty’ is closed to new replies.