I have figured out how to add text to the alt description for images. For example, in my case I wanted it to say “Product for Sale”.
Look in /includes/modules/
Depending on which images you want to do this to, the file(s) to change are category_row.php, product_listing.php, featured_listing.php – I think you get the picture.
Locate this code (or similar) in each file (which will be followed by code describing the image width and height:
PHP Code:
<a href="' . zen_href_link(FILENAME_DEFAULT, $cPath_new) . '">' . zen_image(DIR_WS_IMAGES . $categories->fields['categories_image'], $categories->fields['categories_name'],
I did a search for the name keyword and then found the one that has the image width and height code after it.
Before the last comma, add the following:
So that your code looks like this:
PHP Code:
<a href="' . zen_href_link(FILENAME_DEFAULT, $cPath_new) . '">' . zen_image(DIR_WS_IMAGES . $categories->fields['categories_image'], $categories->fields['categories_name']. ' for Sale',
Hope this helps a little.
Bookmarks