Plugin Directory

Changeset 598221


Ignore:
Timestamp:
09/12/2012 11:17:08 PM (13 years ago)
Author:
niry
Message:

Changed the way the list is presented. It will now be located where the shortcode is entered.

Location:
showlinks/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • showlinks/trunk/ShowLinks.php

    r528714 r598221  
    22/**
    33 * @package Show_Links
    4  * @version 1.01
     4 * @version 1.02
    55 */
    66/*
     
    99Description: Show links added with the dashboard using a shortcode [showlinks] in posts.
    1010Author: Niklas Rydén
    11 Version: 1.01
     11Version: 1.02
    1212Author URI: http://kafit.se/
    1313*/
     
    1818
    1919    // The base parameters we want to use...
    20     $parameters = 'title_li=&categorize=0';
     20    $parameters = 'title_li=&categorize=0&echo=0';
    2121
    2222    // Comma-separated ID-list
     
    3535    if (isset($slparams['show_description'])) { $parameters = $parameters.'&show_description='.$slparams['show_description']; }
    3636
    37     wp_list_bookmarks($parameters);
     37    return wp_list_bookmarks($parameters);
    3838}
    3939
  • showlinks/trunk/readme.txt

    r528776 r598221  
    66Tags: admin, plugin, links, shortcode
    77Requires at least: 2.1
    8 Tested up to: 3.3.1
    9 Stable tag: 1.01
     8Tested up to: 3.4.2
     9Stable tag: 1.02
    1010
    1111A small plugin whose only purpose is to show links added with the Dashboard, using a shortcode.
     
    4141* Added the options category, category_name, show_images, show_name and show_description.
    4242
     43= 1.02 =
     44* Rewrote some code regarding string output. This is a feature/bug-fix release.
     45
    4346== Upgrade Notice ==
    4447
    45 = 1.01 =
    46 Added a few of the parameters available with wp_list_bookmarks, if you want to limit or enhance the output in some way you want this upgrade.
     48= 1.02 =
     49This upgrade will probably change the location of the link-list. But it's all for the better.
Note: See TracChangeset for help on using the changeset viewer.