Help needed Wordpress - add description to links?

Discussion in 'WordPress' started by glenv, Oct 1, 2008.

  1. #1
    I am hoping someone can tell me how to edit the following code so the description of links will be displayed after the site link. Thank you in advance:

    <?php
    /*
    Template Name: Links
    */
    ?>


    <?php //include (TEMPLATEPATH . '/sidebar2.php'); ?>
    <table width="940" cellpadding="0" cellspacing="0" border="0"><tr><td width="170" valign="top">
    <div id="leftnav">
    <?php get_sidebar(); ?>
    </div></td>

    <td valign="top" id="bor">
    <div id="content">

    <h2>Links:</h2>
    <ul>
    <?php get_links_list(); ?>
    </ul>

    </div>

    </td>
    <td width="170" valign="top"> <div id="rightnav">
    <?php include (TEMPLATEPATH . '/sidebar2.php'); ?>
    </div></td></tr></table></div>
    </td></tr></table>
    <?php get_footer(); ?>
    </body>
    </html>
     
    glenv, Oct 1, 2008 IP
  2. stevetp

    stevetp Peon

    Messages:
    101
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Can you just not add that infromation in the wp admin panel?
     
    stevetp, Oct 1, 2008 IP
  3. glenv

    glenv Peon

    Messages:
    930
    Likes Received:
    10
    Best Answers:
    0
    Trophy Points:
    0
    #3
    it already is for each one. The problem is the coe above comes from the page they are listed on and the code that shows the description is not included. There is a small snipet of code you add for the description to show
     
    glenv, Oct 1, 2008 IP