Quantcast
Channel: WordPress.com Forums » Recent Topics
Viewing all articles
Browse latest Browse all 74536

grasn on "different design "after_widget""

$
0
0

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' => '<hr align="left" width="180" color="#c9c9c9" size="1">',
'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


Viewing all articles
Browse latest Browse all 74536

Trending Articles