Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <div id="mrln-heading-content" style="border-top-width: 1px; border-top-style: solid; border-top-color: #f8da06; border-left-width: 1px; border-left-style: solid; border-left-color: #f8da06; border-right-width: 1px; border-right-style: solid; border-right-color: #f8da06;">
- <div id="mrln-heading-carousel">
- <div id="mrln-heading-carousel-slider" style="float:left">
- <?php
- $cache_taygay = "cache_taygay";
- $cache_zamani2 = 5 * 1;
- if(false === get_transient($cache_taygay)){
- ob_start();
- ?>
- <?php $oyun_manset1 = new Wp_Query("showposts=8&cat=58"); while($oyun_manset1->have_posts()) : $oyun_manset1->the_post(); ?>
- <div>
- <a href="<?php the_permalink('') ?>">
- <img src="<?php $values = get_post_custom_values("oyun_manset_resim"); if($values==""){}else{$values = get_post_custom_values("oyun_manset_resim"); echo $values[0];} ?>" height="270" width="640" alt="<?php the_title(''); ?>" />
- </a>
- </div>
- <?php endwhile; ?>
- <?php
- set_transient($cache_taygay, ob_get_contents(), $cache_zamani2);
- ob_end_flush();
- }else{
- echo get_transient($cache_taygay);
- }
- ?>
- </div>
- </div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement