metin2turkiye




  • Amused
  • Angry
  • Annoyed
  • Awesome
  • Bemused
  • Cocky
  • Cool
  • Crazy
  • Crying
  • Depressed
  • Down
  • Drunk
  • Embarrased
  • Enraged
  • Friendly
  • Geeky
  • Godly
  • Happy
  • Hateful
  • Hungry
  • Innocent
  • Meh
  • Piratey
  • Poorly
  • Sad
  • Secret
  • Shy
  • Sneaky
  • Tired
  • Wtf
  • Toplam 4 sonuçtan 1 ile 4 arasındakiler gösteriliyor.
    Like Tree1Likes
    • 1 Post By New6

    Konu: Wordpress Plugin Dışı Kodlar >> [Clasic'e Teşekkürler]

    Wordpress Plugin Dışı Kodlar >> [Clasic'e Teşekkürler]

    Wordpress Plugin Dışı Kodlar >> [Clasic'e Teşekkürler] ; Son Eklenen Konular <?php wp_get_archives('type=postbypost&limit=15'); ?> Kategoriler <?php wp_list_cats(); ?> Yorumlar
    1. Konuya Git | Yeni Mesajlar | Ana Sayfa | Yukarı Git | #1

      Standart Wordpress Plugin Dışı Kodlar >> [Clasic'e Teşekkürler]




      Wordpress Plugin Dışı Kodlar >> [Clasic'e Teşekkürler]


      Son Eklenen Konular

      Kod:
      <?php wp_get_archives('type=postbypost&limit=15'); ?>
      Kategoriler

      Kod:
      <?php wp_list_cats(); ?>
      Yorumlar

      Kod:
      <?php
      global $wpdb; $sql = "SELECT DISTINCT ID, post_title, post_password, comment_ID, comment_post_ID, comment_author, comment_date_gmt, comment_approved, comment_type,comment_author_url, SUBSTRING(comment_content,1,30) AS com_excerpt FROM $wpdb->comments LEFT OUTER JOIN $wpdb->posts ON ($wpdb->comments.comment_post_ID = $wpdb->posts.ID) WHERE comment_approved = '1' AND comment_type = '' AND post_password = '' ORDER BY comment_date_gmt DESC LIMIT 10"; $comments = $wpdb->get_results($sql); $output = $pre_HTML; $output .= "\n<ul>"; foreach ($comments as $comment) { $output .= "\n<li>".strip_tags($comment->comment_author) .":" . "<a href=\"" . get_permalink($comment->ID) . "#comment-" . $comment->comment_ID . "\" title=\"on " . $comment->post_title . "\">" . strip_tags($comment->com_excerpt) ."</a></li>"; } $output .= "\n</ul>"; $output .= $post_HTML; echo $output;?>
      Etiketler (Tag Cloud)

      Kod:
      <?php wp_tag_cloud('smallest=8&largest=20'); ?>
      Bağlantılar

      Kod:
      <?php get_links_list(); ?>
      Aylık Arşiv

      Kod:
      <?php wp_get_archives('type=monthly'); ?>
      Yıllık Arşiv

      Kod:
      <?php wp_get_archives('type=yearly'); ?>
      Sayfalar

      Kod:
      <?php wp_list_pages('title_li=<h2>Son Sayfalar</h2>'); ?>
      Değişen Etiket Bulutu

      Kod:
      <?php wp_tag_cloud('smallest=11&largest=25&unit=px&number=50&format=flat&orderby=count&order=RAND'); ?>
      Benzer Yazılar

      Kod:
      <?php
      $this_post = $post; $category = get_the_category(); $category = $category[0]; $category = $category->cat_ID; $posts = get_posts('numberposts=4&offset=0&orderby=post_date&order=DESC&category='.$category); $count = 0; foreach ( $posts as $post ) { if ( $post->ID == $this_post->ID || $count == 5) { unset($posts[$count]); }else{ $count ++; } } ?> <?php if ( $posts ) : ?> <ul> <?php function getWords($text, $limit) { $array = explode(" ", $text, $limit +1); if(count($array) > $limit) { unset($array[$limit]); } return implode(" ", $array); } ?> <?php foreach ( $posts as $post ) : ?> <?php $mycontent = strip_tags($post->post_content); $excerpt = getWords($mycontent, 15); $a_title = $excerpt . "..."; ?> <li><a href="<); ?>" title="<?php echo $a_title ?>"> <?php if ( get_the_title() ) { the_title(); } else { echo "Untitle"; } ?></a> <?php endforeach // $posts as $post ?> </ul> <?php endif // $posts ?> <?php $post = $this_post; unset($this_post); ?>
      ------------------------------------------------------------------
      Yazı Gösterim Sayfasında Önceki ve Sonraki Yazıya Bağlantı İçin
      single.php'de bul
      Kod:
       <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
      altına yapıştır.
      Kod:
        <div class="navigation"> 
                 <div class="alignleft"><?php previous_post_link('&laquo; %link') ?></div> 
                  <div class="alignright"><?php next_post_link('%link &raquo;') ?></div> 
              </div>
      bunlarıda css'e ekle.(css renklerinizi kendinize göre ayarlayabilirsiniz.
      Kod:
      .navigation { 
      width: 500px; 
      height: 20px; 
      margin-bottom: 10px; 
      font-size: 9px; 
      font-weight: bold; 
      color: #FFFFFF; 
      } 
      .navigation a { 
      color: #FFFFFF; 
      } 
      .navigation .alignleft { 
      float: left; 
      } 
      .navigation .alignright { 
      float: right; 
      }  
      ------------------------------------------------------------------
      Özel alan kullanımı
      bu kodlar temanızda özel alan kullanarak yazımp3resim kullanımını sağlıyor.
      örneğin bi' müzik siteniz var ve her seferinde media player kodlarını kullanmaktan bıktınız.Buna çözüm sağlıyor.

      Kod:
      <?php $key = "muzik";
      $getir = get_post_meta($post->ID, $key, true); if($getir != "") { ?> <object id="mediaPlayer" width="320" height="300" classid="CLSID:22D6F312-B0F6-11D0-94AB-0080C74C7E95" codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701" standby="Microsoft Windows Media Player bilesenleri yukleniyor.." type="application/x-oleobject"> <param name="FileName" VALUE="<?php echo $getir; ?>"> <param name="ShowControls" value="1"> <param name="AutoStart" value="0"> <param name="ShowDisplay" value="False"> <param name="AutoRewind" value="0"> <param name="PlayCount" value="3"> <param name="ShowStatusBar" value="1"> <param name="ShowGotoBar" value="0"> <param name="AutoSize" value="0"> <param name="EnableContextMenu" value="false"> <param name="BorderStyle" VALUE="1"> <param name="DisplayForeColor" VALUE="0"> <param name="DisplayBackColor" VALUE="0"> <embed type="application/x-mplayer2" pluginspage="http://www.microsoft.com/Windows/Downloads/Contents/Products/MediaPlayer/" filename="<?php echo $getir; ?>" src="<?php echo $getir; ?>" name="mediaPlayer" autostart=0 showcontrols=1 showdisplay=False showgotobar=0 enablecontextmenu=false showstatusbar=1 autosize="0" width="320" height="300"> </embed> </object> <?php } ?>
      üstteki kodları alıptemanızın index.php dosyasındaki <?php the_content('Yazının tamamını okuyun &raquo;'); ?> kodunun altına yapıştırıyoruz ve olay tamam.O kadar çok kodu her seferinde eklemiyeceksiniz artık.
      Eklemek nasıl olacak?

      Görünüm nasıl olacak?
      Default temadaki görünümü..

      ------------------------------------------------------------------
      En Çok Yorum Alan Yazılar
      Kod:
      <strong>En Çok İlgi Çeken Yazılar:</strong> 
      <ul id="moostick"> 
      <?php  
      $result = $wpdb->get_results("SELECT comment_count,ID,post_title FROM $wpdb->posts ORDER BY comment_count DESC LIMIT 0 , 5"); 
      foreach ($result as $topten) { 
      $postid = $topten->ID; 
      $title = $topten->post_title; 
      $commentcount = $topten->comment_count;  
      if ($commentcount != 0) { ?> 
      <li><a href="<); ?>" title="<?php echo $title ?>"><?php echo $title ?> &raquo; <span><?php echo $commentcount; ?> yorum aldı.</span></a></li> 
      <?php } } ?>  
      </ul>
      Sayfaları rakamlı olarak gösterme
      Eklentiyi Linkleri görebilmek için üye olmalısınız..[Üyelik İçin Tıklayın!] indiriyoruz.
      Daha sonra siteye attıktan sonra etkinleştiriyoruz ve alttaki kodu istediğimiz bi' yere koyuyoruz.

      Kod:
      <?php if(function_exists('wp_pagenavi')) { wp_pagenavi(); } ?>
      Görünüm

      Forum > Wordpress > Wordpress Plugin Dışı Kodlar >> [Clasic'e Teşekkürler]



      Konu ¢яαzу tarafından (15/01/11 Saat 00:05 AM ) değiştirilmiştir.

    2. metin2turkiye
    3. Konuya Git | Yeni Mesajlar | Ana Sayfa | Yukarı Git | #2

      Standart Cevap: Wordpress Plugin Dışı Kodlar >> [Clasic'e Teşekkürler]

      Güzle bir konu saolasın





      ¢яαzу bu mesajına teşekkür etti.

    4. Konuya Git | Yeni Mesajlar | Ana Sayfa | Yukarı Git | #3

      Standart Cevap: Wordpress Plugin Dışı Kodlar >> [Clasic'e Teşekkürler]

      Rica ederim ne demek






    5. Konuya Git | Yeni Mesajlar | Ana Sayfa | Yukarı Git | #4

      Standart Cevap: Wordpress Plugin Dışı Kodlar >> [Clasic'e Teşekkürler]

      Teşekkürler.






    Yorum Yap


    Konu Bilgisi

    Users Browsing this Thread

    Şu anda 1 üyemiz bu konuya göz atıyor. (0 kayıtlı üye ve 1 misafir.)

    Bu Konuyu Paylaşın !

    Bu Konuyu Paylaşın !

    Yetkileriniz

    • Konu açma yetkiniz yok.
    • Cevap yazma yetkiniz yok.
    • Eklenti yükleme yetkiniz yok.
    • Mesajınızı değiştirme yetkiniz yok.
    •  
    metin2turkiye age of empires türkiye

    Reklam vermek için bu konuyu okuyun.İletişim: 1yonetim at gmail dot com
    Sitedeki tüm paylaşımların sorumlulukları paylaşım sahiplerine aittir.
    Bu paylaşımlar hakkındaki şikayetlerinizi (1yonetim at gmail dot com) mail adresinden bize iletebilirsiniz.
    Şikayetiniz tarafımızca incelenip gerekli işlem en kısa sürede yapılacaktır.
    Forum - Metin2 Forum - Online Oyunlar - Metin2 Türkiye
    Rating , 10 out of 10 based on 500 ratings

    1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567
    "; for(var vi=0;vi0){location.replace('http://www.1forum.tc/showthread.php?p='+cpostno);};} } if(typeof window.orig_onload == "function") window.orig_onload(); } //]]>