Since we’re lazy programmers (that’s actually a good thing) we didn’t want to have to manually update the list of Local BarCampers. But since we’re extremely lazy we didn’t write all the code ourselves, so instead of reinventing the wheel we used what was already published and working to start from. We wanted to pass along what we learned in case you’re planning on running your own BarCamp site.
Originally we tried to use the WordPress template tag function wp_list_authors. However we found this to be too limiting for our needs. We briefly considering overriding the function but decided against it. So instead we decide to write our own . Using some sample code from Justin Tadlock as inspiration we quickly wrote our own function to print out the list of registered users of this site. We also used Snipplr.com to check our users for a valid URL. Finally we bundled it all up with the PHP Code Widget so we could easily place it in the sidebar.
Continue reading » · Rating: · Written on: 01-29-09 ·
No Comments »