WordPress.org

Ready to get started?Download WordPress

Forums

get links : Can I also show 'Short description' text out of title? (12 posts)

  1. elyonline
    Member
    Posted 9 years ago #

    Hi there,

    I have designed a page for my links. Now I use get links in my side bar but for the main page I would really like to show my 'Short description' text on the page.

    For example:

    Link Cat: Something here
    The Link
    The link short dexcription

    This is all I have at present: '<?php get_links_list(); ?>'

    Can this be done?

    Thanks
    Karl

  2. elyonline
    Member
    Posted 9 years ago #

    This is what I currently have:
    '<?php get_links('-1', '

  3. ', '
  4. ', '
    ', FALSE, 'id', TRUE, TRUE, -1, TRUE); ?>'

    but I need to show:
    category first in h3 tag
    Link name in li tag
    short description in p tag

    What do I need to do please?

    Thanks
    Karl

  • Root
    Member
    Posted 9 years ago #

    You might try the wp get links tag. Heads up in the Codex

  • elyonline
    Member
    Posted 9 years ago #

    Thats what I am using hust not ure how to implement my needs :)

    Karl

  • Root
    Member
    Posted 9 years ago #

    Not quite. get links is not the same as wp get links.

  • elyonline
    Member
    Posted 9 years ago #

    Thanks. sorry I misread your post. I'm afraid it still don't do what I need though.

    Thanks

  • elyonline
    Member
    Posted 9 years ago #

    anyone?

    Thanks

  • Root
    Member
    Posted 9 years ago #

    Well you have been given the pointer you need. What else do you want?

  • elyonline
    Member
    Posted 9 years ago #

    Well I am not a PHP guy and am totally confused as you can see, it's nearly 24 hours later and still I am stuck on this.

    In the old days I used to get a lot of assistance but the community has changed since wp started.

    All I wanted to show was my links in a certain way, for example:
    '<h3>Link Category</h3>'
    '

      '
      '
    • The actual Link name'
      '
    • The link description
    • '
      '
    • Date link Posted
    • '
      '
    '

    and I have no idea how to do this :(

    Thanks for you time.
    Karl

  • elyonline
    Member
    Posted 9 years ago #

    sorry back ticks gone weird.
    Should be a UL here
    li here - The actual Link name
    li here - The link description
    li here - Date link Posted
    closing ul here

  • seoxm
    Member
    Posted 7 years ago #

    Respond, come on!!

  • vkaryl
    Member
    Posted 7 years ago #

    Er.... this thread was a year and a half old....

  • Topic Closed

    This topic has been closed to new replies.

    About this Topic

    Tags

    No tags yet.