• User Attivo

    problema main index template: sempre nessun post

    ciao a tutti, nel main index template di un tema, mi trovo che mi dice sempre che non ho post e mi presenta l'errore 404, ci ho dato un'occhiata pero' non riesco a trovare l'errore

    qualche esperto di php mi darebbe un aiuto? grazie
    <?php get_header(); ?>

    <div id="content" class="narrowcolumn">
    
    <?php if (have_posts()) : ?>
    
    	<?php while (have_posts()) : the_post(); ?>
    
    
    		<div class="post" id="post-<?php the_ID(); ?>">
    			<h2><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></h2>
    			<small>Posted in <?php the_category(', ') ?>&nbsp;  by: <?php the_author() ?>  <?php edit_post_link('Edit'); ?></small>
    <div class="date"><?php the_time('F jS, Y') ?></div>
    			<div class="entry">
    				<?php the_content('Read the rest of this entry &raquo;'); ?>
    			</div>
    
    			<p class="postmetadata"> <?php comments_popup_link('No Comments &#187;', '1 Comment &#187;', '% Comments &#187;'); ?></p>
    		</div>
    
    	<?php endwhile; ?>
    
    	<div class="navigation">
    		<div class="alignleft"><?php next_posts_link('&laquo; Previous Entries') ?></div>
    		<div class="alignright"><?php previous_posts_link('Next Entries &raquo;') ?></div>
    	</div>
    
    <?php else : ?>
    
    	<h2 class="center">Not Found</h2>
    	<p class="center">Sorry, but you are looking for something that isn't here.</p>
    	<?php include (TEMPLATEPATH . "/searchform.php"); ?>
    
    <?php endif; ?>
    
    </div>
    

    <?php get_sidebar(); ?>

    <?php get_footer(); ?>

    grazie mille


  • User Attivo

    risolto, per qualche motivo che mi sfugge, c'e' una incompatibilita' con il plugin wp-sticky