5 Latest Albums in Wordpress Sidebar

robinjection

Joined: 2008-04-23
Posts: 39
Posted: Tue, 2008-09-23 17:55

Hi guys,

Thanks in advance for any help you may provide. Im using WPG2 3.0.7 with WP 2.6 and basically I just want there to be a sidebar block (plugged in via PHP not via the Widgets menu) that would display the latest X amount of albums in the gallery with the highlight photo and the title of the albums. Is this possible? I really hope so. If not, is there any RSS feed generated by G2 that provides this information that I can pull into WP?

Rob

 
OzDamian

Joined: 2008-04-30
Posts: 35
Posted: Wed, 2008-09-24 06:05

May I ask why no widget ? it does what you wan't!

 
robinjection

Joined: 2008-04-23
Posts: 39
Posted: Wed, 2008-09-24 06:22

i dont use the Widgets functionality on my site cause I'm a customization freak.I should have been a little more specific. I put this code in my sidebar:

Quote:
<?php print g2_sidebargridblock(recentAlbum, 6, 120, Gallery); ?>

and all it produced was the heading, "Gallery" with h2 tags wrapped around it. No semblance of photos showing up in my sidebar. I viewed source and nothing, just the h2 :(