• 15-07-2009, 16:50:25
    #1
    Üyeliği durduruldu
    Iyi günler arkadaşlar single.php sayfasında admin panelinden girdiğim yazılar gözükmüyo sadece özel alan kullanarak eklediğim resim gözüküyo.Bi sorgusu eksik ama hangisi single.php içeriği aşağıdaki kodda.Teşekkürler
    <?php get_header(); ?>
    <div class="page">
    <?php get_sidebar(); ?>
    	<!-- start content -->
    	<div id="content">
    	<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
    			<div class="details" onmouseover="this.className='details2'" onmouseout="this.className='details'">
    				<h2><?php the_title(); ?></h2>
    				<p><a href="<?php $values = get_post_custom_values("url"); echo $values[0]; ?>" title="<?php the_title(); ?>">
    				<img src="<?php echo get_post_meta($post->ID, "resim", true); ?>" style="border:1px solid #000" width="500" height="250">
    				<div id="post-<?php the_ID(); ?>">
    				<div class="clear"></div>
    				<?php wp_link_pages(array('before' => '<p><strong>Pages:</strong> ', 'after' => '</p>', 'next_or_number' => 'number')); ?>
    				<?php the_tags( '<p class=\'tags\'><strong>Etiketler: </strong> ', ', ', '</p>'); ?>
    			</div>
    			<div class="details">
    						<?php if (('open' == $post-> comment_status) && ('open' == $post->ping_status)) {
    							// Both Comments and Pings are open ?>
    						<?php } elseif (!('open' == $post-> comment_status) && ('open' == $post->ping_status)) {
    							// Only Pings are Open ?>
    							Responses are currently closed, but you can <a href="<?php trackback_url(); ?> " rel="trackback">trackback</a> from your own site.
    						<?php } elseif (('open' == $post-> comment_status) && !('open' == $post->ping_status)) {
    							// Comments are open, Pings are not ?>
    							You can skip to the end and leave a response. Pinging is currently not allowed.
    						<?php } elseif (!('open' == $post-> comment_status) && !('open' == $post->ping_status)) {
    							// Neither Comments, nor Pings are open ?>
    							Both comments and pings are currently closed.
    						<?php } edit_post_link('Yazıyı Düzenle.','',''); ?>
    			</div>			
    	<?php comments_template(); ?>
    	<?php endwhile; else: ?>
    		<p>Sorry, no posts matched your criteria.</p>
    <?php endif; ?>
    </div><!-- End CONTENT Div -->
    	<div class="clear"><!-- --></div>
    	</div><!-- End PAGE Div -->
    <?php get_footer(); ?>
  • 15-07-2009, 16:55:45
    #2
    <?php the_content(); ?> i göremedim


    <div class="clear"></div> bunun hemen üstüne iyi gider sanırım

  • 15-07-2009, 16:59:22
    #3
    Üyeliği durduruldu
    Lcd monitör almak lazım sanırım gözler kaydı artık

    Teşekkürler