|
Field disapear
Started by: leonD-4
in: Types Community Support
Quick solution available
|
|
2 |
9 |
7 years, 4 months ago
Noman
|
|
How to change alt text?
Started by: Anonymous
in: Types Community Support
Quick solution available
Problem:
How to change alt text for custom image field?
Solution:
For the alt and title attributes, you can use placeholders to output the values of standard image fields added in WordPress: %%TITLE%%, %%ALT%%, %%CAPTION %%, and %%DESCRIPTION%%.
- For example, dynamic alt text fetched from media library like this:
[types field='horizon-residences-banner' alt='%%ALT%%'][/types]
- OR static alt text added directly to the image field like this:
[types field='horizon-residences-banner' alt='your alt text goes here'][/types]
Relevant Documentation:
https://toolset.com/documentation/customizing-sites-using-php/functions/#image
|
|
2 |
8 |
7 years, 4 months ago
Noman
|