• 28-02-2010, 22:21:35
    #1


    Resimdeki Yer Boş Kalıyor

    Kodlarım

    İndex.php

    <?php get_header(); ?>    
    
    <div id="container">
        
    <div id="left-div">
            
    <div id="left-inside">
    
     <?php if (get_option('artsee_format') == 'Blog Style') { ?>
    <?php include(TEMPLATEPATH . '/includes/blogstyle.php'); ?>
    <?php } else { include(TEMPLATEPATH . '/includes/defaultindex.php'); }  ?>
        
    </div>
            
    </div>
    
    <?php get_sidebar(); ?>    
    <?php get_footer(); ?>   
    
    </body>
    </html>
    home.php

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    
    <html xmlns="http://www.w3.org/1999/xhtml">
    
    <head profile="http://gmpg.org/xfn/11">
    
    <meta http-equiv="Content-Type" content="<?php  bloginfo('html_type'); ?>; charset=<?php bloginfo('charset');  ?>" />
    
    <title><?php bloginfo('name'); ?> <?php if ( is_single() )  { ?> &raquo; Blog Archive <?php } ?> <?php wp_title();  ?></title>
    
    <meta name="generator" content="WordPress <?php  bloginfo('version'); ?>" />
    
    <?php wp_head(); ?>
    <?php wp_get_archives('type=monthly&format=link'); ?>
    <?php 
    global $options;
    foreach ($options as $value) {
    if (get_settings( $value['id'] ) === FALSE) { $$value['id'] =  $value['std']; } else { $$value['id'] = get_settings( $value['id'] ); } }
          ?>
    <link rel="stylesheet" href="<?php  bloginfo('stylesheet_directory'); ?>/style.css" type="text/css"  media="screen" />
    <link rel="alternate" type="application/rss+xml" title="RSS 2.0"  href="<?php bloginfo('rss2_url'); ?>" />
    <link rel="alternate" type="text/xml" title="RSS .92" href="<?php  bloginfo('rss_url'); ?>" />
    <link rel="alternate" type="application/atom+xml" title="Atom 0.3"  href="<?php bloginfo('atom_url'); ?>" />
    <link rel="pingback" href="<?php bloginfo('pingback_url'); ?>"  />
    <!--[if IE 7]>    
    <link rel="stylesheet" type="text/css" media="all" href="<?php  bloginfo('stylesheet_directory'); ?>/iestyle.css" />
    <![endif]-->    
    <!--[if lt IE 7]>
    <link rel="stylesheet" type="text/css" media="all" href="<?php  bloginfo('stylesheet_directory'); ?>/ie6style.css" />
    <script defer type="text/javascript" src="<?php  bloginfo('template_directory'); ?>/js/pngfix.js"></script>
    <![endif]-->
    <script type="text/javascript" src="<?php  bloginfo('template_directory');  ?>/js/jquery.js?ver=1.2.6"></script>
    <script type="text/javascript" src="<?php  bloginfo('template_directory');  ?>/js/superfish.js"></script>
    <script type="text/javascript" src="<?php  bloginfo('template_directory'); ?>/js/scrollTo.js"></script>
    <script type="text/javascript" src="<?php  bloginfo('template_directory');  ?>/js/serialScroll.js"></script>
    <script type="text/javascript" src="<?php  bloginfo('template_directory'); ?>/js/init.js"></script>
    <script type="text/javascript">
    jQuery(function(){
    jQuery('ul.superfish').superfish();
    });
    </script>
    </head>
    
    <body>
    
    <div id="wrapper2">
    
    <?php if (get_option('artsee_foursixeight') == 'Enable') { ?>
    <?php include(TEMPLATEPATH . '/includes/468x60.php'); ?>
    <?php } else { echo ''; } ?>
    
    <div id="wrapper">
    
    <!--This controls pages navigation bar-->
    <div id="pages">
    <ul>
    <li class="page_item"><a href="<?php bloginfo('url'); ?>"  class="title" title="home again woohoo">Ana  Sayfa</a></li>
    <?php  wp_list_pages("sort_order=$artsee_order_page&depth=1&exclude=$artsee_exclude_page&title_li=");  ?>
    </ul>
    <img src="<?php bloginfo('template_directory');  ?>/images/pages-bg-right.gif" alt="pages bg right" style="float:  right;" />
    <!--Begin Search Form-->
    <div class="search_bg">
    <div id="search">
    <form method="get" action="<?php bloginfo('home'); ?>"  style="padding:0px 0px 0px 0px; margin:0px 0px 0px 0px">
    <input type="text"  name="s" value="<?php echo wp_specialchars($s,  1); ?>"/><input type="image" class="input" src="<?php  bloginfo('stylesheet_directory'); ?>/images/search-button.gif"  value="submit"/>
    </form>
    </div>
    </div>
    <!--Begin Search Form-->
    </div>
    <!--End pages navigation-->
    
    <!--This controls the categories navigation bar-->
    <div id="categories">
    <ul class="nav superfish"><?php  wp_list_cats("sort_column=$artsee_sort_cat&sort_order=$artsee_order_cat&optioncount=0&depth=3&exclude=$artsee_exclude_cat");  ?></ul>
    </div>
    <!--End category navigation-->
    
    <?php 
    global $options;
    foreach ($options as $value) {
    if (get_settings( $value['id'] ) === FALSE) { $$value['id'] =  $value['std']; } else { $$value['id'] = get_settings( $value['id'] ); } }
          ?>
    
    <div id="container">
        
    <div id="left-div">
            
    <?php if (get_option('artsee_format') == 'Blog Style') { ?>
    <?php include(TEMPLATEPATH . '/includes/blogstylehome.php'); ?>
    <?php } else { include(TEMPLATEPATH . '/includes/default.php'); }  ?>
            
    </div>
    
    <?php get_sidebar(); ?>    
    <?php get_footer(); ?>   
        
    </body>
    </html>
    featured.php

    <div style="position: relative;">
    <div class="prev"></div>
    <div class="next"></div>
    </div>
    <div id="sections">
    <ul>
    <?php $my_query = new WP_Query("category_name=Featured  Articles&showposts=3");
    while ($my_query->have_posts()) : $my_query->the_post(); ?>
    <li class="thumbnail-div-featured" style="background-image:  url(<?php bloginfo('stylesheet_directory');  ?>/timthumb.php?src=<?php echo get_post_meta($post->ID,  "image_value", true);  ?>&amp;h=253&amp;w=619&amp;zc=1&amp;q=50);">
    <div class="featured-inside">
    <span class="post-info">Posted by <?php the_author() ?> on   <?php the_time('m jS, Y') ?> |  <?php comments_popup_link('No  Comments', '1 Comment', '% Comments'); ?></span>
    <a href="<?php the_permalink() ?>" rel="bookmark"  class="titles-featured" title="Permanent Link to <?php the_title();  ?>"><?php the_title2('', '...', true, '36') ?></a>
    <?php the_content_limit(200, ""); ?>
    </div>
    </li>
    <?php endwhile; ?>
    </ul>
    </div>
  • 02-03-2010, 20:33:17
    #2
    sorun güncel kaç gündür kimse çözemedi
  • 03-03-2010, 16:13:11
    #3
    Dostum özel alanlardan resim uzantılarını ekliyor musun?
    Kullandığın tema hangisi?
  • 03-03-2010, 19:35:56
    #4
    Hocam sen bunun resimlerini vs.. yükledin mi Yüklenmiş gibi görünmüyor çünkü
  • 04-03-2010, 04:47:17
    #5
    <?php $my_query = new WP_Query("category_name=Featured Articles&showposts=3");

    Featured Articles yazan yere hangi kategorideki konuların manşette gözükmesini istiyorsanız onu yazıyorsunuz... Mesela Manset die bi kategori actiniz adi manset. Ya da Resimler vs gibi. Eklerken de tam olarak bilmiyorum ama özel alana featured ya da image benzeri birşeyler yazıp linki ekliceksiniz. Ama özel alan kodu readme.txt dosyasinda anlatilmistir zaten.