hocam banada yardım edebilirmisiniz. Bende resme tıklanınca diğer resme geçsin istiyorum fakat benim kodlar biraz daha farklı.


<?php get_header(); ?>



<div class="GalleryTopAdv">

<div style="float:left;">

<?php global $wpdb;

$list = $wpdb->get_row("Select * from yasam_reklam WHERE reklamNo=6");

echo $list->reklamKod;

?>
</div>

<div style="float:right">



</div>

</div>



<div class="GalleryContainer">


<div class="CsideCat2">


<div class="gallerySide2"> <?php global $wpdb;

$list = $wpdb->get_row("Select * from yasam_reklam WHERE reklamNo=7");

echo $list->reklamKod;

?> </div></div>



<div class="galleryContent"><?php global $post;?>

<?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>

<?php

$dege22 = array(

'src' => $src,

'class' => "nodislay",

'alt' => trim(strip_tags( get_post_meta($attachment_id, '_wp_attachment_image_alt', true) )),

);

?>

<div class="ngg-imagebrowser-nav">

<div class="ngg-back">

<?php next_image_link($dege22) ?>

</div>

<h3><?php the_title(); ?></h3>

<div class="ngg-next">
<?php previous_image_link($dege22) ?>

</div>


<div class="ngg-imagebrowser-desc">

<?php if ( !empty($post->post_excerpt) ) the_excerpt(); ?>

</div>
</div>


<a style="font-size:22px;color:#fff" href="<?php echo get_permalink($post->post_parent); ?>" rev="attachment"> <<< Konuya Dön >>></a>

<?php

$dege = array(

'src' => $src,

'class' => "attachment-Large",

'alt' => trim(strip_tags( get_post_meta($attachment_id, '_wp_attachment_image_alt', true) )),

);

?>



<div class="pic" ><?php echo wp_get_attachment_image( $post->ID,'full',$dege); ?> </div>

<div style="color:#fff;font-size:14px;padding:10px;"><?php the_content(); ?></div>

<?php endwhile; endif; ?>





</div>

<div class="CsideCat2">


<div class="gallerySide"> <?php global $wpdb;

$list = $wpdb->get_row("Select * from yasam_reklam WHERE reklamNo=7");

echo $list->reklamKod; ?>
</div></div> </div>

<div class="clear"></div>



</div>
</div>

<?php get_footer(); ?>





ebroker adlı üyeden alıntı: mesajı görüntüle
kusura bakma kafam dalgın. href sadece picture-holder div inde görünüyor. oradaki plogger_get_source_picture_url() kodunu plogger_get_next_picture_url() ile değiştirerek deneyebilirsin. olmadı big_picture_container div inin dışına <a href="<?php echo plogger_get_source_picture_url(); ?>"> ekleyerek divin tamamına link verirsin.