Codex

Interested in functions, hooks, classes, or methods? Check out the new WordPress Code Reference!

Talk:Function Reference/get links

This article needs a few examples. --JohnWatson 04:30, 28 Sep 2004 (UTC)

I am trying stuff here, and it's just plain wrong. Very wrong. I get sql errors, I get crap displayed. Page needs a LOT doing to it. --Podz 14:18, 23 Jan 2005 (GMT)

That was informative...
* What's wrong?
* What are the sql errors you get?
* What crap is displayed?
* Please define LOT in some detail.
As you know changes to the wiki docs are easy, but few use every single template tag, nor have time to test all conceivable mix of arguments one like get_link() offers. A little more info on where things go awry would help towards getting the documentation right. -Kaf 21:31, 23 Jan 2005 (GMT)

Worked fine for me. It seems like you have to be pretty careful with filling in the parameters. I really only needed the "sort on" parameter, but gave myself trouble (similar to that described above) by not thinking through what to fill in for the others.

A couple of minor, extra things I needed to do:

  • Previously the category label had been displayed at the top of the list of links. This went away. Not a problem for me. I'll only have one or two categories, so hard coding it into index.php wasn't a big deal. I could see where this would be a problem for those who have several cats. But, in researching this problem I ran across a bunch of other fixes designed for multiple categories, so no big deal.
  • I use a custom template, so I had to be careful with the before and after tags, and add a couple tags in the index.php file to get the formatting to fall in line with the rest of the page. --Brianjb 17:23, 8 Mar 2005 (UTC

Show Rating

show_rating (boolean) Should rating stars/characters be displayed (TRUE) or not (FALSE). Defaults to FALSE.

There is no documentation on how the stars or ratings are displayed , the steps one has to do to make them appear.With the Kubrick theme I really dont know how to do it.Its pretty lame,just some generally stuff

Should rating stars/characters be displayed (TRUE) or not (FALSE). Defaults to FALSE.

OK if I set it true where are my rating images ??? --Muse 09:40, 3 Sep 2005 (GMT)

So what's the new function?

When a function is deprecated, and instructions are added to the codex telling users to use the replacement function, it would be really nice if those instructions could make some mention of what replacement function to use!