Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $wp_query->query('posts_per_page='.$home_count.'&post_type=products'.'&paged='.$paged);
- $wp_query->query('orderby=rand&order=ASC'.'posts_per_page='.$home_count.'&post_type=products'.'&paged='.$paged);
- <?php if (have_posts()) : ?>
- <?php while (have_posts()) : the_post(); ?>
- <li class="box" id="post-<?php the_ID(); ?>">
- <?php $disc = get_post_meta($post->ID, 'fabthemes_discount', true); ?>
- <?php if ( $disc ) { ?>
- <span class="salebadge"></span>
- <?php }?>
- <a href="<?php the_permalink() ?>"><img class="productshot" src="<?php get_image_url(); ?>" alt=""/></a>
- <div class="pricetab clearfix">
- <?php if ( $disc ) { ?>
- <span class="oldprice"><del> <?php echo get_post_meta($post->ID, 'fabthemes_disc-price', true) ?> </del></span>
- <?php }?>
- <span class="prodetail"><a href="<?php the_permalink() ?>"><?php $price=get_post_meta($post->ID, 'fabthemes_price', true); echo $price; ?></a></span>
- </div>
- </li>
- <?php endwhile; ?>
- </ul>
- <div id="home-content2" class="clearfix">
- <h1 align="center"><b>Google</b> Hedeflenen Kelimelerimiz Hakkında Makalemiz</h1>
- <?php if ( $paged < 2 ) { ?>
- <?php echo category_description( $category_id ); ?>
- <?php } ?>
- </div>
- <?php getpagenavi(); ?>
- <?php else : ?>
- <h1 class="title">Üzgünüz</h1>
- <p>Henüz bu kategoride ilan verilmemiş.</p>
- <?php endif; ?>
- </div>
- <?php get_footer(); ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement