• 07-06-2013, 11:39:07
    #10
    Kimlik doğrulama veya yönetimden onay bekliyor.
    <?php 
    if (! isset($wp_did_header)):
    if ( !file_exists( dirname(__FILE__) . '/wp-config.php') ) {
        if (strpos($_SERVER['PHP_SELF'], 'wp-admin') !== false) $path = '';
        else $path = 'wp-admin/';
    require_once( dirname(__FILE__) . '/wp-includes/classes.php');
    require_once( dirname(__FILE__) . '/wp-includes/functions.php');
    require_once( dirname(__FILE__) . '/wp-includes/plugin.php');
    wp_die("wp-config.php dosyasinin olup olmadigini kontrol ediniz.");
    }
    $wp_did_header = true;
    require_once( dirname(__FILE__) . '/wp-config.php');
    wp();
    gzip_compression();
    require_once(ABSPATH . WPINC . '/template-loader.php');
    query_posts('showposts=5');
    endif;
     
    ?>
    <?php while (have_posts ()): the_post(); ?>
        <h2><a target="_blank" href="<?php the_permalink(); ?>"> <?php the_title(); ?></a></h2>
    <?php the_excerpt(); ?>
     
    <?php endwhile; ?>
    bu sekilde yaparsak yeni pencerede acilir.

    veya Daha basit kodla

    <?php
    define('WP_USE_THEMES', false);
    require('wp-load.php');
    query_posts('showposts=5');
    ?>
    
    <?php while (have_posts ()): the_post(); ?>
        <h2><a target="_blank" href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h2>
    <?php the_excerpt(); ?>
     
    <?php endwhile; ?>
  • 07-06-2013, 16:23:49
    #11
    Ergün adlı üyeden alıntı: mesajı görüntüle
    <?php 
    if (! isset($wp_did_header)):
    if ( !file_exists( dirname(__FILE__) . '/wp-config.php') ) {
        if (strpos($_SERVER['PHP_SELF'], 'wp-admin') !== false) $path = '';
        else $path = 'wp-admin/';
    require_once( dirname(__FILE__) . '/wp-includes/classes.php');
    require_once( dirname(__FILE__) . '/wp-includes/functions.php');
    require_once( dirname(__FILE__) . '/wp-includes/plugin.php');
    wp_die("wp-config.php dosyasinin olup olmadigini kontrol ediniz.");
    }
    $wp_did_header = true;
    require_once( dirname(__FILE__) . '/wp-config.php');
    wp();
    gzip_compression();
    require_once(ABSPATH . WPINC . '/template-loader.php');
    query_posts('showposts=5');
    endif;
     
    ?>
    <?php while (have_posts ()): the_post(); ?>
        <h2><a target="_blank" href="<?php the_permalink(); ?>"> <?php the_title(); ?></a></h2>
    <?php the_excerpt(); ?>
     
    <?php endwhile; ?>
    bu sekilde yaparsak yeni pencerede acilir.

    veya Daha basit kodla

    <?php
    define('WP_USE_THEMES', false);
    require('wp-load.php');
    query_posts('showposts=5');
    ?>
    
    <?php while (have_posts ()): the_post(); ?>
        <h2><a target="_blank" href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h2>
    <?php the_excerpt(); ?>
     
    <?php endwhile; ?>
    Budur hocam işte eline koluna sağlık on numara oldu işte şimdi
  • 07-06-2013, 17:13:15
    #12
    SavaS adlı üyeden alıntı: mesajı görüntüle
    Aşağıdaki kodları soneklenenler.php adında bir dosyaya kaydedin (sitenin ana dizininde olacak.),

    <?php
    if (! isset($wp_did_header)):
    if ( !file_exists( dirname(__FILE__) . '/wp-config.php') ) {
    	if (strpos($_SERVER['PHP_SELF'], 'wp-admin') !== false) $path = '';
    	else $path = 'wp-admin/';
    require_once( dirname(__FILE__) . '/wp-includes/classes.php');
    require_once( dirname(__FILE__) . '/wp-includes/functions.php');
    require_once( dirname(__FILE__) . '/wp-includes/plugin.php');
    wp_die("wp-config.php dosyasinin olup olmadigini kontrol ediniz.");
    }
    $wp_did_header = true;
    require_once( dirname(__FILE__) . '/wp-config.php');
    wp();
    gzip_compression();
    require_once(ABSPATH . WPINC . '/template-loader.php');
    endif;
    ?>
    <!-- Wordpress Kodlari-->
    &nbsp;&nbsp;&nbsp;<strong>Siteye eklenen son konular </strong><br />
    <ul><?php get_archives('postbypost','10','html','',''); ?></ul>
    <!-- Wordpress Kodlari-->

    Aşağıdaki kod ise, diğer sitelere eklenmesi gereken iframe kodu.

    <iframe src="http://www.siten.com/soneklenenler.php" marginwidth="0" marginheight="0" scrolling="No" frameborder="0" style="width: 31%; height: 285"></iframe>
    * Sayfayı görsel açıdan güzelleştirmek için, <!-- Wordpress Kodlari--> tagları arasındaki kısmı değiştirebilirsiniz. (<?php get_archives('postbypost','10','html','',''); ?> kodu hariç.)
    İşte r10 u bu yüzden seviyorum Peki hocam görünümü nasıl değiştireceğiz? mesela örnek bir wp kodu verebilirmisinz
  • 07-06-2013, 17:20:06
    #13
    bulut51 adlı üyeden alıntı: mesajı görüntüle
    İşte r10 u bu yüzden seviyorum Peki hocam görünümü nasıl değiştireceğiz? mesela örnek bir wp kodu verebilirmisinz
    Buda benden olsun bari Demo: http://tarifcini.net/ekle.php

    Style kısmının arasındaki değişkenleri değiştirerek birşeyler çıkarabilirsin.

    <head>
    <style>
    #son {
    background: rgb(210, 255, 131) url(bg.png) repeat-x;
    width: 240px;
    padding: 10px;
    border-radius: 20px;
    color: rgb(0, 31, 255);
    font-size: 17px;
    font-family: comic sans-serif;
    }
    a:link {color: rgb(112, 112, 112);}      /* unvisited link */
    a:visited {rgb(112, 112, 112);}  /* visited link */
    a:hover {color:#FF00FF;}  /* mouse over link */
    a:active {rgb(112, 112, 112);}  /* selected link */
    #baslik {
    margin: 60;
    }
    </style>
    
    
    
    <?php 
    if (! isset($wp_did_header)):
    if ( !file_exists( dirname(__FILE__) . '/wp-config.php') ) {
        if (strpos($_SERVER['PHP_SELF'], 'wp-admin') !== false) $path = '';
        else $path = 'wp-admin/';
    require_once( dirname(__FILE__) . '/wp-includes/classes.php');
    require_once( dirname(__FILE__) . '/wp-includes/functions.php');
    require_once( dirname(__FILE__) . '/wp-includes/plugin.php');
    wp_die("wp-config.php dosyasinin olup olmadigini kontrol ediniz.");
    }
    $wp_did_header = true;
    require_once( dirname(__FILE__) . '/wp-config.php');
    wp();
    gzip_compression();
    require_once(ABSPATH . WPINC . '/template-loader.php');
    query_posts('showposts=5');
    endif;
     
    ?>
    <div id="son"> 
    <div id="baslik"></div>
    <?php while (have_posts ()): the_post(); ?>
       <ul>
       <li>
       <a target="_blank" href="<?php the_permalink(); ?>"> <?php the_title(); ?><br></a></li></ul>
     
    <?php endwhile; ?></div>
  • 07-06-2013, 17:23:37
    #14
    celalyesil adlı üyeden alıntı: mesajı görüntüle
    Buda benden olsun bari Demo: http://tarifcini.net/ekle.php

    Style kısmının arasındaki değişkenleri değiştirerek birşeyler çıkarabilirsin.

    <head>
    <style>
    #son {
    background: rgb(210, 255, 131) url(bg.png) repeat-x;
    width: 240px;
    padding: 10px;
    border-radius: 20px;
    color: rgb(0, 31, 255);
    font-size: 17px;
    font-family: comic sans-serif;
    }
    a:link {color: rgb(112, 112, 112);}      /* unvisited link */
    a:visited {rgb(112, 112, 112);}  /* visited link */
    a:hover {color:#FF00FF;}  /* mouse over link */
    a:active {rgb(112, 112, 112);}  /* selected link */
    #baslik {
    margin: 60;
    }
    </style>
    
    
    
    <?php 
    if (! isset($wp_did_header)):
    if ( !file_exists( dirname(__FILE__) . '/wp-config.php') ) {
        if (strpos($_SERVER['PHP_SELF'], 'wp-admin') !== false) $path = '';
        else $path = 'wp-admin/';
    require_once( dirname(__FILE__) . '/wp-includes/classes.php');
    require_once( dirname(__FILE__) . '/wp-includes/functions.php');
    require_once( dirname(__FILE__) . '/wp-includes/plugin.php');
    wp_die("wp-config.php dosyasinin olup olmadigini kontrol ediniz.");
    }
    $wp_did_header = true;
    require_once( dirname(__FILE__) . '/wp-config.php');
    wp();
    gzip_compression();
    require_once(ABSPATH . WPINC . '/template-loader.php');
    query_posts('showposts=5');
    endif;
     
    ?>
    <div id="son"> 
    <div id="baslik"></div>
    <?php while (have_posts ()): the_post(); ?>
       <ul>
       <li>
       <a target="_blank" href="<?php the_permalink(); ?>"> <?php the_title(); ?><br></a></li></ul>
     
    <?php endwhile; ?></div>
    Sizede teşekkür ederiz hocam. peki siteme nasıl ekleyeceğim?
  • 07-06-2013, 17:30:17
    #15
    bulut51 adlı üyeden alıntı: mesajı görüntüle
    Sizede teşekkür ederiz hocam. peki siteme nasıl ekleyeceğim?
    Kodlamada oynama yapmadım sadece css ekledim olduğu gibi kodları oluşturduğunuz php dosyasının içine kopyalayarak kullanabilirsiniz.
  • 07-06-2013, 17:51:05
    #16
    celalyesil adlı üyeden alıntı: mesajı görüntüle
    Kodlamada oynama yapmadım sadece css ekledim olduğu gibi kodları oluşturduğunuz php dosyasının içine kopyalayarak kullanabilirsiniz.
    hocam sadece çeyreği çıktı görüntünün
  • 07-06-2013, 17:54:09
    #17
    Üyeliği durduruldu
    on numara konu. tşk.
  • 07-06-2013, 18:09:40
    #18
    bulut51 adlı üyeden alıntı: mesajı görüntüle
    hocam sadece çeyreği çıktı görüntünün
    Çeyreği çıktı derken?