Bilmediğimiz temada özel alanları bulmak?
9
●2.787
- 16-12-2009, 13:48:06Üyeliği durdurulduFlood gibi olacak ama tema burda
http://www.jinsonathemes.com/demo/?themedemo=milano/
marez bi tema değil. tamamen ücretsiz bir tema. ancak temanın açıklama sayfasına ulaşamıyorum. - 16-12-2009, 14:00:42Hocam temanın index'inde
<li id="post-<?php the_ID(); ?>"> <img class="aimage" src="<?php if($thumb = get_post_meta($post->ID, "Thumbnail", true)){echo $thumb;}else{echo get_bloginfo('stylesheet_directory')."/img/no-thumb.gif";} ?>" alt="Article" width="120" height="110" /> <h3><a href="<?php the_permalink() ?>"><?php the_title(); ?></a></h3> <?php the_excerpt('Read the rest of this entry »'); ?> </li>Bu tarz kodları ara, misal benim temada özel alan Thumbnail, ben bunu kendimce yeniden adlandırabilirim. Mini bir ipuçu - 16-12-2009, 14:02:04Üyeliği durduruldu<?php $preview = get_post_meta($post->ID, 'preview', $single = true); ?>
böyle bir satır var.
burda preview özel alan adı olabilir mi?
denedim ama sonuç alamadım gercide.
@beachturk denedim onları ama yemedi :S
index.php dosyasının içi bu
<?php get_header(); ?> <div id="myslider"> <?php include (TEMPLATEPATH . '/slider.php'); ?> </div> <div class="clear"></div> <div id="catmenucontainer"> <div id="catmenu"> <ul> <?php wp_list_categories('sort_column=name&title_li=&depth=4'); ?> </ul> </div> </div> <div class="clear"></div> <div id="casing"> <div id="content"> <?php if (have_posts()) : ?> <?php while (have_posts()) : the_post(); ?> <div class="single" id="post-<?php the_ID(); ?>"> <div class="title"> <h2><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></h2> <div class="date"><span class="author">Yazan: <?php the_author(); ?></span> <span class="clock"> On <?php the_time('F - j - Y'); ?></span><span class="comm"><?php comments_popup_link('Yorum yaz', '1 Yorum', '% Yorum var'); ?></span> </div> </div> <div class="cover"> <div class="entry"> <?php $preview = get_post_meta($post->ID, 'preview', $single = true); ?> <img class="custim" src="<?php bloginfo('stylesheet_directory'); ?>/timthumb.php?src=<?php echo $preview; ?>&h=120&w=180&zc=1" alt=""/> <?php the_content_limit(500); ?> <div class="clear"></div> </div> </div> <div class="singleinfo"> <div class="more"> <a href="<?php the_permalink() ?>" title="Permanent Link to <?php the_title(); ?>">Devamını Oku ></a> </div> </div> </div> <?php endwhile; ?> <div id="navigation"> <?php if(function_exists('wp_pagenavi')) { wp_pagenavi(); } ?> </div> <?php else : ?> <h1 class="title">Sayfa Bulunamadı</h1> <p>Aradığınız sayfa bulunamadı. Arama kutusunu kulanarak şansınızı tekrar deneyebilirsiniz.</p> <?php endif; ?> </div> <?php get_sidebar(); ?> <?php get_footer(); ?> - 16-12-2009, 14:08:41Üyeliği durdurulduResimi upload etmen gerekli resim ekle kısmından. Sonra ise preview özel alan kodu ile linki vermen gerekli. Link verirken tam adres yazmayacaksın yani http://www.adasdas.com/wp-content/ kısmını yazmayacaksın.DarkRhyme adlı üyeden alıntı: mesajı görüntüle
- 15-01-2011, 17:40:26Kimlik doğrulama veya yönetimden onay bekliyor.bu temanın özel alanı nedir? bulamadım
<?php get_header(); ?> <?php if(is_home()) { include (TEMPLATEPATH . '/slider.php'); } ?> <?php if (have_posts()) : ?> <?php while (have_posts()) : the_post(); ?> <!-- post start --> <div class="post_box" id="post-<?php the_ID(); ?>"> <h3><?php the_category(', ') ?></h3> <div class="post_title"> <h1><a href="<?php the_permalink(); ?>" rel="bookmark" title="<?php the_title(); ?>"><?php the_title(); ?></a></h1> </div> <div class="post_details"> <?php the_time('F jS Y') ?> | Yazan <?php the_author_posts_link(); ?> <?php edit_post_link('Düzenle'); ?> </div> <?php if(function_exists('the_ratings')){ ?> <div class="post_rating"> <?php the_ratings(); ?> </div> <?php } ?> <div class="post_content"> <?php the_content('Tamamını Oku >>'); ?> </div> <?php include (TEMPLATEPATH . '/post_footer.php'); ?> </div> <!-- post end --> <?php if(is_single()) { include (TEMPLATEPATH . '/post_info.php'); } ?> <?php if(is_single()) { comments_template(); } ?> <?php endwhile; ?> <?php include (TEMPLATEPATH . '/paginate.php'); ?> <?php else: ?> <div class="post_message">Üzgünüz.Aradığınız Yazıya Ulaşılamıyor.</div> <?php endif; ?> <?php get_sidebar(); ?> <?php get_footer(); ?>