== thumbnails of next and previous images ==
@famous next and previous thumbnail images are shown by template tags –
and
One quick solution for an image.php file:
– copy bp-default theme’s index.php and save to your child theme folder
– open up index.php and replace the following lines:
Replace
<div class="entry">
</div>
With
<div class="entry">
ID, 'large' ); ?>
</div>
Replace
<div class="navigation">
<div class="alignleft"></div>
<div class="alignright"></div>
</div>
With
<div class="navigation">
<div class="alignleft"></div>
<div class="alignright"></div>
</div>
Replace
<h2 class="posttitle"><a href="" rel="bookmark" title=" "></a></h2>
With
<h2 class="posttitle"><a href="post_parent); ?>" rel="attachment">post_parent); ?> </a></h2>
You can also check out twentyten’s loop-attachment.php to see how image attachments are rendered along with other forms of attachment https://core.trac.wordpress.org/browser/tags/3.1.1/wp-content/themes/twentyten/loop-attachment.php
hello @mercime I didn’t get your reply till much later. I ended up finding what you said above:
And it worked great, however I have one more situation I was hoping you could help me out with. I want to click:
<p class="">
the above and have it go to the next picture, instead of just showing the same image on the page only, any idea?