Links in sidebar without using widget
This code should work:
<h1>Links</h1> <ul> <?php list_bookmarks(); ?> </ul>
That didn’t work right. All it did was make a new header that said “Links” and then there was nothing below it, not even my other sidebar items.
I’m not a code person, so I’m learning as I go. Any help is appreciated. Thanks in advance!
sorry the code i copied is wrong. Should be:
<h1>Links</h1> <ul> <?php wp_list_bookmarks(); ?> </ul>
Been a long day!
Thank you! I used this:
<h1 class="sidebartitlepos"> <?php _e('Links'); ?> </h1> <ul> <?php wp_list_bookmarks(); ?> </ul>
And it worked, but now under the header “Links” I have another indented subheading “Blogroll” and then the links below indented even further. How do I get rid of that subheading “Blogroll” and move the link to match up with the indentation of the other sidebar items above? Is that in another php file?
- The topic ‘Links in sidebar without using widget’ is closed to new replies.