[Plugin: Custom Class on Text Widgets] Don't write title if it's empty
-
Thanks for this great (and tiny at the same time) plugin! Just what I needed.
There is one thing I had to change though. I don’t want the h4 elements to be written when the title is empty. So I added (line 24):
if ($title != '') { echo $before_title.$title.$after_title; }Would be nice if you could add it to the codebase.
Cheers
Viewing 1 replies (of 1 total)
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.