“Very wrong” is a subjective assessment 🙂
It displays some kind of “description” above the link – though I couldn’t figure out where are they coming from.
Maybe you can paste the sidebar.php to http://pastebin.com and post back the URI.
What a cool service. The code is now posted at
http://pastebin.com/767830
So, what is exactly what you want to achieve?
The template tag in use in your sidebar:
http://codex.wordpress.org/Template_Tags/get_links
is set to display the “description” of the links which screws up your display.
You could:
a) use another template tag which by default doesn’t display the description, just the link
b) play around with the stylesheet and/or code until it looks as you want
c) set the existing tag to not display the description
I appologize, I am not a programmer. I’m not very good at playing around with code. I would like the description to show, but there is a line break after the horizontal line that I would like to have elimiated.
eg.
link 1
—-
description 1
link 2
—-
Description 2
I would like it to look like
Link 1
—-
Description 1
Link 2
—-
Description 2
.
If you could show me what to change in the code to make this happen I would appreciate it.
-Josh
I am not 100% sure, but I’d try to remove the <br />
from here:
<ul>
<?php get_links('-1', '<li>', '</li>', '<br />'); ?>
</ul>
line 156 in pastebin. So make it
<?php get_links('-1', '<li>', '</li>'); ?>
That worked, but I still want a page break in there.
I figured it out! w00t w00t. Now I am 1337 haX0r!
I’m kidding abuot that. Seriously though, thanks for your help on that! You rock!