Webmaster Forumu

Geri git   Webmaster Forumu > Webmaster Genel > Hazır Uygulamalar > WordPress

WordPress WordPress Temalar Eklentiler

Cevapla
 
LinkBack Seçenekler Stil
  #1 (permalink)   eTicaret 
Alt 2008-06-06, 09:24
Junior Member
 
Üyelik tarihi: Oct 2007
Mesajlar: 55
Tecrübe Puanı: 0
eTicaret: %100/1
d4hi is an unknown quantity at this point
Question Wordpress Temasını Thumbnaile Nasıl Uyumlu Yapabilirz ?

Merhaba arkadaşlar kullandığım tema AdivoBestReady thumbnail olayını bi türlü yapamadım,thumnnaile uyumlu temalarda özel alana thumbnail yazıp çıkan kısma küçük resmi ekleyeyip indexe gönderebiliyoruz ama benim tema uyumlu değil, sanırım uyumlu yapmak için index.php bi kaç meta ekleniyor ama tüm denemelerimden bir sonuç alamadım index.php bi bölümü aşagıda nereye nasıl bi kod eklemeliyiz arkadaşlar ? www.devletsah.com ve www.fulldizi.com gibi yapmaya çalışıyorum.

Kod:
<?php if (have_posts()) : ?>
		<?php $count = 1 ?>
		<?php while (have_posts()) : the_post(); ?>
				
			<div class="post" id="post-<?php the_ID(); ?>">
				<h2><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></h2>
				
				<div class="entry">
					<?php the_content('Read the rest of this entry &raquo;'); ?>
				</div>
		
				<p class="postmetadata"><small><?php the_time('F jS, Y') ?> <!-- by <?php the_author() ?> --> | Posted in <?php the_category(', ') ?> | <?php edit_post_link('Edit','',' |'); ?>  <?php comments_popup_link('No Comments', '1 Comment', '% Comments'); ?></small></p>
			</div>
			
			<?php if ($count==2) { include('adsense_homepage_banner.php'); } ?>
			
			<?php $count = $count + 1; ?>
	
		<?php endwhile; ?>
Alıntı ile Cevapla

  #2 (permalink)   eTicaret 
Alt 2008-06-06, 09:40
TuRKuaZz - ait Kullanıcı Resmi (Avatar)
Senior Member
 
Üyelik tarihi: Jan 2005
Nerden: Kerkük
Mesajlar: 574
Tecrübe Puanı: 3
eTicaret: %0/0
TuRKuaZz is on a distinguished road
Standart

Kod:
<?php if (have_posts()) : ?>
		<?php $count = 1 ?>
		<?php while (have_posts()) : the_post(); ?>
				
			<div class="post" id="post-<?php the_ID(); ?>">
				<h2><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></h2>
				
				<div class="entry">
					<img style="margin:5px 0px 10px 0px" border="0" src="<?php $values = get_post_custom_values("resim"); echo $values[0]; ?>" alt="<?php the_title(); ?>" />
<?php the_content('Read the rest of this entry &raquo;'); ?>
				</div>
		
				<p class="postmetadata"><small><?php the_time('F jS, Y') ?> <!-- by <?php the_author() ?> --> | Posted in <?php the_category(', ') ?> | <?php edit_post_link('Edit','',' |'); ?>  <?php comments_popup_link('No Comments', '1 Comment', '% Comments'); ?></small></p>
			</div>
			
			<?php if ($count==2) { include('adsense_homepage_banner.php'); } ?>
			
			<?php $count = $count + 1; ?>
	
		<?php endwhile; ?>
Bak senin kodların içine
Kod:
<img style="margin:5px 0px 10px 0px" border="0" src="<?php $values = get_post_custom_values("resim"); echo $values[0]; ?>" alt="<?php the_title(); ?>" />
kodunu ekledim.

Yazı ya da içerik eklerken Özel Alanlar'dan resim diye ekleyeceksin.
Bu olayı kullandığım; http://www.diziizletr.net/
__________________
Şeyh Şamilgiller'deniz, vız gelir apo deniz, dünyayı devirseniz, pusar mı sanırsınız?
Alıntı ile Cevapla

  #3 (permalink)   eTicaret 
Alt 2008-06-06, 11:02
Junior Member
 
Üyelik tarihi: Oct 2007
Mesajlar: 55
Tecrübe Puanı: 0
eTicaret: %100/1
d4hi is an unknown quantity at this point
Standart

hakkaten oldu çok teşekkür ederim dostum ben ilk eklerken özel alanlarda hata yapıyormuşum ilk thumbnail özel alan ekle diyordum sonra resim linkini verip güncelle diyordum oda doğal olrak hata veriyordu sorun kodlarda deyip geçiştiriyordum şimdi kodlar tam oturunca özel alanlarda hata yaptığımın farkına vardım sayende tekrardan teşekkür ederim..
Alıntı ile Cevapla

  #4 (permalink)   eTicaret 
Alt 2008-06-06, 11:06
TuRKuaZz - ait Kullanıcı Resmi (Avatar)
Senior Member
 
Üyelik tarihi: Jan 2005
Nerden: Kerkük
Mesajlar: 574
Tecrübe Puanı: 3
eTicaret: %0/0
TuRKuaZz is on a distinguished road
Standart

Rica ederim.
__________________
Şeyh Şamilgiller'deniz, vız gelir apo deniz, dünyayı devirseniz, pusar mı sanırsınız?
Alıntı ile Cevapla

  #5 (permalink)   eTicaret 
Alt 2008-06-06, 11:44
Junior Member
 
Üyelik tarihi: Oct 2007
Mesajlar: 55
Tecrübe Puanı: 0
eTicaret: %100/1
d4hi is an unknown quantity at this point
Standart

son eklediğim konular başarılı oldu hallettim.. Eski konulara ufak bir sorgu ile sabit bir resim yapabilirmiyiz 2000 yakın post var da
Alıntı ile Cevapla

  #6 (permalink)   eTicaret 
Alt 2008-06-06, 12:02
TuRKuaZz - ait Kullanıcı Resmi (Avatar)
Senior Member
 
Üyelik tarihi: Jan 2005
Nerden: Kerkük
Mesajlar: 574
Tecrübe Puanı: 3
eTicaret: %0/0
TuRKuaZz is on a distinguished road
Standart

PHP ve MySQL bilgim olmadığı için yardım olamayacağım.
__________________
Şeyh Şamilgiller'deniz, vız gelir apo deniz, dünyayı devirseniz, pusar mı sanırsınız?
Alıntı ile Cevapla

  #7 (permalink)   eTicaret 
Alt 2008-06-06, 12:14
Junior Member
 
Üyelik tarihi: Oct 2007
Mesajlar: 55
Tecrübe Puanı: 0
eTicaret: %100/1
d4hi is an unknown quantity at this point
Standart

eywallah üstadim senin sayende önemli olan kısmını yaptık, belki sorgu şeklinide bilen bir arkadaşımız vardir
Alıntı ile Cevapla

  #8 (permalink)   eTicaret 
Alt 2008-06-06, 12:49
umuture - ait Kullanıcı Resmi (Avatar)
Acemi WordPress Canavarı
 
Üyelik tarihi: Nov 2006
Nerden: no comment
Mesajlar: 1.143
Tecrübe Puanı: 3
eTicaret: %100/9
umuture is on a distinguished road
Standart

sanırım değer vermelisin yani resim varsa çek,yoksa sabit olarak bunu kullan gibisinden yani ben öle biliyorum onuda söyle yaptım ben kullanıyorumda
Kod:
<?php if (have_posts()) : ?>
		<?php $count = 1 ?>
		<?php while (have_posts()) : the_post(); ?>
				
			<div class="post" id="post-<?php the_ID(); ?>">
				<h2><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></h2>
				
				<div class="entry">
					<img style="margin:5px 0px 10px 0px" border="0" src="<?php $values = get_post_custom_values("resim"); echo $values[0]; ?>" alt="<?php the_title(); ?>" /><?php } else { ?> <!-- DISPLAY THE DEFAULT IMAGE, IF CUSTOM FIELD HAS NOT BEEN COMPLETED -->
				
				<img src="<?php bloginfo('template_directory'); ?>/resim_yok.jpg" alt="" class="th" />
				
			<?php } ?>
<?php the_content('Read the rest of this entry &raquo;'); ?>
				</div>
		
				<p class="postmetadata"><small><?php the_time('F jS, Y') ?> <!-- by <?php the_author() ?> --> | Posted in <?php the_category(', ') ?> | <?php edit_post_link('Edit','',' |'); ?>  <?php comments_popup_link('No Comments', '1 Comment', '% Comments'); ?></small></p>
			</div>
			
			<?php if ($count==2) { include('adsense_homepage_banner.php'); } ?>
			
			<?php $count = $count + 1; ?>
	
		<?php endwhile; ?>
eklediğim kod
Kod:
<?php } else { ?> <!-- DISPLAY THE DEFAULT IMAGE, IF CUSTOM FIELD HAS NOT BEEN COMPLETED -->
				
				<img src="<?php bloginfo('template_directory'); ?>/resim_yok.jpg" alt="" class="th" />
				
			<?php } ?>
bunu denemeden önce dosyalarının yedeğini al çünkü tam emin değilim kodu tam yerine yerleştirdim mi diye deniyemedim
değer girilmediğinde gelicek resim yeri tema klasörünün içidir hostunda oraya resim_yok.jpg adında bir resim koy ve dene
Alıntı ile Cevapla

  #9 (permalink)   eTicaret 
Alt 2008-06-06, 13:46
Junior Member
 
Üyelik tarihi: Oct 2007
Mesajlar: 55
Tecrübe Puanı: 0
eTicaret: %100/1
d4hi is an unknown quantity at this point
Standart

else olayı çok zekice ama bu hatayı alıyoruz Else kodunu ekleyince de

Parse error: syntax error, unexpected '}' in /home/KULLANICI/public_html/wp-content/themes/Temamız/index.php on line 34
Alıntı ile Cevapla

  #10 (permalink)   eTicaret 
Alt 2008-06-06, 20:00
umuture - ait Kullanıcı Resmi (Avatar)
Acemi WordPress Canavarı
 
Üyelik tarihi: Nov 2006
Nerden: no comment
Mesajlar: 1.143
Tecrübe Puanı: 3
eTicaret: %100/9
umuture is on a distinguished road
Standart

arkadaşım tema adını tam olarak verirsen bi bakıcam ama yukarda verdiğin isimli tema bulamadım
Alıntı ile Cevapla

Cevapla

Tags
tema, thumb, thumbnail, uyum, wordpress

Seçenekler
Stil


Benzer Konular
Konu Konuyu Başlatan Forum Cevaplar Son Mesaj
parayla satın aldığınız wordpress temasını takas etmeyek isteyen var mı? leonitef WordPress 8 2008-04-05 02:42
New Horizon Wordpress teması (Wordpress 2.3 uyumlu) osahin WordPress 5 2007-11-10 14:10
Adsense Uyumlu Süper bir wordpress teması TrDownload WordPress 18 2007-08-19 01:33


Bütün Zaman Ayarları WEZ +2 olarak düzenlenmiştir. Şu Anki Saat: 08:21 .


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.2.0

Firefox