Hi Everyeone! I downloaded a wordpress photo and video theme and followed the directions for installation. On the Index page, there's 3 Categories 1) Photos 2) Videos 3) games with 6 thumbnails for each.

However, when I upload photos and videos, the videos are showing up in the Photos thumbnails and vice versa. I am new to this, please Help, I would greatly appreciate it. Below is the scripting to load new photos and videos to the 3 categories. You can see what I am talking about at www.japaneseinked.com. I tried to ask theme creator, but he had closed off discussions 3 months before i downloaded the theme. Any advice or direction is greatly appreciated. THANK YOU IN ADVANCE!!!

<?php get_header(); ?>

<div id="right-content">
<div class="entrytop"></div>

<div id="post-entry">

<?php if (have_posts()) : ?>

<h1 class="title">New Photos:</h1>

  <?php $recent = new WP_Query("cat=photos&showposts=6"); while($recent->have_posts()) : $recent->the_post();?>


<div class="item1" onmouseover="this.className='item2'" onmouseout="this.className='item1'">



<?php if( get_post_meta($post->ID, "thumb", true) ): ?>

        <p><a href="<?php the_permalink() ?>" title="<?php the_title(); ?>">

     <img src="<?php $values = get_post_custom_values("thumb"); echo $values[0]; ?>" height="120" width="160" alt="<?php the_title(); ?>" /></a></p>


<?php else: ?>

        <p><a href="<?php the_permalink() ?>" title="<?php the_title(); ?>">

     <img src="<?php $values = get_post_custom_values("photo"); echo $values[0]; ?>" height="120" width="160" alt="<?php the_title(); ?>" /></a></p>

<?php endif; ?>

<div class="kategori"><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php the_title(); ?>"><?php the_title(); ?></a></div>
<div class="rate"><?php if(function_exists('the_ratings')) { the_ratings(); } ?></div>  
<div class="views"><?php if(function_exists('the_views')) { the_views(); } ?> </div> <div class="clear"></div> </div> <?php endwhile; ?> <div class="clear"></div><br /> <h1 class="title">New Videos:</h1> <?php $recent = new WP_Query("cat=videos&showposts=6"); while($recent->have_posts()) : $recent->the_post();?> <div class="item1" onmouseover="this.className='item2'" onmouseout="this.className='item1'"> <?php if( get_post_meta($post->ID, "thumb", true) ): ?> <p><a href="<?php the_permalink() ?>" title="<?php the_title(); ?>"> <img src="<?php $values = get_post_custom_values("thumb"); echo $values[0]; ?>" height="120" width="160" alt="<?php the_title(); ?>" /></a></p> <?php else: ?> <p><a href="<?php the_permalink() ?>" title="<?php the_title(); ?>"> <img src="<?php $values = get_post_custom_values("photo"); echo $values[0]; ?>" height="120" width="160" alt="<?php the_title(); ?>" /></a></p> <?php endif; ?>
<div class="kategori"><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php the_title(); ?>"><?php the_title(); ?></a></div> <div class="rate"><?php if(function_exists('the_ratings')) { the_ratings(); } ?></div>
<div class="views"><?php if(function_exists('the_views')) { the_views(); } ?> </div> <div class="clear"></div> </div> <?php endwhile; ?> <div class="clear"></div><br /> <h1 class="title">New Tattoo Designs:</h1> <?php $recent = new WP_Query("cat=tattoodesigns&showposts=6"); while($recent->have_posts()) : $recent->the_post();?> <div class="item1" onmouseover="this.className='item2'" onmouseout="this.className='item1'"> <?php if( get_post_meta($post->ID, "thumb", true) ): ?> <p><a href="<?php the_permalink() ?>" title="<?php the_title(); ?>"> <img src="<?php $values = get_post_custom_values("thumb"); echo $values[0]; ?>" height="120" width="160" alt="<?php the_title(); ?>" /></a></p> <?php else: ?> <p><a href="<?php the_permalink() ?>" title="<?php the_title(); ?>"> <img src="<?php $values = get_post_custom_values("photo"); echo $values[0]; ?>" height="120" width="160" alt="<?php the_title(); ?>" /></a></p> <?php endif; ?>
<div class="kategori"><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php the_title(); ?>"><?php the_title(); ?></a></div> <div class="rate"><?php if(function_exists('the_ratings')) { the_ratings(); } ?></div>
<div class="views"><?php if(function_exists('the_views')) { the_views(); } ?> </div> <div class="clear"></div> </div> <?php endwhile; ?> <div class="clear"></div>

    for a wordpress or any third party script you are better of asking in that's software's own support forums.

      dagon;10971490 wrote:

      for a wordpress or any third party script you are better of asking in that's software's own support forums.

      Thanks for the information and I have tried but the theme was developed by one person and since it is an old theme, he closed off discussions and is not supporting it, which is why I have turned to asking on this forum.

        Write a Reply...