Suporte » Plugins e hacks » nextGEN custom fields + jj ngg jquery slideshow

  • sayroz

    (@sayroz)


    Pessoal,
    Estou com dificuldade em colocar link nas imagens do slideshow. a ideia é fazer um slideshow de noticias destaque, linkando a imagen a determinado post.

    segui esse tutorial para utilizar custom fields e estou utilizando o jj nextgen slideshow jquery para transicao de imagens.

    porem altero a pagina view/gallery.php e aparece somente a transicao de imagens sem linkar.

    link do site.

    codigo view/gallery.php

    <!-- Thumbnails -->
            <?php foreach ( $images as $image ) : ?>
    
            <div id="ngg-image-<?php echo $image->pid ?>" class="ngg-gallery-thumbnail-box" <?php echo $image->style ?> >
                    <div class="ngg-gallery-thumbnail" >
                            <a href="<?php echo $image->ngg_custom_fields["link"]; ?>" title="<?php echo $image->description ?>" <?php echo $image->thumbcode ?> >
    
                                    <img title="<?php echo $image->alttext ?>" alt="<?php echo $image->alttext ?>" src="<?php echo $image->thumbnailURL ?>" <?php echo $image->size ?> />
                            </a>
                            <a href="<?php echo $image->ngg_custom_fields["link"]; ?>">
                            <?php echo $image->alttext ?>
                    </div>
            </div>
    
            <?php if ( $image->hidden ) continue; ?>
            <?php if ( $gallery->columns > 0 && ++$i % $gallery->columns == 0 ) { ?>
                    <br style="clear: both" />
            <?php } ?>
    
            <?php endforeach; ?>

  • O tópico ‘nextGEN custom fields + jj ngg jquery slideshow’ está fechado a novas respostas.