sarimakas adlı üyeden alıntı:
mesajı görüntüle
Resim alt etiketi- Resim Süre Sonu
23
●1.709
- 18-07-2014, 16:18:19bahsettiğiniz gibi alt etiketi olmayanları sayfa kaynağından görüyorum. ama burda gördükleri alternatif metin kısmı doldurulmuş olan resimler. anlayamadım. alt etiketi girdiim halde neden hala görünmüyor. bir de bazı resimlerde resimdeki gibi "img1" yazıyor. bu .htaccess ayarıyla mı ilgilidir
- 18-07-2014, 16:24:10Yaptığınız ayar büyük ihtimalle sadece yazı içerisinde kullanıldığında işe yarayacaktır. Anladığım kadarıyla bu kodu ana sayfadan veya bir kategori sayfasından alıyorsunuz.sarimakas adlı üyeden alıntı: mesajı görüntüle
Bu tür sayfalarda da alt etiketinin işine yaraması için tema dosyalarınızda düzenleme yapmanız gerekmektedir. - 18-07-2014, 17:20:18Kullandığınız temayı bilmeden veya ilgili kısmın kodlarını burada paylaşmadan nasıl yardımcı olabiliriz sizce?sarimakas adlı üyeden alıntı: mesajı görüntüle
- 19-07-2014, 00:45:33anadizin kodunu mu vereyim. hangisi lazım. wordpress kullanıyorum. ******* trendvidi teması. üzerinde çok değişiklik yaptım gerçi.
--R10.NET; Flood Engellendi -->-> Yeni yazılan mesaj 00:45:33 -->-> Daha önceki mesaj 00:44:12 --
bu index.php
<?php get_header();
$ozelalan = fs_get_option('fs_refozel');
$mansetreklam = fs_get_option('fs_mansetreklam');
?>
<!-- Global container -->
<div id="globalContainer" class="wrap100">
<div class="wrapper">
<div class="content wrap660">
<div class="videoAreaanasayfa">
<?php include("slider.php" ); ?>
</div>
<div class="clear"></div>
<div class="mansetreklam"><?=$mansetreklam;?></div>
<div class="videosToday">
<h1 class="title">Günün Önerileri</h1>
<div class="navigation">
<ul>
<li class="active"><a href="javascript:void(0);"></a></li>
<li><a href="javascript:void(0);"></a></li>
<li><a href="javascript:void(0);"></a></li>
<li><a href="javascript:void(0);"></a></li>
</ul>
</div>
<div class="slider">
<ul>
<li>
<div class="videoList">
<ul>
<?php $k = 0;
query_posts('showposts=32');
while ( have_posts() ) : the_post(); ?>
<li>
<div class="image">
<a href="<?php the_permalink(); ?>">
<span class="play"></span>
<?php if (get_post_meta($post->ID, 'hd', true) != '') : ?><span class="hd"></span><?php endif; ?>
<?php if (has_post_thumbnail()) : $resim = get_the_post_thumbnail($post->ID, 'thumb'); elseif (get_post_meta($post->ID, $ozelalan, true) != '') : $resim='<img src="' . get_post_meta($post->ID, $ozelalan, true) . '" />'; else : $resim=''; endif;
if($resim<>'') {$res = bolelim($resim,'src="','"'); } else { $goster=0; }?>
<?php if($res[0]<>'Array' || $goster<>0) { ?><img src="<?php echo $res[0]; ?>" alt="img1" /><?php } ?>
</a>
</div>
<a href="<?php the_permalink(); ?>" class="name"><?php echo ayesoft_baslik(get_the_title()); ?></a>
<a href="<?php echo get_the_author_link(); ?>" class="genr"><?php echo get_the_author(); ?></a>
<span class="date"><?php echo get_the_date('d/m/Y'); ?></span>
</li>
<?php $k++;
if($k==8){$k=0; echo '</ul>
</div>
</li>
<li>
<div class="videoList">
<ul>';}?>
<?php endwhile; ?>
</ul>
</div>
</li>
</ul>
</div>
</div>
<h1 class="Manset"></h1>
<h2 class="DSCategories"</h2>
<div class="DSCategories">
<?php
$j=0;
for($i=1;$i<=fs_get_option('fs_anakat');$i++) {
$j++;
if($j==5)$j=1;?>
<div class="cat type0<?php echo $j; ?>">
<div class="title">
<?php $alan = 'fs_kat'.$i;
$manset = get_cat_id(fs_get_option($alan)); ?>
<span><?php echo get_cat_name( $manset ); ?></span>
<a href="<?php echo get_category_link($manset); ?>">Tümünü Gör</a>
</div>
<div class="videoList">
<ul>
<?php
query_posts('showposts=2&cat='.$manset.'');
while ( have_posts() ) : the_post(); ?>
<li>
<div class="image">
<a href="<?php the_permalink(); ?>">
<span class="play"></span>
<?php if (get_post_meta($post->ID, 'hd', true) != '') : ?><span class="hd"></span><?php endif; ?>
<img src="<?php echo get_post_meta($post->ID, $ozelalan, true); ?>" alt="" />
</a>
</div>
<a href="<?php the_permalink(); ?>" class="name"><?php echo ayesoft_baslik(get_the_title()); ?></a>
<a href="<?php echo get_the_author_link(); ?>" class="genr"><?php echo get_the_author(); ?></a>
<span class="date"><?php echo get_the_date('d/m/Y'); ?></span>
</li>
<?php endwhile; ?>
</ul>
</div>
</div>
<?php } ?>
</div>
</div>
<?php get_sidebar(); ?>
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<!-- nostgenisdikey -->
<ins class="adsbygoogle"
style="display:inline-block;width:300px;height:600px"
data-ad-client="ca-pub-1835876626438590"
data-ad-slot="2662103016"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
</div>
</div>
<?php get_footer(); ?>
<style> - 19-07-2014, 01:13:34Kırmızıyla belirttiğim yerleri düzenleyin.sarimakas adlı üyeden alıntı: mesajı görüntüle
<?php if (get_post_meta($post->ID, 'hd', true) != '') : ?><span class="hd"></span><?php endif; ?>
<?php if (has_post_thumbnail()) : $resim = get_the_post_thumbnail($post->ID, 'thumb'); elseif (get_post_meta($post->ID, $ozelalan, true) != '') : $resim='<img src="' . get_post_meta($post->ID, $ozelalan, true) . '"alt="<?php echo get_post_meta($post->ID, 'title', true); ?>" />'; else : $resim=''; endif;
if($resim<>'') {$res = bolelim($resim,'src="','"'); } else { $goster=0; }?>
<?php if($res[0]<>'Array' || $goster<>0) { ?><img src="<?php echo $res[0]; ?>" alt="<?php echo get_post_meta($post->ID, 'title', true); ?>" /><?php } ?>