Invalid markup when using show_image=true
-
I’m using this shortcode to display my link list.
[simple-links description="true" show_image="true"]
But it appears that it generates an invalid HTML markup :<ul class="simple-links-list"> <li class="simple-links-item simple-links-shortcode-item" id="link-2284"> <a href="https://test.com" target="" title="Une jolie description"> </a> <a href="https://www.mywebsite.com/?simple_link=test" title="Test" alt="Test"> <img src="https://www.mywebsite.com/wp-content/uploads/2015/03/camping-beziers-150x150.jpg" class="attachment-thumbnail wp-post-image" alt="camping" height="150" width="150"> </a> <br> Test- <span class="link-description"> Une jolie description </span> </li> </ul>
The first anchor tag is empty and the second one around the image is pointing to this weird url “?simple_tag=test” that is not working.
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘Invalid markup when using show_image=true’ is closed to new replies.