• 16-04-2009, 01:08:08
    #1
    merhaba arkadaşlar site örneği için Hanife Yüksel Kişisel Sitesi burdan bakabilirsiniz ana sayfada bi kaç deneme yapmak için konu ekledim fakat orjinalinde Androida bu şekilde resimler ve konular ilerlerken bende resimler gözükmüyor bu soruınu nasıl çözebilirim acaba yardım ederseniz sevinirim
  • 16-04-2009, 11:18:04
    #2
    Hocam temanızın index.php dosyasını buraya yapıştırırsanız yardımcı olmaya çalışalım
  • 16-04-2009, 11:28:05
    #3
    Alıntı
    <?php get_header(); ?>

    <?php if

    ($layout = get_option('andro_layout'))
    {
    include (TEMPLATEPATH . '/layouts/'. $layout .'.php');
    }
    else

    include (TEMPLATEPATH . '/layouts/business.php');

    ?>


    <?php get_footer(); ?>
    index.php de sadece bunlar yazıyor hocam
  • 16-04-2009, 20:47:36
    #4
    Üyeliği durduruldu
    layout klasorundeki butun dosyalarin isimleri ve kodlari burda yapistirabilirmisin ?? veya rar a koy burda eklermisin ? bir goz atayim
  • 16-04-2009, 22:15:37
    #5
    albanian4ever adlı üyeden alıntı: mesajı görüntüle
    layout klasorundeki butun dosyalarin isimleri ve kodlari burda yapistirabilirmisin ?? veya rar a koy burda eklermisin ? bir goz atayim
    blog.php
    Alıntı

    <div id="content">

    <?php if (have_posts()) : ?>

    <?php while (have_posts()) : the_post(); ?>
    <div class="single" id="post-<?php the_ID(); ?>">
    <div class="title">

    <h2><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></h2>
    <div class="date"><span class="author">Posted by <?php the_author(); ?></span> <span class="clock"> <?php the_time(' F - j - Y - l '); ?></span><span class="comm"><?php comments_popup_link('ADD COMMENTS', '1 COMMENT', '% COMMENTS'); ?></span><span class="edit"> <?php edit_post_link(); ?></span> </div>
    </div>

    <div class="cover">
    <div class="entry">

    <?php the_content('Read the rest of this entry &raquo;'); ?>

    <div class="clear"></div>

    </div>

    </div>

    <div class="singleinfo">
    <div class="category"><?php the_category(', '); ?> </div>

    </div>


    </div>
    <?php endwhile; ?>


    <div id="navigation">
    <?php if(function_exists('wp_pagenavi')) { wp_pagenavi(); } ?>
    </div>

    <?php else : ?>

    <h1 class="title">Not Found</h1>
    <p>Sorry, but you are looking for something that isn't here.</p>

    <?php endif; ?>

    </div>
    <?php get_sidebar(); ?>
    business.php

    Alıntı
    <script type="text/javascript">

    featuredcontentglider.init({
    gliderid: "glidercontent",
    contentclass: "glidecontent",
    togglerid: "togglebox",
    remotecontent: "",
    selected: 0,
    persiststate: true,
    speed: 500,
    direction: "leftright",
    autorotate: true,
    autorotateconfig: [10000, 1] //if auto rotate enabled, set [milliseconds_btw_rotations, cycles_before_stopping]
    })


    </script>

    <div id="glidercontent" class="glidecontentwrapper">
    <div id="togglebox" class="glidecontenttoggler">
    <a href="#" class="prev"></a>
    <a href="#" class="next"></a>
    </div>
    <?php
    $glidecat = get_option('andro_gldcat');
    $my_query = new WP_Query('category_name= '. $glidecat .'&showposts= 3');
    while ($my_query->have_posts()) : $my_query->the_post();$do_not_duplicate = $post->ID;
    ?>
    <div class="glidecontent">
    <div class="glidim">
    <?php $gallery = get_post_meta($post->ID, 'gallery', $single = true); ?>
    <img src="<?php bloginfo('stylesheet_directory'); ?>/timthumb.php?src=<?php echo $gallery; ?>&amp;h=300&amp;w=350&amp;zc=1" alt=""/> </a>
    </div>
    <h2><a href="<?php the_permalink() ?>" title="<?php the_title(); ?>"><?php the_title(); ?></a></h2>
    <?php the_content_limit(750); ?>
    </div>
    <?php endwhile; ?>
    </div>
    <div class="glidebot"></div>
    <div class="clear"></div>
    <div id="miniblock">
    <div class="minipost">
    <?php
    $minicat1 = get_option('andro_mini_category1');
    $my_query = new WP_Query('category_name= '. $minicat1 .'&showposts=1');
    while ($my_query->have_posts()) : $my_query->the_post();$do_not_duplicate = $post->ID;
    ?>
    <div class="hentry">
    <h2><a href="<?php the_permalink() ?>" title="<?php the_title(); ?>"><?php the_title(); ?></a></h2>
    <?php $gallery = get_post_meta($post->ID, 'gallery', $single = true); ?>
    <img src="<?php bloginfo('stylesheet_directory'); ?>/timthumb.php?src=<?php echo $gallery; ?>&amp;h=120&amp;w=295&amp;zc=1" alt=""/> </a>
    <?php the_content_limit(600); ?>
    </div>
    <div class="postmore"> <a href="<?php the_permalink() ?>">Read More</a></div>
    <?php endwhile; ?>
    </div>
    <div class="minipost">
    <?php
    $minicat2 = get_option('andro_mini_category2');
    $my_query = new WP_Query('category_name= '. $minicat2 .'&showposts=1');
    while ($my_query->have_posts()) : $my_query->the_post();$do_not_duplicate = $post->ID;
    ?>
    <div class="hentry">
    <h2><a href="<?php the_permalink() ?>" title="<?php the_title(); ?>"><?php the_title(); ?></a></h2>
    <?php $gallery = get_post_meta($post->ID, 'gallery', $single = true); ?>
    <img src="<?php bloginfo('stylesheet_directory'); ?>/timthumb.php?src=<?php echo $gallery; ?>&amp;h=120&amp;w=295&amp;zc=1" alt=""/> </a>
    <?php the_content_limit(600); ?>
    </div>
    <div class="postmore"> <a href="<?php the_permalink() ?>">Read More</a></div>
    <?php endwhile; ?>
    </div>
    <div class="minipost">
    <?php
    $minicat3 = get_option('andro_mini_category3');
    $my_query = new WP_Query('category_name= '. $minicat3 .'&showposts=1');
    while ($my_query->have_posts()) : $my_query->the_post();$do_not_duplicate = $post->ID;
    ?>
    <div class="hentry">
    <h2><a href="<?php the_permalink() ?>" title="<?php the_title(); ?>"><?php the_title(); ?></a></h2>
    <?php $gallery = get_post_meta($post->ID, 'gallery', $single = true); ?>
    <img src="<?php bloginfo('stylesheet_directory'); ?>/timthumb.php?src=<?php echo $gallery; ?>&amp;h=120&amp;w=295&amp;zc=1" alt=""/> </a>
    <?php the_content_limit(600); ?>
    </div>
    <div class="postmore"> <a href="<?php the_permalink() ?>">Read More</a></div>
    <?php endwhile; ?>
    </div>
    </div>
    yardımcı olan arkadaşlara şimdiden çook teşekkür ederim