Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I am developing a site that will need to have a slider with 4-8 images, but only on certain page-types.

These pages must be editable and the sliders must be able to be updated whenever I'd like.

I can easily do the slider and the page theme, it's just the dynamic slider area that is getting me.

I've been theming wordpress for a long time but have never run into this situation, it's kicking my butt.

Any help would be appreciate, thank you for your time and effort.

Update I have the individual templates for the pages. And have looked into the conditional tags which will help for sure. I'm building this for a client who is new to Wordpress so I want to make the process very easy for them. They need to be able to post these slides themselves.

share|improve this question

2 Answers 2

up vote 0 down vote accepted

Well your options are to hook the slider into the page/post media gallery using something like get_children or get_posts attachments. Another option is to use a custom "image" field for the slider images and query them using query_posts.

share|improve this answer
    
Sounds fun, I've never done that. Any resources that you know of that could help me get started? THANKS! –  wilwaldon Dec 14 '10 at 23:01

Certain which page types? In general Conditional Tags > A PAGE Page allows to easily check for plenty of stuff.

You can also easily create individual templates for pages if they must be quite different from the rest.

share|improve this answer
    
I have the individual templates for the pages. And have looked into the conditional tags which will help for sure. I'm building this for a client who knows pretty new to Wordpress so I want to make the process very easy for them. –  wilwaldon Dec 14 '10 at 15:22

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.