If you have troubles since the update to WordPress 4.5 please read this post before opening a new thread.
is there a possibility to edit the picture size in single post pages?? – Or to add a lightbox for the picture??
Here is the example: http://seegers-fotografie.de/igelkopf/
I need your help!
You can edit includes > helper-post-format.php, find this code on line 188:
$prepend_image = '<div class="avia-post-format-image">'.$prepend_image."</div>";
Replace it with this:
$image_link = wp_get_attachment_url( get_post_thumbnail_id($post->ID) ); $prepend_image = '<div class="avia-post-format-image"><a href="'.$image_link.'">'.$prepend_image."</a></div>";
thank you for you help!
I changed the code, cleaned all caches but there are no changes.
Are you using the “Image” post format? It should open the image on lightbox.
The topic ‘Edit size of picture in single post page’ is closed to new replies.