Support » Themes and Templates » Separating link lists into left and right?

  • Resolved Pete

    I’m currently redesigning my site with CSS. I haven’t got to the content part yet, I’m still trying to work out the layout. What I’m wondering (so I don’t go and design a layout I can’t incorporate WordPress PHP tags into) is whether it is possible to separate different link lists into different CSS fields. Basically what I want to do is have links for books, CDs, and movies on the left of the blog entries and other links (eg. links to other blogs) on the right? I’m a relative newbie to PHP so I’m not sure whether the PHP tag for links puts them altogether or whether you can pick and choose.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Pete,
    Yes there is no reason why you can’t do this. Have a look at Alex’s site as an example of what can be done. There are other sites around that are three and even four-column layouts.

    Okay, thanks. I think I should be able to work out the PHP once I get to that stage but if I do have trouble I know where to go.

    You’ll have to do a little more work than just the get_link_list() that does all the output in one shot in the default template, but take a look in wp-includes/links.php and you’ll find more functions to return links in a category than you can stand, several of which have an example of how to call them and output the results.

    I’m not sure if this is what you want, but you can try it out:

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Separating link lists into left and right?’ is closed to new replies.