Forums Forums Search & Filter Pro Envira Photo Gallery Thumbnails are not displayed

Tagged: ,

Viewing 3 posts - 11 through 13 (of 13 total)
  • Anonymous
    #220376
    This reply has been marked as private.
    Trevor
    #220396

    Hi. The example helped me a lot, thank you!

    This is the code in the file 722.php:

    https://www.screencast.com/t/0xGX6t34DVT

    Or:

    <div class="result-content">
      <div class="result-img"><?php echo wp_get_attachment_link(get_the_ID(),'medium'); ?></div>
      <h2 class="result-title"><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h2>
      <div class="result-caption"><?php echo nl2br(wp_get_attachment_caption()); ?></div>
    </div>

    You will need to use the classes I have added to style it. Note that the caption also contains the name of the image, so that appears twice now. Once as the title, and once in the first line of the caption.

    Anonymous
    #220461

    Hi Trevor,

    super, exactly these functions I need for my aircraft database.

    Thank you very much for your grat support and a nice weekend, Roman

Viewing 3 posts - 11 through 13 (of 13 total)