WordPress.org

Ready to get started?Download WordPress

Forums

Edit Widget Title (1 post)

  1. xavier039
    Member
    Posted 6 years ago #

    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 http://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

  2. 'after_widget' => '</div>', // Removes
  3. '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.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags