Thread Starter
tylkum
(@tylkum)
Hmmm… The post transformed the code… It should have been this, just replace the * with a and 0 with li
<?php wp_list_pages(‘title_li=<h2>’ . __(‘Pages’) . ‘</h2>’ ); ?>
<0><* href=”/copper/”>Digital Pics</*></0>
2 options as far as I can see.
1) The link to Digital pics needs to be in a secondary list like the other links so:
<?php wp_list_pages('title_li=<h2>' . __('Pages') . '</h2>' ); ?>
<li><ul><li><a href="/copper/">Digital Pics</a></li></ul></li>
should do the trick.
2) Create the page in WordPress. Probably simpler if you can get your Gallery code to work within a post.
Thread Starter
tylkum
(@tylkum)
Thanks a bunch! That did it. I only got one more little question… The link seems to be placed too far below the other links. So now it looks like there’s a empty space between the two links.
How do I move it up?
Thx!
I’m trying to do the same thing, but all I want is to add a “home” link on the sidebar, so that when people are viewing any page, they can click on the button.
Hey, TPT boy, what are you using for your gallery? Is that a plugin?
tylkum:
In your CSS, try
li#pagenav ul {margin-top: 0;}
if it’s not that, then it’s probably an inherited list-item margin problem.
interknox:
I don’t have a Gallery on my site. Recommended music links are using an Amazon plugin I found here on the Support forum. Calendar is a separate system which I’m working to make available as a plugin – probably figure it out in the next 3 years!
Had time to try out the Link thing for myself. It’s a margin issue on the 1st level Link Items.
Either cancel the margin for sidebar <li>s and space them with a Margin/Padding on the <h2> or add a class to the particular <li> containing your additional menu items and style accordingly.