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: « 5 4 3 [2] 1 » Show All

  1. As with other people, the exclude option is not working.

    Any fix for this?

  2. 29
    Eddie

    Thanks for the plugin. How can I add and display the post count for each category? Like this:

    categoryA (2)
    categoryB (4)

    I am not a programmer so will appreciate that if there is any handy code available for sharing. Thanks!

  3. 28
    Frank Luas

    WordPress: v2.3.1
    MySQL: v5.0.45-community-nt
    PHP: v4.4.7
    Server: Microsoft-IIS/6.0

    Plugin does not generate an error but I don’t get multiple columns. I do get an extra space in the midst of the column where it should break.

    Regards.

  4. 27
    negative

    hello,

    is it possible:

    .ddmcl {
    	width: 200px;
    }

    and I have 2 cols on 420px tab. the question is: is it possible to put a gap of 20px between those two cols.

    thanks!

  5. Hi,
    i have problems with the plugin.
    The plugins works and looks great but it isn’t excluding the link categories.
    I put the line “echo $exclude_sql;” the result is:

    AND link_category != 9 AND link_category != 2

    Any idea how to solve it?
    Thanks in advance.

    Juan

  6. I used Categorical Links Page but it is not WP2.3 compatible…

    But your plugin is Great! Is there a chance it would group links by category?

  7. The plugins works and looks great but it isn’t excluding the link categories I tell it to, any ideas on how to fix that small issue would be greatly appreciated as blog cash links certainly don’t belong in the daily links section *sniffles*

    If you need to view just go here: http://www.comotized.com/the-internet

  8. I’m having the same problem as Ali, mine is showing as just a list and not columns.

  9. Hi, thanks for the plugin. I would also be nice if we have the option of placing the ‘excerpt/description’ of the link for each link in the columns =P.

  10. I have question; My friend have Wordpress 1.5 and do You know about this plugin will be to woerk on this Wordpress. Thank’s

  11. Version 1.3 Released

    This version adds support for WordPress 2.3, and a ‘Load Default Options’ button has been added to the options page. The Javascript (click to expand) feature has been removed, due to problems with it.

  12. I agree with Nan, it would be nice if the lists with the headers would validate. I would also love to see this with an option for a categorical list. I can’t figure out why the lists aren’t hidden to start with, I have to click on the headers to hide them.

  13. I really like this plugin – Thanks. I would love if future versions also validated though!

  14. 17
    Kate

    As for the previous question – I already solved it. There were “too many uls” in the generate function and that is why the java script for hiding didn’t work properly. I hope the fact I removed one pair of uls will not destroy the whole concept in some place I don’t expect (I don’t know anything of java)? For now – it didn’t :)
    Anyways – wonderful plugin
    Thank you
    Cheers

  15. 16
    Kate

    My list diplays perfectly fine.
    Thank you for a wonderful plugin
    I only have one question (simple I hope)
    When the page loads all the heads are expanded and only close when i click on them. What do I need to do so that they behave in an opposite way ie are closed by default and open when clicked?

Pages: « 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.