• 29-06-2010, 15:24:52
    #1
    Arkdaşlar kullandıgım temada bu kategoriler arşiv filan yukarıda olsun istiyorum msnden bi kaç kişiden yardım istedim hayrına iş yapmıyoruz tarzında cevaplar verdiler belki forumda sevabına iş yapan çıkar sidebar.php kodlarını yazıorum boş vakti olan birisi yardım ederse sevinirim
    <!-- BEGIN sidebar -->
    <div id="sidebar">
    <?php if ( !function_exists('dynamic_sidebar')
    || !dynamic_sidebar(1) ) : ?>
    <!-- begin search -->
    <form action="<?php echo get_option('home'); ?>/">
    <input type="text" name="s" id="s" value="<?php the_search_query(); ?>" />
    <button type="submit">Git</button>
    </form>
    <!-- end search -->
    <!-- begin popular posts -->
    <script type="text/javascript"><!--
    google_ad_client = "pub-4452330275006363";
    /* 160x600, oluşturulma 23.05.2010 */
    google_ad_slot = "5020739986";
    google_ad_width = 160;
    google_ad_height = 600;
    //-->
    </script>
    <script type="text/javascript"
    src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
    </script>
    <h2>Populer Yazılar</h2>
    <ul><?php dp_popular_posts(6); ?></ul>
    <!-- end popular posts -->
    <!-- begin featured video -->
    <h2>Manşet Video</h2>
    <div class="video">
    <script type="text/javascript">showVideo('<?php echo dp_settings("dailymotion") ?>');</script>
    </div>
    <!-- end featured video -->
    <!-- begin tags -->
    <h2>Sayyac</h2>
    <iframe src="http://www.facebook.com/plugins/likebox.php?profile_id=120777064613340&amp;width=292&amp;height=255&amp;connections=10&amp;stream=false&amp;header=false" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:292px; height:255px;" allowTransparency="true"></iframe>
    <center<!-- Sayyac counter START v4.3 -->
    <script type="text/javascript">
    <!--
    document.write(unescape("%3Cscript src='" + (("https:" == document.location.protocol) ? "https://" : "http://")
     + "srv.sayyac.net/sa.js?_salogin=insigni&_sav=4.3' type='text/javascript'%3E%3C/script%3E"));
    //-->
    </script>
    <script type="text/javascript">
    <!--
    sayyac.track('insigni','srv.sayyac.net');
    //-->
    </script>
    <noscript><a href="http://www.sayyac.com/" title=""><img src="http://srv.sayyac.net/sa.gif?_salogin=insigni&amp;_sav=4.3" border="0" alt="" /></a></noscript>
    <!-- Sayyac counter END v4.3 --></center>
    <div class="tags">
    <?php if (function_exists('wp_widget_tag_cloud')) wp_widget_tag_cloud(array('before_title'=>'<!--','after_title'=>'-->')); ?>
    </div>
    <!-- end tags -->
    <?php endif; ?>
    <!-- BEGIN left -->
    <div class="l">
    <?php if ( !function_exists('dynamic_sidebar')
    || !dynamic_sidebar(2) ) : ?>
    	<!-- begin categories -->
    	<h2>Kategoriler</h2>
    	<ul><?php wp_list_categories('title_li='); ?></ul>
    	<!-- end categories -->
    	<!-- begin pages -->
    	<h2>Sayfalar</h2>
    	<ul>
    	<?php dp_list_pages(); ?>
    	</ul>
    	<!-- end pages -->
    <?php endif; ?>
    </div>
    <!-- END left -->
    <!-- BEGIN right  -->
    <div class="r">
    <?php if ( !function_exists('dynamic_sidebar')
    || !dynamic_sidebar(3) ) : ?>
    	<!-- begin archives -->
    	<h2>Arşiv</h2>
    	<ul><?php wp_get_archives('type=monthly'); ?></ul>
    	<!-- end archives -->
    	<!-- begin blogroll -->
    	<?php wp_list_bookmarks('category_before=&category_after=&title_before=<h2>&title_after=</h2>'); ?>
    	<!-- end blogroll -->
    	<!-- begin meta -->
    	<h2>Yönetim</h2>
    	<ul>
    	<?php wp_register(); ?>
    	<li><?php wp_loginout(); ?></li>
    	<?php wp_meta(); ?>
    	</ul>
    	<!-- end meta -->
    <?php endif; ?>
    </div>
    <!-- END right -->
    </div>
    <!-- END sidebar -->
  • 29-06-2010, 17:09:23
    #2
    <!-- BEGIN sidebar -->
    <div id="sidebar">
    <?php if ( !function_exists('dynamic_sidebar')
    || !dynamic_sidebar(1) ) : ?>
    <!-- begin search -->
    <form action="<?php echo get_option('home'); ?>/">
    <input type="text" name="s" id="s" value="<?php the_search_query(); ?>" />
    <button type="submit">Git</button>
    </form>
    <!-- end search -->
    
    <!-- begin categories -->
    	<h2>Kategoriler</h2>
    	<ul><?php wp_list_categories('title_li='); ?></ul>
    	<!-- end categories -->
    	<!-- begin pages -->
    	<h2>Sayfalar</h2>
    	<ul>
    	<?php dp_list_pages(); ?>
    	</ul>
    	<!-- end pages -->
    
    <!-- begin archives -->
    	<h2>Arşiv</h2>
    	<ul><?php wp_get_archives('type=monthly'); ?></ul>
    	<!-- end archives -->
    	<!-- begin blogroll -->
    	<?php wp_list_bookmarks('category_before=&category_after=&title_before=<h2>&title_after=</h2>'); ?>
    	<!-- end blogroll -->
    
    <!-- begin popular posts -->
    <script type="text/javascript"><!--
    google_ad_client = "pub-4452330275006363";
    /* 160x600, oluşturulma 23.05.2010 */
    google_ad_slot = "5020739986";
    google_ad_width = 160;
    google_ad_height = 600;
    //-->
    </script>
    <script type="text/javascript"
    src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
    </script>
    <h2>Populer Yazılar</h2>
    <ul><?php dp_popular_posts(6); ?></ul>
    <!-- end popular posts -->
    <!-- begin featured video -->
    <h2>Manşet Video</h2>
    <div class="video">
    <script type="text/javascript">showVideo('<?php echo dp_settings("dailymotion") ?>');</script>
    </div>
    <!-- end featured video -->
    <!-- begin tags -->
    <h2>Sayyac</h2>
    <iframe src="http://www.facebook.com/plugins/likebox.php?profile_id=120777064613340&amp;width=292&amp;height=255&amp;connections=10&amp;stream=false&amp;header=false" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:292px; height:255px;" allowTransparency="true"></iframe>
    <center<!-- Sayyac counter START v4.3 -->
    <script type="text/javascript">
    <!--
    document.write(unescape("%3Cscript src='" + (("https:" == document.location.protocol) ? "https://" : "http://")
     + "srv.sayyac.net/sa.js?_salogin=insigni&_sav=4.3' type='text/javascript'%3E%3C/script%3E"));
    //-->
    </script>
    <script type="text/javascript">
    <!--
    sayyac.track('insigni','srv.sayyac.net');
    //-->
    </script>
    <noscript><a href="http://www.sayyac.com/" title=""><img src="http://srv.sayyac.net/sa.gif?_salogin=insigni&amp;_sav=4.3" border="0" alt="" /></a></noscript>
    <!-- Sayyac counter END v4.3 --></center>
    <div class="tags">
    <?php if (function_exists('wp_widget_tag_cloud')) wp_widget_tag_cloud(array('before_title'=>'<!--','after_title'=>'-->')); ?>
    </div>
    <!-- end tags -->
    <?php endif; ?>
    <!-- BEGIN left -->
    <div class="l">
    <?php if ( !function_exists('dynamic_sidebar')
    || !dynamic_sidebar(2) ) : ?>
    <?php endif; ?>
    </div>
    <!-- END left -->
    <!-- BEGIN right  -->
    <div class="r">
    <?php if ( !function_exists('dynamic_sidebar')
    || !dynamic_sidebar(3) ) : ?>
    	<!-- begin meta -->
    	<h2>Yönetim</h2>
    	<ul>
    	<?php wp_register(); ?>
    	<li><?php wp_loginout(); ?></li>
    	<?php wp_meta(); ?>
    	</ul>
    	<!-- end meta -->
    <?php endif; ?>
    </div>
    <!-- END right -->
    </div>
    <!-- END sidebar -->
  • 29-06-2010, 18:48:43
    #3
    Sagol kardeşimde hepsi alt alta oldu bu şekilde arşiv ve baglantılar hemen ketegorilerin yanında olması mümkün deyilmi
  • 29-06-2010, 21:04:34
    #4
    Yan menü sol.
    <!-- BEGIN left -->
    
    <!-- END left -->
    Yan menü sağ.
    <!-- BEGIN right  -->
    
    <!-- END right -->
    Bu tagleri bulun ve || !dynamic_sidebar(?) ) : ?> bu kodun bir alt satırına istediğiniz bileşenin kodlarını yerleştirin.

    Örnek olarak;
    Yan menü sola eklenmiş Kategoriler, Sayfalar, Arşivler, BlogRoll.
    <!-- BEGIN left -->
    <div class="l">
    <?php if ( !function_exists('dynamic_sidebar')
    || !dynamic_sidebar(2) ) : ?>
    
    <!-- begin categories -->
        <h2>Kategoriler</h2>
        <ul><?php wp_list_categories('title_li='); ?></ul>
        <!-- end categories -->
        <!-- begin pages -->
        <h2>Sayfalar</h2>
        <ul>
        <?php dp_list_pages(); ?>
        </ul>
        <!-- end pages -->
    
    <!-- begin archives -->
        <h2>Arşiv</h2>
        <ul><?php wp_get_archives('type=monthly'); ?></ul>
        <!-- end archives -->
        <!-- begin blogroll -->
        <?php wp_list_bookmarks('category_before=&category_after=&title_before=<h2>&title_after=</h2>'); ?>
        <!-- end blogroll -->
    
    <?php endif; ?>
    </div>
    <!-- END left -->
    Bu şekilde uygularsanız öğrenmiş olursunuz.