Hi,
I have a content-attachment.php page in my child Theme for every picture in my blog. So every picture has an own site like: https://one-million-places.com/reiseberichte/europa/griechenland/windmuehlen-mykonos/attachment/mykonos-town-31
My question: how can use the Description of this picture as my Title?
So in this case the Titel of the picture is “Mykonos Town 31” and the description of this picture is “Die märchenhaften Gassen von Mykonos”
I like to have the description as the h1 titel on top of the page.
Here are the first rows of my content-attachment.php file:
<?php // VIEWS/GLOBAL/ATTACHMENT.PHP // ----------------------------------------------------------------------------- // Display of attachment content. // ============================================================================= ?> <?php do_action( 'x_before_the_content_begin' ); ?>Blockquote
How can I do that?
Michael