I have created a custom post . For displaying this post, I have created a content template. To display the images of that post as slider, I have created view called school pictures. Previously, everything was showing well. Now, only the title of the image is being shown and not the images. hidden link
Please check the image title under Contact Number. Previously the image was shown and now only thr title.
I checked by disabling plugins, but no use.
Please help me fixing this.
I see in your debug info the plugin versions are not up-to-date with the latest releases, and you should also disable the beta Toolset Blocks plugin you have installed.
Can you click a "registered" link to go to the custom installer page and the use the Check for updates button to make sure you see the latest plugin versions.
Note that you have Views installed in should update to Views 3.0, and you do not need Toolset Blocks on the site.
Where the img URL is displayed, the HTML is oddly formed, because it is outputting a link rather than an image tag, i.e.
Thank you for your reply.
I have now updated all the plugins. I am attaching the screen shots. Please let me know the code to display current post images as slider instead of link.
Capture1.jpg is the template "school pictures - slide"?
It just outputs a link to the current post using the wpv-post-link, so what you are seeing is entirely expected.
You need to output images. You would ordinarily do that by inserting a shortcode to output the image field, but in this case it looks like you are editing the template with the block editor, so you would instead insert a Toolset Image block and choose Dynamic Sources, and then select the appropriate field as the image source.
But I'm not sure from your description that you are going about this the right way.
There are essentially two kinds of sliders you might create.
One is where each slide transitions between different posts, each image of the slider coming from a different post.
The second is where all of the images come from the same post, and the slider iterates across these image fields.
(A special case would be when you are using repeatable field groups, and the image fields are from within such groups.)
It looks like you are using a View for your slider (to transition between posts), but you say "to display the images of that post as a slider" which sounds like the second case, when you wouldn't be using a View.
So, can I get more details about how this slider should work, i.e. what should each slide be displaying, an image from an image field from just one post, or one image from multiple posts?
Thank you for your support. Yes, you are correct. It is indeed the second case. I would like to display the images of that particular post in slider form.
OK. I'm not sure how this would have been working before, because you don't use a View in such a case. A View queries and iterates over posts, but you want to generate a slider from the images of a single post.
We don't have an easy out-of-the-box solution for this scenario, you need to set up a slider library yourself and output the markup in the format required by that library.