• 27-02-2010, 22:56:01
    #10
    page.php dosyası varmı temanızda ?

    Yoksa başka bir temadan alıp denermisin.
  • 27-02-2010, 22:58:27
    #11
    page dosyası mevcut,

    Alıntı
    <?php get_header(); ?>

    <?php
    $aOptions = SofaRooster::initOptions( false );
    $downloads = $aOptions[ 'downloads' ];
    $nodownloads = $aOptions[ 'nodownloads' ];
    $share = $aOptions[ 'share' ];
    $page_tag = $aOptions[ 'page' ];
    ?>

    <?php if( have_posts() ) : while( have_posts() ) : the_post(); ?>

    <div id="main-content" class="panel">
    <div class="label"><span><?php echo ( strlen( $page_tag ) > 0 ) ? stripslashes( $page_tag ) : "PAGE"; ?><?php edit_post_link( 'EDIT', ' | ', '' ); ?></span></div>

    <div class="panel-content">
    <h1><?php the_title(); ?></h1>
    <div class="portfolio-info">
    <!--
    <strong class="client-info"><span>Client</span>: Yahoo Networks</strong>
    <a href="http://example.com" class="external-link">Visit online</a>
    -->
    &nbsp;
    </div>
    <?php the_content(); ?>
    <!-- <?php trackback_rdf(); ?> -->


    <!-- share -->
    <div class="socialbookmarking">
    <h2 class="socdwnld"><?php echo ( strlen( $share ) > 0 ) ? stripslashes( $share ) : "Social poster"; ?></h2>
    <?php
    // share entry
    $arr_share = array();
    $arr_share[ 'delicious' ] = "http://delicious.com/post?url=";
    $arr_share[ 'digg' ] = "http://digg.com/submit?url=";
    $arr_share[ 'reddit' ] = "http://reddit.com/submit?url=";
    $arr_share[ 'technorati' ] = "http://www.technorati.com/faves?add=";
    $arr_share[ 'facebook' ] = "http://www.facebook.com/share.php?u=";
    $arr_share[ 'twitter' ] = "http://twitter.com/home?status=";
    $arr_share[ 'google' ] = "http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=";
    $arr_share[ 'yahoo' ] = "http://myweb2.search.yahoo.com/myresults/bookmarklet?u=";
    $arr_share[ 'wikio' ] = "http://www.wikio.es/vote?url=";
    $arr_share[ 'blinklist' ] = "http://www.blinklist.com/index.php?Action=Blink/addblink.php&amp;Description=&amp;Url=";
    $arr_share[ 'simpy' ] = "http://www.simpy.com/simpy/LinkAdd.do?href=";
    $arr_share[ 'spurl' ] = "http://www.spurl.net/spurl.php?url=";

    foreach( $arr_share as $k => $v ) {
    $img_src_s = get_bloginfo( 'template_directory' ) . '/images/' . $k . '.png';
    $pos_guide = $v . get_permalink( $post->ID );
    echo '<a href="' . $pos_guide . '" title="Share on ' . $k . '"><img src="' . $img_src_s . '" alt="' . $k . '" />&nbsp;</a>';
    }
    ?>

    </div>
    <!-- end share -->

    <!-- DOCUMENT DOWNLOAD STARTS -->
    <?php
    // check if there are any docs for download
    $content = get_the_content();
    $attached_files = array();
    $attached_extensions = array();
    $attached_string = array();
    $arr_exclude = array( 'zip', 'rar', 'doc', 'docx', 'xls', 'xlsx', 'pdf', 'uha' );
    // matches
    preg_match_all( '|<a.*?href=[\'"](.*?)[\'"].*?>(.*?)<.*?a>|i', $content, $match_extension );
    // 1 - path to file
    // 2 - file string
    if( $match_extension[ 1 ] ) {
    $c = 0;
    while( $c < count( $match_extension[ 1 ] ) ) {
    $bits = explode( '.', $match_extension[ 1 ][ $c ] );
    $exte = $bits[ count( $bits ) - 1 ];
    if( in_array( $bits[ count( $bits ) - 1 ], $arr_exclude ) && strlen( $bits[ count( $bits ) - 1 ] ) > 2 && strlen( $bits[ count( $bits ) - 1 ] ) < 5 ) {
    array_push( $attached_files, $match_extension[ 1 ][ $c ] );
    array_push( $attached_extensions, $bits[ count( $bits ) - 1 ] );
    array_push( $attached_string, $match_extension[ 2 ][ $c ] );
    $content = preg_replace( '|<a.*?href=[\'"](' . $match_extension[ 1 ][ $c ] . ')[\'"].*?>(' . $match_extension[ 2 ][ $c ] . ')<.*?a>|i', '', $content );
    }
    $c ++;
    }
    }
    $l = count( $attached_files );
    if( $l > 0 ) {
    ?>
    <div class="documentList">
    <h2 class="socdwnld"><?php echo ( strlen( $downloads ) > 0 ) ? stripslashes( $downloads ) : "Downloads"; ?></h2>
    <ul class="doclist">
    <?php
    $i = 0;
    while( $i < $l ) {
    echo '<li class="' . $attached_extensions[ $i ] . '"><a href="' . $attached_files[ $i ] . '">' . $attached_string[ $i ] . '.' . $attached_extensions[ $i ] . '</a></li>';
    $i++;
    }
    ?>
    </ul>
    </div>
    <?php
    } else {
    ?>
    <div class="documentList">
    <h2 class="socdwnld"><?php echo ( strlen( $downloads ) > 0 ) ? stripslashes( $downloads ) : "Downloads"; ?></h2>
    <ul class="doclist">
    <li><?php echo ( strlen( $nodownloads ) > 0 ) ? stripslashes( $nodownloads ) : "No documents for download."; ?></li>
    </ul>
    </div>
    <?php
    }
    ?>
    <!-- DOCUMENT DOWNLOAD ENDS -->

    </div>
    </div>

    <?php endwhile; else: ?>
    <div id="main-content" class="panel">
    <div class="label"><span>ERROR!</span></div>

    <div class="panel-content">
    <h1>404 or else?</h1>
    <div class="portfolio-info">
    <!--
    <strong class="client-info"><span>Client</span>: Yahoo Networks</strong>
    <a href="http://example.com" class="external-link">Visit online</a>
    -->
    &nbsp;
    </div>
    <p>
    No content matching request criteria.
    </p>

    </div>
    </div>
    <?php endif; ?>

    </div>

    <?php include( TEMPLATEPATH . "/sidebar_page.php" ); ?>
    <?php get_footer(); ?>
  • 27-02-2010, 23:07:50
    #12
    Sorun index.php'de kodları gönderirmisiniz.
  • 27-02-2010, 23:10:01
    #13
    Alıntı
    <?php get_header(); ?>

    <?php
    // build big boxes
    $aOptions = SofaRooster::initOptions( false );
    $numofbigbox = $aOptions[ 'numofbigbox' ];
    $sing_comments = $aOptions[ 'sing_comments' ];
    $plur_comments = $aOptions[ 'plur_comments' ];
    $postedin = $aOptions[ 'postedin' ];
    $readmore = $aOptions[ 'readmore' ];

    $posts_total = get_option( 'posts_per_page' );
    if( $numofbigbox > 0 && strlen( $numofbigbox ) > 0 && $posts_total > 0 ) {
    query_posts( 'showposts=' . $numofbigbox );
    if( have_posts() ) : while( have_posts() ) : the_post();
    ?>

    <div class="panel fetaured">
    <div class="label">
    <span><?php echo ( strlen( $postedin ) > 0 ) ? stripslashes( $postedin ) : "Posted in "; ?><?php the_category( ', ' ); ?></span>
    </div>
    <div class="comments">
    <?php
    $phrase_singular = ( strlen( $sing_comments ) > 0 ) ? stripslashes( $sing_comments ) : "comment";
    $phrase_plural = ( strlen( $plur_comments ) > 0 ) ? stripslashes( $plur_comments ) : "comments";
    comments_number( '<span>0</span> ' . $plur_comments, '<span>1</span> ' . $sing_comments, '<span>%</span> ' . $plur_comments );
    ?>
    </div>
    <div class="panel-content">
    <div class="date">
    <div><?php the_time( 'm/j' ); ?> <span><?php the_time( 'Y' ); ?></span></div>
    </div>
    <h2><a href="<?php the_permalink(); ?>" title="<?php the_title(); ?>"><?php the_title(); ?></a></h2>
    <?php the_content( ( strlen( $readmore ) > 0 ) ? stripslashes( $readmore ) : " READ MORE" ); ?>
    </div>
    </div>

    <?php
    endwhile;
    endif;
    } else $numofbigbox = 0;
    ?>

    <?php
    if( $posts_total > $numofbigbox ) {
    $the_rest = $posts_total - $numofbigbox;
    if( $the_rest > 0 ) {
    $cnt_odd = 0;
    query_posts( 'showposts=' . $the_rest . '&offset=' . $numofbigbox );
    if( have_posts() ) : while( have_posts() ) : the_post();
    ?>

    <div class="panel">
    <div class="label">
    <span><?php echo ( strlen( $postedin ) > 0 ) ? stripslashes( $postedin ) : "Posted in "; ?><?php the_category( ', ' ); ?></span>
    </div>
    <div class="comments">
    <?php
    $phrase_singular = ( strlen( $sing_comments ) > 0 ) ? stripslashes( $sing_comments ) : "comment";
    $phrase_plural = ( strlen( $plur_comments ) > 0 ) ? stripslashes( $plur_comments ) : "comments";
    comments_number( '<span>0</span> ' . $plur_comments, '<span>1</span> ' . $sing_comments, '<span>%</span> ' . $plur_comments );
    ?>
    </div>
    <div class="panel-content narrow">
    <div class="date">
    <div><?php the_time( 'm/j' ); ?> <span><?php the_time( 'Y' ); ?></span></div>
    </div>
    <h2 class="smaller"><a href="<?php the_permalink(); ?>" title="<?php the_title(); ?>"><?php the_title(); ?></a></h2>
    <?php the_content( ( strlen( $readmore ) > 0 ) ? stripslashes( $readmore ) : " READ MORE" ); ?>
    </div>
    </div>

    <?php
    $cnt_odd ++;
    if( $cnt_odd % 2 == 0 ) echo '<div style="width: 90%; clear: both; height: 1px; line-height: 0;">&nbsp;</div>';
    endwhile;
    endif;
    }
    }
    if( $posts_total == 0 ) {
    ?>

    <div class="panel fetaured">
    <div class="label">
    <span>ERROR!</span>
    </div>
    <div class="comments">
    404 or else?
    </div>
    <div class="panel-content">
    <div class="date">
    <div>NOTE <span>THIS</span></div>
    </div>
    <h2>Ups...</h2>
    <p>It seems like there are no posts matching your criteria.</p>
    </div>
    </div>

    <?php } ?>
    </div><!-- close content DIV -->

    <?php include( TEMPLATEPATH . "/sidebar_index.php" ); ?>
    <?php get_footer(); ?>
    index.php
  • 27-02-2010, 23:13:06
    #14
    merhaba, http://www.site.niz/wp-admin/options-reading.php girin orda

    Ön sayfa görünümleri

    Son yazılarınız

    Sabit sayfa (aşağıda seçin)

    burda sabit sayfa seçili halde olabilir, tema dosyalarında böyle modifiyeler olabilir, bunu son yazılarınız olarak değişitirin yine olmaz ise index.php kısmına başka bir temadan son yazıları listeleyen kodu eklemek gerekebilir.
  • 27-02-2010, 23:14:22
    #15
    d4hi adlı üyeden alıntı: mesajı görüntüle
    merhaba, http://www.site.niz/wp-admin/options-reading.php girin orda

    Ön sayfa görünümleri

    Son yazılarınız

    Sabit sayfa (aşağıda seçin)

    burda sabit sayfa seçili halde olabilir, tema dosyalarında böyle modifiyeler olabilir, bunu son yazılarınız olarak değişitirin yine olmaz ise index.php kısmına başka bir temadan son yazıları listeleyen kodu eklemek gerekebilir.
    son yazılarınız seçili durumda.
    bu şekilde olduğunda değişiyor sayfa sitadi.com/?cat=1&paged=2 ama normalde siteadi.com/?cat=1 böyle olması gerekiyor?
  • 27-02-2010, 23:22:38
    #16
    Alıntı
    $posts_total = get_option( 'posts_per_page' );
    şu kodu sil yedek alarak.
  • 27-02-2010, 23:43:15
    #17
    olmadı sağlık olsun yapımcıya panel bilgilerini verdim girip kendi baksın o kadar para veriyoruz az destek alalım.
  • 28-02-2010, 00:35:59
    #18
    Bu Sefer Buldum
    Bak Dediklerimi Yaptım Deme Tekrar Yap Olucak:P
    1.pagebar kur
    2.home.phpden pagebar'ın kodunu ekle.
    3.prevıous fl onları sil olucak