[Plugin: Simple Fields] Image Slider using Slick
-
Hi,
I’m trying to set up an image slider with Slick (http://kenwheeler.github.io/slick/) and Simple Fields but I’m lost.
I had it working with WCK Custom Fields and Custom Post Types Creator pluging, using the following
<div class="slick-slider clearfix"> <?php foreach( get_cfc_meta( 'slick_slides' ) as $key => $value ){ ?> <div class="slide"><img src="<?php the_cfc_field( 'slick_slides','image', false, $key ); ?>"/></div> <?php } ?> </div>
I’ve now installed Simple Fields and set up a field group with teh slug slick-slides and a repeater field of type file with the slug images, and ticked the option for ‘Enable Extended Return Values’ but I have no idea how to call the values from Simple Fields to the code above.
I’ve also failed to get the meta box working correctly on Pages and Posts.
I set up a Post Connector titled, Slideshow images connector and linked the field group to Posts and pages. The meta box shows up but when I choose ‘Slideshow images connector’ from the dropdown menu, I only get a link Show custom field keys, and when I click that nothing happens, even though I have saved the page/post first after choosing the connector.
Has anyone got Simple Fields to work with Slick, and if so, could you possibly post your solution? 🙂
Thanks in advance for any pointers.
Cheers,
Tracy
- The topic ‘[Plugin: Simple Fields] Image Slider using Slick’ is closed to new replies.