The before-title
and after-title
arguments passed to register_sidebar()
need to use underscores:
register_sidebar(array(
"name" => "Home Consulatation",
"id" => "home_consult",
"before_widget" => "",
"after_widget" => "",
"before_title" => "",
"after_title" => ""
));
If you use that the titles won’t have any tags. You need to provide them to the before_title
and after_title
arguments, like so:
register_sidebar(array(
"name" => "Home Consulatation",
"id" => "home_consult",
"before_widget" => "",
"after_widget" => "",
"before_title" => "<h1>",
"after_title" => "</h1>"
));
Your problem was that you were using the incorrect keys (with -
instead of _
), so it was using the defaults.