different design “after_widget”
-
Hey,
I have made a own theme, and I have a question about the register_sidebar() array in functions.php.my funtions.php looks like this:
if ( function_exists(‘register_sidebar’) )
register_sidebar(array(
‘before_widget’ => ‘<li id=”%1$s” class=”widget %2$s”>’,
‘after_widget’ => ‘
’,
‘before_title’ => ‘<h2>’,
‘after_title’ => ‘</h2>’,
));Now after every widget I have displayed the “<hr>” tag, wich makes a line under every widget.
It also makes a line under the last widget in the sidebar and I want to remove this line.So I only want the “<hr>” tag displayed between widgets, but not under the last widget in the sidebar.
Can anyone help me?greetings
-
You did not specify a blog address or reason for posting when you created this topic.
This support forum is for blogs hosted at WordPress.com. If your question is about a self-hosted WordPress blog then you’ll find help at the WordPress.org forums.
If you don’t understand the difference between WordPress.com and WordPress.org, you may find this information helpful.
If you forgot to include a link to your blog, you can reply and include it below. It’ll help people to answer your question.
This is an automated message.
- The topic ‘different design “after_widget”’ is closed to new replies.