WordPress.org

Ready to get started?Download WordPress

Forums

Links and Link Categories (13 posts)

  1. Anonymous
    Unregistered
    Posted 11 years ago #

    Hi,
    Why do we have Link Categories ? Is there a way of displaying Links such that links can be shown under their respective categories, rather than under the header Links or something ?
    TIA

  2. Mike Little
    Member
    Posted 11 years ago #

    Yes, the first parameter in the call to get_links() in your template is the link category number. -1 the default means display all categories.
    There is also a version of the function called get_linksbyname() which allows you to use the category name as the first parameter.
    All the functions are documented in wp-links/link.php
    I am working on a much more intuitive interface to the link categories, but I'm not yet sure when it will be ready.
    Mike

  3. Christopher Anderton
    Member
    Posted 9 years ago #

    Hmm. Ok. So how do i use this? I completly n00b on this..

  4. Mark (podz)
    Support Maven
    Posted 9 years ago #

    Do you mean Link Categories ?
    Great Blogs
    - Andy
    - Norman
    News
    - CNN
    - BBC
    etc ?
    If so, Options > Links > Link Categories.
    Scroll down, create new category, then add links to it.
    Apologies if I'm off target with this :)

  5. Anonymous
    Unregistered
    Posted 9 years ago #

    Hi,
    I'm actually having a problem getting this to work on my blog...I set up the new link categories and get nothing.
    They have been created, but do not show up on the index page...
    Any answers to why this happening???

  6. Anonymous
    Unregistered
    Posted 9 years ago #

    I would like Link Catagories to be able to change the orders... such as I have 4 Link catagories and I would like them to be sorted other then ABC. My current catagories: 1. Blogs 2. Friends 3. Links 4. Y! Groups but I would like them to be in this order: 1. Links 2. Blogs 3. Y! Groups 4. Friends but I can not find a way to do that ... anyone have any idea if in the future they are working on making Link Catagories more customizable?
    ~EB

  7. Mark (podz)
    Support Maven
    Posted 9 years ago #

    @EB:
    Put spaces before the Link Category name. More spaces = higher up it appears relative to the others. Ugly, but it works.
    @Anon - link to your page please ?

  8. ganges
    Member
    Posted 9 years ago #

    Hi!
    In wich file i can find output for the word "Links", which appear in top right corner? :)

  9. Mark (podz)
    Support Maven
    Posted 9 years ago #

    Login > Links > Link Categories
    Edit to alter

  10. TechGnome
    Moderator
    Posted 9 years ago #

    Ganges - ignore podz, he hasn't had much sleep lately. It would be in your index.php file (assuming 1.2.x). It's in the section that defines your menu area.
    Anderton - I'd give you a link to the wiki that would describe the call to display links, but the Wiki appears to be on the fritz again.
    Tg

  11. ganges
    Member
    Posted 9 years ago #

    Sorry, i am a moron, i find the possibility to edit this word in default admin interface.
    WP is excellent stuff, thanx.

  12. Look in index.php for the link get_links() and change that to get_links_list() .

  13. amontmayeur
    Member
    Posted 9 years ago #

    Is this a bug in WP?
    When creating a link, I added code for Amazon's affiliate program (<iframe src="http://.....) on the URL line.
    Now when I go to Manage Links I get only get a text book under this link category and the button allowing me to delete this link has disappeared.
    Does anyone know how to manually go in and remove this link?
    You can see this link on the right hand side of my site where the link missing a photo is:
    http://www.mustardzone.com/blog/
    Thanks for any clues on how to fix this problem.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.