<div class="flexslider">
<ul class="slides">
<li>Shortcode for image 1</li>
<li>Shortcode for image 2</li>
<li>Shortcode for image 3</li>
<li>Shortcode for featured image</li>
</ul>
</div>
[php]
Then add this to the js section of your template.
[php]
jQuery(window).load(function() {
jQuery('.flexslider').flexslider();
});
Then follow the instructions in the link below to filter the view for the current post.
https://toolset.com/forums/topic/creating-and-image-slider-with-the-custom-values/#post-1100832
0% of people find this useful.
This support ticket is created 6 years, 5 months ago. There's a good chance that you are reading advice that it now obsolete.
This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.
Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.
What you need to do is to download the plugin below. hidden link
The flexslider plugin that I made.
Then add this to your content template.
<div class="flexslider">
<ul class="slides">
<li>Shortcode for image 1</li>
<li>Shortcode for image 2</li>
<li>Shortcode for image 3</li>
<li>Shortcode for featured image</li>
</ul>
</div>
After changing a few settings and removing some code from the tutorial the slider seems to work perfectly.
I might have done something wrong... Only the filtering aspect remains unsolved:
The Images should be quarried by each single Custom Post.
For example:
If I create a Custom Post Called "Dogs",
I upload the 4 images to it,
when I VIEW the Single Custom Post Page for that specific post,
(www.localhost.com/project/dogs)
only the Dogs pictures should appear in that slider.
If I create Second Custom Post named "Butterflies",
I upload the 4 images to it,
when I VIEW the Single Custom Post Page for that specific post,
(www.localhost.com/project/butterflies)
only the Butterflies pictures should appear in that slider.
So on and so on, each Single Custom Posts should only display it's own Images.
For some reason right now, the Butterfly pictures are showing in the Dogs Custom Post as well.