Forums

organizing my link list (6 posts)

  1. zozja
    Member
    Posted 2 years ago #

    how do i organize my list of links in an order i want instead of the default?

    thanks!

  2. ryans149
    Member
    Posted 2 years ago #

    Check this:

    http://codex.wordpress.org/Template_Tags/get_links

    you can sort them as you want..

  3. mfuchs
    Member
    Posted 2 years ago #

    If you want to order categories of links you could use the following code in your template. You would use this code to display one link category at a time.

    <?php wp_list_bookmarks('title_li=&title_before=<h1 class="sample">&title_after=</h1>&category_before=&category_after=&category_name=Name of Link Category');?>

  4. zozja
    Member
    Posted 2 years ago #

    where would i put this code:

    <?php wp_list_bookmarks('title_li=&title_before=<h1 class="sample">&title_after=</h1>&category_before=&category_after=&category_name=Name of Link Category');?>

  5. zozja
    Member
    Posted 2 years ago #

    question... I've inserted the new php code:

    <?php wp_list_bookmarks('title_li=&category_before=&category_after='); ?>

    to replace the old one, and my website is now displaying the links correctly in the order i want. however... the formatting is not what i want. i'd like to make the category names smaller and then have the links be bulleted like the pages above. (see what i'm talking about on my website here: http://drkkozak.com -- it's on the left had sidebar)

    how can i modify this?

    thanks!

  6. Mark / t31os
    Moderator
    Posted 2 years ago #

    Open your theme's style.css

    Find....

    #sidebar ul li {
    	background: url(images/arrow.jpg) no-repeat;
    	padding-left: 20px ;
    	line-height:15px;
    	margin:0px;
     	}

    Change that for...

    #sidebar ul li,
    .blogroll li {
    	background:transparent url(images/arrow.jpg) center left no-repeat;
    	padding:1px 0 1px 20px ;
    	line-height:15px;
    	margin:0;
    }

    You should get better alignment with the bullets with that change to..

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.