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?
image description in attachment page
This is our free support forum. Replies can take several days. If you need fast email support, please purchase a SiteOrigin Premium license.
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 :)