Support » Networking WordPress » Grab/Display Info From Random Child Site?

  • I’d love to create a “featured” site block that chooses a random child site in the network, and grabs info about it as pictured:

    It seems easy enough to add a new field to the admin panel area user profiles, and I figured that child site admins could just enter a URL for the 125×125 image there. If the child site admin’s bio info could be pulled, the value of the new profile field could be pulled as well, right?

    Anyway, is there a plugin that will do this (or is anyone interested in creating one)? I have seen a WPMU featured blog widget floating around, but I want something that automatically displays a new blog (site) each time a page refreshes, and that plugin requires the network admin to input a blog ID number to display.

Viewing 3 replies - 1 through 3 (of 3 total)
  • You could take that featured blog plugin and change the code from a manual entry to just calling a random number via PHP… Or a random number from an array of numbers, assuming you don’t want ALL the blogs to be possibly featured.

    I’d take that featured blog widget and add a randomizer to it.

    Yeah, I figured that the existing plugin would be the place to start. I’ll have to have a look at it’s guts and see if it’s too far above my level of expertise. I might be able to stumble my way through it 🙂

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Grab/Display Info From Random Child Site?’ is closed to new replies.