Edit Widget Title
-
I am getting close but I am not having any success. What I am trying to do is call the widget title so that I can move it to the top of the box into the heading instead of inside the actual box. If you go to https://www.barrel-roll.com and look at the right side you can see what I mean. Mu functions php looks like this `register_sidebar(array(‘name’=>’sidebar1’,
‘before_widget’ => ‘<div id=”%1$s” class=”side-c %2$s”>’, // Removes- ‘after_widget’ => ‘</div>’, // Removes
‘before_title’ => ‘<h3>’, // Replaces <h2>
‘after_title’ => ‘</h3>’, // Replaces </h2>
));`
and so forth for each sidebar. Do I need to add add an additional line of script from widget.php to make this happen? Can somebody give me some incite. I am sure that with an additional mind set we could solve this problem.Right now I think that
$before_title . $title . $after_title;
is my key. Any help would be great.
- The topic ‘Edit Widget Title’ is closed to new replies.