WordPress.org

Ready to get started?Download WordPress

Forums

Character Limit for 'get_links' Problem (2 posts)

  1. stondin
    Member
    Posted 7 years ago #

    Hey all, If anyone can help this would be really great.
    I would like to know if theres a way to limit the number of characters displayed from the 'link description' field that id displayed when you call the links list using 'get_links'??? My page breaks if the description is too long to fit in the div it lives in. Any help would b great.

    Thanx
    Dan

  2. Chris_K
    Member
    Posted 7 years ago #

    Hmm, I don't see anything obvious in the get_links() documentation: http://codex.wordpress.org/Template_Tags/get_links

    I reckon you could poke around for a plugin or craft your own that has a length limit of some sort.

Topic Closed

This topic has been closed to new replies.

About this Topic