[Resolved] double image link displaying images in CPT
This thread is resolved. Here is a description of the problem and solution.
Problem:
when I tried to build image gallery for repeating image field using [wpv-for-each] shortcode, Double image links displaying
Solution:
Please make sure that you should not use separator attribute with your repeating image field shortcode when you put custom image shortcode within the [wpv-for-each] shortcode.
I am trying to: display images stored in CPT in a row, in a CPT template
Link to a page where the issue can be seen: hidden link
I expected to see: images in a row that clicked open the full size image
Instead, I got: images in a column that clicked give an error because the link URL is dobled (URL URL)
I guess the row / column problem is due to how I display the CF, even if it is not clear when to use a content template and when a generic view. My understanding is that I should use a view to display a list / grid of data from multiple posts, a content template when I have to display meta from a single post. A better explanation of this would be appreciated. KIndest regards
Thank you very very much for your superfast help.
It works and I will make my custom improvements if needed.
Can you please give me a clue about how content templates and views differ?
When to use content teplates and when to use views?
The question is silly for sure, I apologize but I am a bit confused, I am not experienced.
Kindest regards
Thank you very much, it is more clear and it confirmed my idea. Because I am using a builder, sometimes it is difficul to understand exactly what to choose.
Kindest regards