0

I'm working on a site for a client, which will have a custom post type (homes). I'd like the client to be able to add new posts, which would ideally include multiple pictures, in different 'categories', for each home (i.e. initial construction, finish work, completed home). Each different category would then get its own slider on that 'post'.

I've considered using something like the Premium Slider plugin, which offers multiple sliders, and includes a metabox on each post, but it would definitely need to be modified to fit my requirements.

Any ideas on the best way to go about doing this?

1 Answer 1

1

Basics of my approach to sliders:

  1. Query arguments for selection of posts.
  2. Get The Image (plus custom code and caching when needed) to mine for images.
  3. Separate function for markup generation so it could be easily swapped.
  4. Just add JavaScript slider you like. When you like/need another more just swap markup and script.

Of course this approach is better for pre-configured slider or parameters are generated by code and it doesn't need to have manual controls.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

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