Have you tried get_links?
Thread Starter
Anonymous
Hi there,
Yes I have but that does not list the links as a ‘list’, it just uses ‘breaks’
Anyway around this?
Thanks
Karl,
Could you post a link to your site? Sometimes it’s easier to help when you can see exactly what is going on.
Craig.
Thread Starter
Anonymous
Hi there,
Well the site is somewhat of a mess so I am embarrassed to show you it, but here is a text file of my lists:
http://www.mrogerson.co.uk/lists.txt
I tried that get_lists with an li in the brackets but that threw up an SQL error.
Any suggestions greatly appreciated.
Karl
Try something like this:
<h2>Blogs & Links</h2><ul><?php get_links('-1', '<li>', '</li>', '', 0, 'name', 0, 0, -1, 0); ?></li></ul>
I don’t fully understand what all that means but it worked for me to just call the links from wp w/o all the link categories (which I wanted as just one massive list)
You may not need the numbers at all (I’m sure they mean something) but just the '
<li>' and '</li>'
portions. Which when I view the source code output places the li tags at the beginning and end of each link called
Hi, same problem as previously stated here, but on a newer version of WordPress. I tried using your solution, and defining my parameters based on the Codex documentation when that didn’t work, but whenever I add parameters to that function it returns a MySQL database error… So perhaps that bit of code is dated? At any rate, I need someone to help me with this because I don’t know where to go from here. Thanks in advance. ^.^