Function: strip_tags()

1 post

Displaying the image descriptions on attachment page

The following code will display the description text field of any attachment at the bottom of the attachment page. Copy and paste this snippet at the very bottom of your functions.php file. (if you are using a child theme, don’t forget to start your functions.php file with <?php )   add_action( […]