Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter mtafoya512

    (@mtafoya512)

    @sinip Unfortunately, no I can’t I have been looking at all of the files and the blog doesn’t come in a template.

    Thread Starter mtafoya512

    (@mtafoya512)

    Thread Starter mtafoya512

    (@mtafoya512)

    As you can see I know jack about PHP. I know the issues has to be with the start loop section but I have tried to alter it with this…

    
    <?php
    		// Start the Loop.
    		while ( have_posts() ) : the_post(); ?>
    <div class="content-posts-wrap">
    	<div id="content-box">
    		<div id="post-body">
    			<div<?php query_posts('post_type=post&post_status=publish&posts_per_page=10&paged='. get_query_var('paged')); ?>>
    
    	<?php if( have_posts() ): ?>
    
            <?php while( have_posts() ): the_post(); ?>
    
    	    <div id="post-<?php get_the_ID(); ?>" <?php post_class(); ?>>
    
            	<div id="thumbnail"><a>"><?php the_post_thumbnail( array(200,220) ); ?></a></div><div id="title"><h2><a>"><?php the_title(); ?></a></h2></div>
    <div id="excerpt"><?php the_excerpt(); ?></div>
    <hr>
    
                </div><!-- /#post-<?php get_the_ID(); ?> -->
    
            <?php endwhile; ?>
    
    		<div class="navigation">
    			<span class="newer"><?php previous_posts_link(__('« Newer','example')) ?></span> <span class="older"><?php next_posts_link(__('Older »','example')) ?></span>
    		</div><!-- /.navigation -->
    
    	<?php else: ?>
    
    		<div id="post-404" class="noposts">
    
    		    <p><?php _e('None found.','example'); ?></p>
    
    	    </div><!-- /#post-404 -->
    
    	<?php endif; wp_reset_query(); ?>
    			</div>
    				<?php get_template_part('post','sidebar'); ?>
    		</div><!--post-body-->
    	</div><!--content-box-->
    	<div class="sidebar-frame">
    		<div class="sidebar">
    			<?php get_sidebar(); ?>
    		</div><!--sidebar-->
    	</div><!--sidebar-frame-->
    </div><!--content-posts-wrap-->
    	<?php	
    		endwhile;
    	?>
    	</div>
    

    But it doesn’t seem to be right.

    • This reply was modified 9 years, 1 month ago by mtafoya512.
    • This reply was modified 9 years, 1 month ago by mtafoya512.
Viewing 3 replies - 1 through 3 (of 3 total)