You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.
Dismiss alert
{{ message }}
This repository has been archived by the owner. It is now read-only.
Need alt tags on metaslider filmstrips. They sent me the following code which will need some tweaking:
function metaslider_filmstrip_alt_tags( $list_item, $post, $url ) {$alt = get_post_meta( $post->ID, '_wp_attachment_image_alt', true );$list_item = "<li class="ms-thumb slide-{$post->ID} post-{$post->ID}" style="display: none;"><img src="{$url}" alt="{$alt}" />";return $list_item;}
add_filter( 'metaslider_filmstrip_list_item', 'metaslider_filmstrip_alt_tags', 10, 3 );
The text was updated successfully, but these errors were encountered: