• Hi i try to make multicolums sortet by my categories.
    So what i want to do is if i have the category test1 and test 2, i want them side by side with the links for each category under them.

    test1 test2
    link link
    link link
    link link
    link link

    and i using this code right now ` <div class=”bloque3″>

    <?php echo LinkLibrary(‘name’, 0, 0, 0, 0, 0, 0, ”, 0, 0, 0, 0, ‘<td>’, ‘</td>’, 1, ”, ‘<tr>’, ‘</tr>’, ‘<td>’, ‘</td>’,1, ‘<td>’, ‘</td>’, 1); ?>

    </div>

    and you can see the result at the fotter of this page. http://www.tkingdom.net/wordpress

    i hope you understand what i want
    thx Stavve

Viewing 1 replies (of 1 total)
  • The main issue is that I did not keep the list of parameters for the PHP version of the Plugin API up-to-date. I will try to correct this in the documentation tonight or tomorrow. You can also just look inside of the code for the plugin and you will see all of the parameters listed in there:

    /*
    * function LinkLibrary()
    *
    * added by Yannick Lefebvre
    *
    * Output a list of all links, listed by category, using the
    * settings in $wpdb->linkcategories and output it as a nested
    * HTML unordered list. Can also insert anchors for categories
    *
    * Parameters:
    * order (default ‘name’) – Sort link categories by ‘name’ or ‘id’. When set to ‘AdminSettings’, will use parameters set in Admin Settings Panel.
    * hide_if_empty (default true) – Supress listing empty link categories
    * catanchor (default false) – Adds name anchors to categorie links to be able to link directly to categories\
    * showdescription (default false) – Displays link descriptions. Added for 2.1 since link categories no longer have this setting
    * shownotes (default false) – Shows notes in addition to description for links (useful since notes field is larger than description)
    * showrating (default false) – Displays link ratings. Added for 2.1 since link categories no longer have this setting
    * showupdated (default false) – Displays link updated date. Added for 2.1 since link categories no longer have this setting
    * categorylist (default null) – Only show links inside of selected categories. Enter category numbers in a string separated by commas
    * showimages (default false) – Displays link images. Added for 2.1 since link categories no longer have this setting
    * show_image_and_name (default false) – Show both image and name instead of only one or the other
    * use_html_tags (default false) – Use HTML tags for formatting instead of just displaying them
    * show_rss (default false) – Display RSS URI if available in link description
    * beforenote (default
    ) – Code to print out between the description and notes
    * nofollow (default false) – Adds nofollow tag to outgoing links
    * excludecategorylist (default null) – Specifies a comma-separate list of the categories that should not be displayed
    * afternote (default null) – Code / Text to be displayed after note
    * beforeitem (default null) – Code / Text to be displayed before item
    * afteritem (default null) – Code / Text to be displayed after item
    * beforedesc (default null) – Code / Text to be displayed before description
    * afterdesc (default null) – Code / Text to be displayed after description
    * displayastable (default false) – Display lists of links as a table (when true) or as an unordered list (when false)
    * beforelink (default null) – Code / Text to be displayed before link
    * afterlink (default null) – Code / Text to be displayed after link
    * showcolumnheaders (default false) – Show column headers if rendering in table mode
    * linkheader (default null) – Text to be shown in link column when displaying as table
    * descheader (default null) – Text to be shown in desc column when displaying as table
    * notesheader (default null) – Text to be shown in notes column when displaying as table
    * catlistwrappers (default 1) – Number of different sets of alternating elements to be placed before and after each link category section
    * beforecatlist1 (default null) – First element to be placed before a link category section
    * beforecatlist2 (default null) – Second element to be placed before a link category section
    * beforecatlist3 (default null) – Third element to be placed before a link category section

    * divorheader (default false) – Output div before and after cat name if false, output heading tag if true
    * catnameoutput (default linklistcatname) – Name of div class or heading to output
    * showrssicon (default false) – Output RSS URI if available and assign to standard RSS icon
    * linkaddfrequency (default 0) – Frequency at which extra before and after output should be placed around links
    * addbeforelink (default null) – Addition output to be placed before link
    * addafterlink (default null) – Addition output to be placed after link
    */

    Specifically, what you would need to set is the catlistwrappers field to be 2, then set the div tags to be shown in the parameters beforecatlist1 and beforecatlist2. Then in your stylesheet, you can specify an offset for the second group to create that second column.

    Let me know if this helps.

Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: Link Library] do not understand how to get multicolumns’ is closed to new replies.