Site is looking awesome now, and a lot cleaner. Should definitely allow people to find what they’re after a lot quicker. Will there be problems with people posting here for help with plugins when they should be posting on wordpress.org?
Thanks for your help Shane, I wasn’t thinking properly as a programmer – I spent more time trying to figure out what I didn’t know, and less time using what I did. My variable wasn’t global, though reading into PHP having this is a bad idea. So I moved
$dm_number = 6;
$dm_number = 20;
into the same function as where the variable is being used. The random parameter doesn’t seem to be doing anything, I’m going to try and narrow this problem down today. Thanks again for your help! You’ve me thinking the right way now
Oops thanks for that Shane! I’ll read over some more PHP again. I think I’ve made the required changes, but its still not working. I’ve posted the whole file to here https://gist.github.com/2882028. I’d love if I could figure out where I’m wrong.