How to add alt text to images

This topic is: not resolved

This topic contains 1 reply, has 2 voices, and was last updated by  chris.pilko 1 year, 9 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #166299

    lydiamann
    Member

    Full disclosure: I am a non-developer designer so please take my limited programming knowledge into account if you attempt to assist!

    Goal: Add alt text to images

    What I’ve done so far: added a column img_alt_text that I would like to attach to the column event_img_lg. Should this be done in a pod template? helper? WP theme template? More importantly, how?

    Failed attempts: I found the following in response to a similar request http://podscms.org/qna/questions/1000/display-image-with-alt-tag:

    I haven’t been able to modify this to work since I pretty much don’t understand the PHP bits.

    I was a little surprised not to find more on this in forums et al and hope that means it’s such a simple and obvious fix I should have figured it out on my own. Thank you, in advance.

    #166300

    chris.pilko
    Member

    Unfortunately, if you’re going to be using Pods, you need a basic understanding of PHP or you need to make friends with a programmer who can help you.

    The easiest way to describe this is to put the code into your Pods page. Images get stored in an array, so using Pods templates necessitates the use of a helper, and that’s just going to add to the complexity.

    Let’s assume your pod is called ‘my_pod’ and both of those columns are in there.

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.

Wordpress Cloud Hosting