• 07-08-2012, 14:26:19
    #1
    Öncelikle Merhabalar Wordpress sitem için böyle birşey yapmayı düşünüyorum lütfen yardımlarınızı esirgemeyin

    Sorunum şu :

    Film sitemde kullanıcılar hem tek part olarak hem de partlı bir şekilde film izlemesini istiyorum.

    Örnek olarak ise şöyle :


    Sitemde yukarıdakinin benzeri mevcut sadece en başta gördüğümüz 'TEK Part' butonu mevcut değildir.

    Bunu nasıl yapabilirim.
    Sitede bulunan Normal Part kodları
    <?php if (wp_link_pages('before=<div id="pagelink">&after=</div>&next_or_number=number&pagelink=Part %')); ?>
    Bu kodu nasıl düzenlersek acaba yukarıdakini elde edebilirim.Şimdiden tüm yardımlarınız için teşekkür ederim.
  • 07-08-2012, 14:46:16
    #2
    tabin yapisini bilmek lazim. indist i alip show ediyorsa tab kismini li olarak sayarsak bir li daha ekleyip icerik alaninada div sayalim orayada bir div eklersen tabi en bastan okuyorsa en basa sondan okuyorsa en sona sorunu coze bilirsin.

    Saygilar/
  • 07-08-2012, 14:49:06
    #3
    VirtualLine adlı üyeden alıntı: mesajı görüntüle
    tabin yapisini bilmek lazim. indist i alip show ediyorsa tab kismini li olarak sayarsak bir li daha ekleyip icerik alaninada div sayalim orayada bir div eklersen tabi en bastan okuyorsa en basa sondan okuyorsa en sona sorunu coze bilirsin.
    Saygilar/
    Hocam teşekkür ederim öncelikle;
    bu kısım sadece single.php'nin içinde mevcut.Sanırsam bu yukarıda verdiğimin örneğini başka bir site single.php'yi düzenleyerek yapmış
    Single.php komple kodları aşağıdaki gibidir.Fazla anlamıyorum
    <?php get_header(); ?>
    <div id="zemin">
    <div id="navbar">
    <?php include( TEMPLATEPATH . '/menu.php'); ?>
    </div>
    <div id="container">
    <?php include( TEMPLATEPATH . '/reklam728x90.php'); ?>
    <div class="breadcrumb">
    	<?php echo the_breadcrumb(); ?>
    </div>
    <?php if(have_posts()) : ?><?php while(have_posts()) : the_post(); ?>
    <div class="post">
      	<div class="bookmark">
        <a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=<?php the_permalink(); ?>&amp;t=<?php the_title(); ?>" target="_blank"><img src="<?php bloginfo('template_url'); ?>/images/bookmark/facebook.png" height="16px" width="16px" alt="facebook'a ekle" /></a>
        <a href="http://www.twitter.com/home?status=<?php the_permalink(); ?>&amp;title=<?php the_title(); ?>" target="_blank"><img src="<?php bloginfo('template_url'); ?>/images/bookmark/twitter.png" height="16px" width="16px" alt="twitter'a ekle" /></a>
        <a href="http://www.myspace.com/Modules/PostTo/Pages/?u=<?php the_permalink(); ?>&amp;title=<?php the_title(); ?>" target="_blank"><img src="<?php bloginfo('template_url'); ?>/images/bookmark/myspace.png" height="16px" width="16px" alt="myspace'e ekle" /></a>
        <a href="http://www.friendfeed.com/share?title=<?php the_permalink(); ?>&amp;title=<?php the_title(); ?>" target="_blank"><img src="<?php bloginfo('template_url'); ?>/images/bookmark/friendfeed.png" height="16px" width="16px" alt="friendfeed'e ekle" /></a>
        <a href="http://www.google.com/bookmarks/mark?op=edit&bkmk=<?php the_permalink(); ?>&amp;title=<?php the_title(); ?>" target="_blank"><img src="<?php bloginfo('template_url'); ?>/images/bookmark/google.png" height="16px" width="16px" alt="google bookmark'a ekle" /></a>
        <a href="https://favorites.live.com/quickadd.aspx?marklet=1&url=<?php the_permalink(); ?>&amp;title=<?php the_title(); ?>" target="_blank"><img src="<?php bloginfo('template_url'); ?>/images/bookmark/msn.png" height="16px" width="16px" alt="msn ekle" /></a>
        <a onclick="window.open('http://feedburner.google.com/fb/a/mailverify?uri=basizle/LlJt','Basizle RSS','width=550,height=520,scrollbars=0');return false;" href="#"><img src="<?php bloginfo('template_url'); ?>/images/bookmark/rss.png" height="16px" width="16px" alt="rss abone ol" /></a>   
        </div>
    	<h2><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h2>
    		<div class="ara"></div>
    	<div class="entry">
           [B]<?php if (wp_link_pages('before=<div id="pagelink">&after=</div>&next_or_number=number&pagelink=Part %')); ?>[/B]
         <div class="video">
    <?php the_content(); ?>
    			<div class="fbegen">
    				<iframe src="http://www.facebook.com/plugins/like.php?href=<?php echo urlencode(get_permalink()); ?>&amp;layout=standard&amp;show_faces=true&amp;width=450&amp;action=like&amp;font=tahoma&amp;colorscheme=light&amp;height=80" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:480px; height:30px;" allowTransparency="true"></iframe>
    				<a onclick="window.open('http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=<?php the_permalink(); ?>&amp;t=<?php the_title(); ?>','Facebookta Payla�','width=550,height=520,scrollbars=0');return false;" href="#face"><img src="<?php bloginfo('template_url'); ?>/images/facebook-paylas.png" border="0" class="facepaylas" /></a>
    			</div>
                    <div class="ara"></div>
                	<div class="solmeta"><?php _e('<b>Açıklama</b>'); ?></div><h3>:<?php $aciklama = get_post_meta($post->ID, 'aciklama', true); if ($aciklama) { ?> <?php echo $aciklama; ?> <?php } ?></h3>
    <div class="solmeta"><?php _e('<b>IMDB</b>'); ?></div><b><h3>:<?php $imdb = get_post_meta($post->ID, 'imdb', true); if ($imdb) { ?> <?php echo $imdb; ?> <?php } ?></h3></b>
            		<div class="solmeta"><?php _e('<b>Yapım</b>'); ?></div><b><h3>:<?php $yapim = get_post_meta($post->ID, 'yapim', true); if ($yapim) { ?> <?php echo $yapim; ?> <?php } ?></h3></b>
    <div class="solmeta"><?php _e('<b>Yönetmen</b>'); ?></div><b><h3>:<?php $yonetmen = get_post_meta($post->ID, 'yonetmen', true); if ($yonetmen) { ?> <?php echo $yonetmen; ?> <?php } ?></h3></b>
    <div class="solmeta"><?php _e('<b>Oyuncular</b>'); ?></div><b><h3>:<?php $oyuncular = get_post_meta($post->ID, 'oyuncular', true); if ($oyuncular) { ?> <?php echo $oyuncular; ?> <?php } ?></h3></b>
                    <div class="solmeta"><?php _e('<b>Tarih</b>'); ?></div>: <?php the_time('d F Y') ?><br />
                    <div class="solmeta"><?php _e('<b>Ekleyen</b>'); ?></div>: <?php the_author(); ?><br />
                    <div class="solmeta"><?php _e('<b>Kategori</b>'); ?></div>: <?php the_category(', ') ?><br />
                    <div class="solmeta"><?php _e('<b>Etiketler</b>'); ?></div>: <?php the_tags( '', ', ', ''); ?>
    <b><h3><?php $film = get_post_meta($post->ID, 'film', true); if ($film) { ?> <?php echo $film; ?> <?php } ?></h3></b>
    			</div>
    	</div>
        <div class="comments-template">
    		<?php comments_template(); ?>
    	</div>
    <?php endwhile; ?>
    	<div class="oldnav">
    		<?php previous_post('%','&laquo; Önceki film', 'no'); ?>
        </div>
        <div class="nextnav">
             <?php next_post('%','Sonraki film &raquo;', 'no'); ?>
        </div>
    <?php else : ?>
    	<div class="post" id="post-<?php the_ID(); ?>">
    		<h2><?php _e('Bulunamadı'); ?></h2>
    	</div>
    <?php endif; ?>
    </div>
    </div>
    <div class="sidebar">
    <ul>
    <li>
    <ul class="son_yazilar">
    <form method="get" id="searchform" action="<?php bloginfo('home'); ?>/">
    <input type="text" value="<?php echo wp_specialchars($s, 1); ?>" name="s" id="s" size="10" class="arama" /><input type="submit" id="searchsubmit" value="BUL" alt="ara bul" class="bul" />	    
    </form>
    </ul>
    </li>
    <li>
    <ul class="gununfilmi">
    <?php
    $sticky = get_option( 'sticky_posts' ); // Get all sticky posts
    rsort( $sticky ); // Sort the stickies, latest first
    $sticky = array_slice( $sticky, 0, 1 ); // Number of stickies to show
    query_posts( array( 'post__in' => $sticky, 'caller_get_posts' => 1 ) ); // The query
    if (have_posts()) { while ( have_posts() ) : the_post(); ?>
        <img src="" alt="gunun filmi" class="gunfilm" />
        <?php tj_thumbnail4(); ?>
    <?php endwhile;?>
    <?php wp_reset_query(); } ?>
    </ul>
    </li>
    <li><h2>Reklamlar</h2>
    <ul class="son_yazilar">
    <?php include( TEMPLATEPATH . '/reklam200x200.php'); ?>
    </ul>
    </li>
    <li><h2>Son Eklenenler</h2>
    <ul class="son_yazilar">
    <?php $postslist = get_posts('numberposts=5');
    foreach ($postslist as $post) : 
    setup_postdata($post);
    ?>
    <li>
     <div style="width: 48px; height:69px; float:left; margin-right:4px;"><a href="<?php the_permalink(); ?>" rel="bookmark" title="<?php the_title(); ?>"><?php echo tj_thumbnail2(); ?></a></div>
     <div><a href="<?php the_permalink(); ?>" rel="bookmark" title="<?php the_title(); ?>"><?php the_title(); ?></a></div>
     <div><?php the_time('d F Y'); ?></div>
     <div><?php the_author(); ?></div>
     <div><?php the_category(', ') ?></div>
     <div class="clear"></div></li>
    <?php endforeach; ?>
    </ul>
    </li>
    <li><h2>Rastgele</h2>
    <ul class="son_yazilar">
    <?php $postslist = get_posts('numberposts=5&orderby=rand');
    foreach ($postslist as $post) : 
    setup_postdata($post);
    ?>
    <li>
     <div style="width: 48px; height:69px; float:left; margin-right:4px;"><a href="<?php the_permalink(); ?>" rel="bookmark" title="<?php the_title(); ?>"><?php echo tj_thumbnail2(); ?></a></div>
     <div><a href="<?php the_permalink(); ?>" rel="bookmark" title="<?php the_title(); ?>"><?php the_title(); ?></a></div>
     <div><?php the_time('d F Y'); ?></div>
     <div><?php the_author(); ?></div>
     <div><?php the_category(', ') ?></div>
     <div class="clear"></div></li>
    <?php endforeach; ?>
    </ul>
    </li>
    </div>
    <?php get_footer(); ?>
    </body>
    </html>
    Entry ile Video divlerinin arasında belirttiğim kod mevcut.
  • 08-08-2012, 04:00:27
    #4
    yok mu hiç koskocaman forumda yardım edecek
  • 11-08-2012, 01:42:43
    #5
    Koskoca R10'da bir yardım eden yok :S
  • 11-08-2012, 14:35:51
    #6
    Üyeliği durduruldu
    Deneme yanılma yoluyla bulunabilir sanırım.

    Msn adresim: oguz@doctor.com ekleyin yardımcı olayım hocam
  • 11-08-2012, 17:29:50
    #7
    Dakota adlı üyeden alıntı: mesajı görüntüle
    Deneme yanılma yoluyla bulunabilir sanırım.
    Msn adresim: oguz@doctor.com ekleyin yardımcı olayım hocam
    Ekledim hocam saolun
  • 21-08-2012, 02:46:30
    #8
    halen yardım beklemekteyim.Umarım çıkar
  • 22-08-2012, 20:23:11
    #9
    Halen sevabına yardım edecek birini arıyorum