Title: 's Replies | WordPress.org

---

# splosion

  [  ](https://wordpress.org/support/users/splosion/)

 *   [Profile](https://wordpress.org/support/users/splosion/)
 *   [Topics Started](https://wordpress.org/support/users/splosion/topics/)
 *   [Replies Created](https://wordpress.org/support/users/splosion/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/splosion/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/splosion/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/splosion/engagements/)
 *   [Favorites](https://wordpress.org/support/users/splosion/favorites/)

 Search replies:

## Forum Replies Created

Viewing 7 replies - 1 through 7 (of 7 total)

 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [fetching the excerpts for next/previous posts](https://wordpress.org/support/topic/fetching-the-excerpts-for-nextprevious-posts/)
 *  Thread Starter [splosion](https://wordpress.org/support/users/splosion/)
 * (@splosion)
 * [16 years, 3 months ago](https://wordpress.org/support/topic/fetching-the-excerpts-for-nextprevious-posts/#post-1412707)
 * …and here is the code I’m using to show the thumbnails in single.php as links.
 *  It tests to see if there next or previous posts, and if so, adds in the thumbnails
   linked via permalinks to the next or previous post.
 *     ```
       <?php
           	$nextPost = get_next_post(true);	//Gets next and previous posts and their URIs
       		$nextURI = get_permalink($nextPost->ID);
       		$prevPost = get_previous_post(true);
       		$prevURI = get_permalink($prevPost->ID);
       	?>
           <?php if ($nextPost || $prevPost): 		//Tests if there are any previous OR next posts. If yes, inserts a nav spacer bar along with next/prev thumbs ?>
   
       			<?php if($nextPost) {
       				echo '<a href="' . $nextURI . '">';
       				$nextthumbnail = get_the_post_thumbnail($nextPost->ID, array(122,122) ); echo $nextthumbnail;
       				echo '</a>';
       			}; ?>
   
       			<?php if($prevPost) {
                   	echo '<a href="' . $prevURI . '">';
       				$prevthumbnail = get_the_post_thumbnail($prevPost->ID, array(122,122) ); echo $prevthumbnail;
       				echo '</a>';
       			}; ?>
   
       	<?php endif; ?>
       ```
   
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [fetching the excerpts for next/previous posts](https://wordpress.org/support/topic/fetching-the-excerpts-for-nextprevious-posts/)
 *  Thread Starter [splosion](https://wordpress.org/support/users/splosion/)
 * (@splosion)
 * [16 years, 3 months ago](https://wordpress.org/support/topic/fetching-the-excerpts-for-nextprevious-posts/#post-1412706)
 * Thank you, I was able to adapt the information to my need. Below is the code 
   if anyone is interested. It will grab the assigned thumbnail of the post and 
   make the image itself the link to said post.
    `<a href="<?php the_permalink();?
   >"><?php the_post_thumbnail(); ?></a>`
 *   Forum: [Requests and Feedback](https://wordpress.org/support/forum/requests-and-feedback/)
   
   In reply to: [Body CSS Bug?](https://wordpress.org/support/topic/body-css-bug/)
 *  Thread Starter [splosion](https://wordpress.org/support/users/splosion/)
 * (@splosion)
 * [16 years, 3 months ago](https://wordpress.org/support/topic/body-css-bug/#post-1410285)
 * Removing reset reveals some bizarre things. Body height and width definitions
   aren’t being applied, but font-family, line-height, and font-size, background,
   and color are (in other words, everything but the height and width).
 * CSS and HTML validates. At this point, I’m pretty confused.
 *   Forum: [Requests and Feedback](https://wordpress.org/support/forum/requests-and-feedback/)
   
   In reply to: [Body CSS Bug?](https://wordpress.org/support/topic/body-css-bug/)
 *  Thread Starter [splosion](https://wordpress.org/support/users/splosion/)
 * (@splosion)
 * [16 years, 3 months ago](https://wordpress.org/support/topic/body-css-bug/#post-1410273)
 * under a lot of construction, but here it is: [http://www.smithnewnamdesign.com/](http://www.smithnewnamdesign.com/)
 * Like I say, I’m pretty new to WP (like 3 days ago), so thanks for looking.
 *   Forum: [Requests and Feedback](https://wordpress.org/support/forum/requests-and-feedback/)
   
   In reply to: [Body CSS Bug?](https://wordpress.org/support/topic/body-css-bug/)
 *  Thread Starter [splosion](https://wordpress.org/support/users/splosion/)
 * (@splosion)
 * [16 years, 3 months ago](https://wordpress.org/support/topic/body-css-bug/#post-1410240)
 * height problem solved – the footer wasn’t loading due to some gremlin.
 * Still having problems with body tag though.
 *   Forum: [Requests and Feedback](https://wordpress.org/support/forum/requests-and-feedback/)
   
   In reply to: [Body CSS Bug?](https://wordpress.org/support/topic/body-css-bug/)
 *  Thread Starter [splosion](https://wordpress.org/support/users/splosion/)
 * (@splosion)
 * [16 years, 3 months ago](https://wordpress.org/support/topic/body-css-bug/#post-1410239)
 * Thanks, but strangely no go. For some reason WP seems to be ignoring body in 
   my style.css.
 * As a workaround, I put in an invisible footer to fix the background not spanning
   to the bottom all the time.:
 *     ```
       #dummyfooter {
       	position:absolute;
       	bottom:0;
       }
       ```
   
 * Any other ideas?
 *   Forum: [Requests and Feedback](https://wordpress.org/support/forum/requests-and-feedback/)
   
   In reply to: [Body CSS Bug?](https://wordpress.org/support/topic/body-css-bug/)
 *  Thread Starter [splosion](https://wordpress.org/support/users/splosion/)
 * (@splosion)
 * [16 years, 3 months ago](https://wordpress.org/support/topic/body-css-bug/#post-1410064)
 * …another possible bug seems to be height:100% not working 100% of the time on
   page load.
 * I have in my body tag: height:100%; as well as a repeating background. Occasionally
   the background only repeats to the bottom of the content (and not the entire 
   browser window).

Viewing 7 replies - 1 through 7 (of 7 total)