[wp-hackers] get_links_list() and get_links() can be improved.

Carthik Sharma carthik at gmail.com
Thu Jul 8 23:57:39 UTC 2004


The function (okay, template tag) get_links_list() allows one to order
the link categories by name or id, right now...
It does not let one specify the order in which the links themselves
are displayed. It may be useful to add parameters to help decide this
order and the other things that get_links() uses.
get_links_list is the default template tag in the wp index.php file,
which is why it would be nice to be able to specify more parameters,
if needed.

Also , 

get_links shows links in reverse order of freshness if  'updated' is
specified as the order-by parameter, and shows them newest on top if
'_updated' is specified as the parameter, though the inline comments
in wp-includes/links.php says that adding _ before the param will
reverse the order. This behaviour might confuse an end user.


Regards,
Carthik.

-- 
When nothing is done, nothing is left undone -- 老子 Lǎozi

University of Central Florida
Homepage: http://carthik.net



More information about the hackers mailing list