• Resolved Tjasa

    (@tjasa)


    Hi guys, Your plugin is doing great job but we need help with alt tags on images when using locations_list region shortcode. This feature would be great for seo purpusoses.

    Please guide us in the right direction.

    Warm regards,

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support angelo_nwl

    (@angelo_nwl)

    Hi,

    you can try something like

    
    <img src="#_EVENTIMAGEURL" alt="" title="" />
    <img src="#_LOCATIONIMAGEURL" alt="" title="" />
    
    Thread Starter Tjasa

    (@tjasa)

    Thank you for your reply, but I need this displayed when using this shortcode: [events_list scope=”future” limit=10 pagination=1]

    Plugin Support angelo_nwl

    (@angelo_nwl)

    You can try something like

    
    [events_list scope=”future” limit=10 pagination=1 format_header="<table>" format_footer="</table>"]
    
    <tr>
     <td>#_EVENTLINK</td>
     <td><img src="#_EVENTIMAGEURL" alt="" title="" /></td>
    </tr>
    
    [/events_list ]
    
    Thread Starter Tjasa

    (@tjasa)

    I understand wath you are trying to point out to me. But the above code doesnt pull data automaticaly from the the event location featured image information. Is there anything else I can try.
    I have found this solution at stackoverflow but dont know where to put it:

    <?php echo get_post_meta( get_post_thumbnail_id(), ‘_wp_attachment_image_alt’, true); ?>

    Thank you for your help.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Alt tags on images on location list’ is closed to new replies.