how can i have more than one link block? (2 posts)

  1. Anonymous
    Posted 12 years ago #

    Check out the file here: http://josiah.ritchietribe.net/blog/menu.phps
    You can see it in action on my menu at: http://josiah.ritchietribe.net/blog/
    It is my menu code (I insert it into index.php so it is really part of that file.) You will notice lines like <?php wp_get_links(2) ?> The 2 indicates the second category. You can do a separate call for each category. You can also use the code ><?php echo get_linkcatname(2) ?> to retrieve the name of the category from the database. Again, change the number for the category that you want. You'll notice that I follow the default menu organization of xhtml lists to organize my categories. You are welcome to copy the file to get you started if you wish.
    Hope this help you out.

  2. eddie
    Posted 12 years ago #

    Thank you very much for your reply. I was looking exactly at your site when i thought, "how does he do that"? I will copy the file and adapt it, i think i will get it done.

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.