Wordpress issue

Discussion in 'CSS' started by steve875, Oct 6, 2008.

  1. #1
    Any idea why I'm getting this extra box at the bottom of the last post on my Wordpress template?
    I have been messing with this, but can not find out what's causing it to happen.
    http://siteswedo.com/skb875test/

    What I'm talking about:
    [​IMG]
     
    steve875, Oct 6, 2008 IP
  2. DanielKemp

    DanielKemp Peon

    Messages:
    48
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Maybe try looking at this stuff:

    <div id="posting">
    </div>


    <div class="navigation">
    <div></div>
    <div></div>
    </div>



    Try removing one or both of them and seeing what happens.
     
    DanielKemp, Oct 6, 2008 IP
  3. steve875

    steve875 Peon

    Messages:
    91
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Nope :/ that doesn't work either.
    I need to keep "posting" as it's what makes the box around the post.

    .navigation.. I have no idea what this does, but when I delete it,it doesn't fix the problem.
    thanks for the help though.
     
    steve875, Oct 6, 2008 IP
  4. javaongsan

    javaongsan Well-Known Member

    Messages:
    1,054
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    128
    #4
    its probably in your page.php or single.php
    <?php while (have_posts()) : the_post(); ?>

    something mess up in the loop
    try posting the code here
     
    javaongsan, Oct 6, 2008 IP
  5. steve875

    steve875 Peon

    Messages:
    91
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Here ya go.
    page.php:
    
    <?php get_header(); ?>
    
    		<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
    		<div class="post" id="post-<?php the_ID(); ?>">
    			<h2><?php the_title(); ?></h2>      
    			<?php the_content('<p class="serif">Read the rest of this page &raquo;</p>'); ?>
    			<?php wp_link_pages(array('before' => '<p><strong>Pages:</strong> ', 'after' => '</p>', 'next_or_number' => 'number')); ?>
    		</div>
    		<?php endwhile; endif; ?>
    	<?php edit_post_link('Edit this entry.', '<p>', '</p>'); ?>
    
    <?php get_sidebar(); ?>
    
    <?php get_footer(); ?>
    
    Code (markup):
    single.php:
    
    <?php get_header(); ?>
    
    <div id="main-col">
    
    	<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
    
    		<div class="navigation">
    			<div><?php previous_post_link('&laquo; %link') ?></div>
    			<div><?php next_post_link('%link &raquo;') ?></div>
    		</div>
    
    		<div class="post" id="post-<?php the_ID(); ?>">
    		
    			<h1>
    				<a href="<?php echo get_permalink() ?>" rel="bookmark" title="Permanent Link: <?php the_title_attribute(); ?>"><?php the_title(); ?></a>
    			</h1>
    
    			<?php the_content('<p class="serif">Read the rest of this entry &raquo;</p>'); ?>
    
    			<?php wp_link_pages(array('before' => '<p><strong>Pages:</strong> ', 'after' => '</p>', 'next_or_number' => 'number')); ?>
    			
    			</div>
    			
    			<?php comments_template(); ?>	
    
    			<?php endwhile; else: ?>
    
    				<p>Sorry, no posts matched your criteria.</p>
    
    			<?php endif; ?>
    
    		</div>
    
    <?php get_sidebar(); ?>
    
    <?php get_footer(); ?>
    
    Code (markup):
     
    steve875, Oct 6, 2008 IP