Notice: This thread is over two years old; the information may be outdated. Please consider creating a new thread if you require free support. If you have an active SiteOrigin Premium license, you can email our premium support desk at [email protected].
Hi,
I want the attachment pages of images to display the description field. How can I do that? Maybe by customising the image.php in my child theme?
Hi :)
Sure. Are you using a child theme? If so you can make a copy of image.php and move into the child theme folder. Then, you can insert:
Ref: http://www.wpbeginner.com/wp-tutorials/image-meta-data-101-title-caption-alt-text-and-description/.
You can insert the above on line 54 after:
It work! Thanks a lot. Is it possible to customize font size of description?
Super :) Try:
Etc. Insert the above at Appearance > Custom CSS and edit as required. If there are any issues with this, please, send a link to a image attachment page so I can inspect it live.
Thanks :)