Jump to content

[wordpress] Getting post images to show up in sidebar widget


renegade44

Recommended Posts

Hey guys, I am about to start a wordpress project for a client and in planning, they want a widget that displays photos. Similar to something like a flickr widget where its just 8 images or so in the widget displayed in line. nothing to major. The thing I am trying to do though is get the images from the posts.

 

The client is a fire company and they are going to post pictures of their calls and all of that. Id like the widget to just pull images out of every post and the widget would hold like the the lates 8 or whatever number I decide.

 

Basically to further explain, the fireman creates a new post, writes up what happened, and inserts a few images into the post. Once they publish the post, Id like the widget to pull images and put them into the widget and then when clicked open a lightbox.

 

Anyone know how to do this or has anyone done this in the past?

 

 

Thanks guys!

 

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.