Skip Navigation

[Resolved] Alt tags not showing in swiper

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.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Karachi (GMT+05:00)

This topic contains 3 replies, has 2 voices.

Last updated by hollyR-3 1 year, 6 months ago.

Assisted by: Waqar.

Author
Posts
#2602819

I'm using a shortcode to display a swiper gallery from a custom image field (multiple images)

In a types shortcode field I can show the title and alt for an image like this:

[types field="location-logo" title="%%TITLE%%" alt="%%ALT%%"][/types]

However, when using the tsl_custom_swiper shortcode, those attributes don't output the alt or title tags.

I've tried:

[tsl_custom_swiper field="image-gallery" alt="%%ALT%%"]

Also tried closing the shortcode:

[tsl_custom_swiper field="image-gallery" alt="%%ALT%%"][/tsl_custom_swiper]

Still not working.

I can't find any documentation.

You can see the example here: hidden link

#2603197

Hi,

Thank you for contacting us and I'd be happy to assist.

Can you please share some information about this 'tsl_custom_swiper' shortcode? Is part of a third-party plugin or theme, or was it added through the custom code?

I'll be in a better position to suggest the next troubleshooting steps, accordingly.

regards,
Waqar

#2603339

Ignore me, sorry. I didn't realise as someone else created the element but it's nothing to do with Toolset!

#2603341

My issue is resolved now. Thank you!