• 16-12-2009, 12:49:18
    #1
    Üyeliği durduruldu
    Bir tema üzerinde çalışıyorum ancak içerik girerken sorun oluyor. Çünkü özel alanları bilmiyorum. Kendi siteside açılmıyor 3 gündür. Özel alanları nasıl bulabilirim ? bildiğiniz bir yöntem var mı ? tavsiyeniz ya da
  • 16-12-2009, 13:48:06
    #2
    Üyeliği durduruldu
    Flood 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, 13:53:29
    #3
    thumbnail
    articleimg
    hpbottom
    deneme yanılma yap hocam genelde bu 3 ünden biri olur benim verebilecegim tavsiye budur.
  • 16-12-2009, 13:55:16
    #4
    Üyeliği durduruldu
    index.php de bulabilirsin. ya da özel alanlar nerelerde çıkıyorsa kodlara bakılması gerekir. Wp kodlarını bilen birisi zaten direk olarak o kodları ama bazen functions dosyası ile bağlantılı yapılıyor o zaman bulunması zor olabiliyor.
  • 16-12-2009, 14:00:42
    #5
    Hocam 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 &raquo;'); ?>
                            </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
    #6
    Ü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; ?>&amp;h=120&amp;w=180&amp;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
    #7
    Üyeliği durduruldu
    DarkRhyme adlı üyeden alıntı: mesajı görüntüle
    <?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; ?>&amp;h=120&amp;w=180&amp;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(); ?>
    Resimi 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.
  • 16-12-2009, 14:31:07
    #8
    Üyeliği durduruldu
    @Keyif çok sağolasın oldu sonunda
  • 15-01-2011, 17:40:26
    #9
    Kimlik 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(); ?>