WordPress.org

Ready to get started?Download WordPress

Forums

How to add LINK LIST to a page? (6 posts)

  1. miavitabella
    Member
    Posted 4 years ago #

    I would like to make my blogroll on a separate page, how can I add a link list to a page?

    Thanks.

  2. esmi
    Theme Diva & Forum Moderator
    Posted 4 years ago #

    Create a custom page template and try adding:

    <ul class="linklist">
    <?php wp_list_bookmarks('category_name='.the_title('','',false).'&title_li=&categorize=0&show_description=1&orderby=name&between=<br />'); ?>
    </ul>

    to the custom template file just after the Loop.

    Then create & publish a new page - making sure that you assign the new links template to this page. You don't have to add any content. Your blogroll will be listed automatically. But if you keep the Loop intact in the custom template, you'll be able to add some intro text on your new Links page via the page content area.

  3. epfp
    Member
    Posted 4 years ago #

    I love this idea and used it to create a page of Links on my site.

    However, I only tested it in Firefox and IE.

    When I opened it in Google Chrome this morning....UGH!!!

    The layout graduates the font all the way to the bottom of the list until it's HUGE.

    Any ideas?

    I used the page.php and added the coding above.

  4. epfp
    Member
    Posted 4 years ago #

    Oops, hit "post" too soon (it's my first time) and forgot to put in the URL of my page:

    ePlaceForPets LINKS page

    I'm a WordPress novice and this is my first attempt at a blog site.

  5. epfp
    Member
    Posted 4 years ago #

    The code above doesn't work for me and it's not the same as another code I found posted by esmi in an earlier post.
    WordPress HELP 257467 11 months ago

    <ul class="linklist">
    <?php wp_list_bookmarks('title_li=&show_description=1&orderby=name&between=<br />'); ?>
    </ul>

    The code posted 11 months ago works for me - and I've just tweaked it to add a space and hyphen between the title and the description instead of putting the description onto a new line.

    I am using:

    <ul class="linklist">
    <?php wp_list_bookmarks('title_li=&show_description=1&orderby=name&between= - '); ?>
    </ul>

    I love having a page with the list of links on it. I'm glad I found these helps.

  6. chitimeadmin
    Member
    Posted 3 years ago #

    Esmi or Epfp please help: I don't want a custom template page for my links. I am trying to create a new links page using the theme that I've downloaded called clean-blue, which I've already put a lot of hours into customizing. I just can't figure out how to make a new page that isn't in the pages menu because my nav bar is already full and I want the links button to the links page in a different place. I can barely describe it anymore. The site is at http://www.timeforchi.com and I have been trying to get help on this for days. I have tried to create links.php and links.html and call it in to the header where my sidebar is now located, but just can't figure this out.

Topic Closed

This topic has been closed to new replies.

About this Topic