<?php get_linksbyname('Reading', '', '<br />', '', FALSE, 'rand', TRUE, FALSE, 6, FALSE); ?>
Should return only links from the 'Reading' cat, but it's grabbing any link from anywhere. Adds to the randomness though :)
<?php get_linksbyname('Reading', '', '<br />', '', FALSE, 'rand', TRUE, FALSE, 6, FALSE); ?>
Should return only links from the 'Reading' cat, but it's grabbing any link from anywhere. Adds to the randomness though :)
Okay okay ... so lock me in a box with no Diet Coke for a week...
It DOES work, but if you have previously used the "adding spaces to cat names to get them in the right order" trick, you'll need to remove those spaces.
/me looks for a box and buys Diet Pepsi to force-feed to Podz
This also looks like something that should be documented in Codex.
could you not jsut add the same spaces when you call that function?
Maybe so, but I haven't displayed links in such a way that I needed the spaces for a long time, so it makes more sense to just get rid.
This topic has been closed to new replies.