Welcome to Dagon Design. In addition to free scripts, WordPress plugins, and articles, we offer a variety of services including custom theme design, plugin creation, and PHP scripting. Contact me for more information.

Version 1.3   Updated Friday, February 20th, 2009 at 7:19pm

Multi Column Link List Plugin for WordPress

This plugin generates an alphabetical listing of your WordPress links in multiple columns. You can choose the number of columns to display, with an option to split up the list of links by letter. It also supports the use of a custom header to help separate the links. For example, you could have it say ‘Links: A’ and then list the links that start with ‘A’, etc. The link list can easily be added to any post or page with the trigger text, or called directly from a template file. A CSS file is also included for easy style changes.

Related Plugins

There is also a plugin available to generate a multi-column list of your WordPress categories.

Download

  If you have found this page useful, please consider donating. Thanks!

Notes

The purpose of this plugin is to generate a full list of links (with the exception of the link categories you exclude). This means that it does not sort links by category, only by name.

Installation

  • Download the above file and uncompress
  • Upload dd-multi-col-links.php to your plugins directory
  • Upload dd-multi-col-links.css to your theme directory
  • Activate the plugin from the WordPress admin panel
  • Configure the options under the admin panel: Options – DDMultiColLinks

Usage

To use this plugin, simply add the following trigger text to a post or page:

<!-- multicollinks -->

If you prefer, you can also call the function directly from a template file with the following command:

<?php echo ddmcl_generate(); ?>

Change Log

  • 09-29-07 Version 1.3 – Updated for WordPress 2.3. Added ‘Load Default Options’ button. Removed javascript expand code because it was too buggy.
  • 05-16-07 Version 1.2 – Updated for WordPress 2.2.
  • 03-02-07 Version 1.1 – Option added to allow click-to-expand lists. Special thanks to Richard K Miller for submitting the code!
  • 02-13-07 Version 1.0 – First release.

Options

Here are the options available for this plugin under the WordPress admin panel

Number of columns

The number of columns that the links will be shown in. If you want to show more columns than your layout width will handle, you can adjust the width of each column in the CSS file.

Separate items

Here you can choose to separate the links by letter, with a custom separation header, or no separation at all.

Separation header

If the separation option is enabled, this is where you enter your separation text, which will be shown above each set of items. You can use %L to show the letter. For example, if you enter Links: %L then it will show Links: A, (list of links), Links: B, (list of links), etc…

Excluded link categories

This is a comma-separated list of the link category IDs you want to exclude from the list.

Pages: « 6 5 [4] 3 2 1 » Show All

  1. http://www.domesticyatra.com is a website that provides air tickets, i need to configure wordpress

  2. 59
    Jesse

    This plugins works great! but how can we change the Letter to the Real Title of Main Categories.

    Thanks

  3. The category exclusion won’t work, because the field “link_category” is not populated in the links table. The way you can work about this is by manually add a number into the table for the various records.

    Bad fix, but it works :)

  4. i have my links already sorted into categories and would like to preserve those categories rather than sort them into alphabetical order or without any categorisation whatsoever.
    is there a way i can do that?

    http://mock-heroic.net/link-list/

  5. And as I sort by category …

  6. This plugin has been tested, and works, in the latest release of WordPress – 2.8

  7. Would it be possible to get the equivalent plugin adapted to make a multi column page list? (for all the pages on a site)

  8. I’ve installed the plug in, and it’s working great. However, there is some generated text I can’t seem to get rid of.

    D
    o Development Blog
    o Documentation

    P
    o Plugins

    S
    o Suggest Ideas

    S
    o Support Forum

    T
    o Themes

    W
    o WordPress Planet

    It’s in two seperate columns. Thanks

  9. It won’t open the links in a new window when you choose _blank in Wordpress 2.7.1

  10. and for SEO purposes a rel=”nofollow” would be nice.

  11. Thanks for the plugin. I have a small suggestion to add the link description in the title tag of the link. All you’ve got to do is add link_description to the query and in the link output. Hope it will help someone.

    $link_list = (array)$wpdb->get_results(”
    SELECT link_url, link_name, link_description
    FROM {$tp}links
    WHERE link_visible = ‘Y’
    {$exclude_sql}
    ORDER BY link_name
    “);

    $t_out .= ‘link_url . ‘” title=”‘. $link_list[$c]->link_description .’”>’ . $link_list[$c]->link_name . ‘‘ . “\n”;

  12. Thanks a lot! Very nice!

  13. This plugin has been tested in the latest release of WordPress (2.7.1)

  14. 47
    Teresa

    Does this plugin work with WP 2.7???
    Cheers!

  15. 46
    brian

    To the best of my ability I have followed directions and looked through comments.
    all that shows up on my page is Any suggestions?

Pages: « 6 5 [4] 3 2 1 » Show All

Leave a Comment

Before you comment: If you are having an issue with a script, please make sure you have read the entire article. Also, please read through the comments because most common issues have already been discussed many times. Thanks.


Be sure to wrap all code in <code></code> tags.