Title: Homepage Previews
Last modified: August 30, 2016

---

# Homepage Previews

 *  [furioso](https://wordpress.org/support/users/furioso/)
 * (@furioso)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/homepage-previews/)
 * Hello,
 * I have build a website with Serene that only links to five posts. Each single
   post has been formatted but the homepage that shows a preview of all six posts
   completely ignores the formatting and cuts off the text with a link (“read more”)
   at a random point.
 * I am new to WordPress and don’t know PHP. I would like to either find a way of
   formatting the previews too or set my first post as a homepage and have that 
   page showing previews of all posts never show up.
 * This is what the index.php looks like:
 *     ```
       <?php
       /**
        * @package Serene
        * @since Serene 1.0
        */
   
       get_header();
   
       if ( have_posts() ) : ?>
   
       <div id="main-content">
   
       <?php
       	while ( have_posts() ) : the_post();
       		get_template_part( 'content', get_post_format() );
       	endwhile; ?>
   
       </div> <!-- #main-content -->
   
       <?php
       	get_template_part( 'includes/navigation', 'index' );
       else:
       	get_template_part( 'includes/no-results', 'index' );
       endif;
   
       get_footer(); ?>
       ```
   
 * I understand that I can delete the middle part. What do I insert instead of xyz
   to show a specific post? Help much apprechiated!
 *     ```
       <?php
       /**
        * @package Serene
        * @since Serene 1.0
        */
   
       get_header();
   
       xyz
   
       get_footer(); ?>
       ```
   

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

 *  [Dustin Falgout](https://wordpress.org/support/users/lots0logs/)
 * (@lots0logs)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/homepage-previews/#post-6817021)
 * Hi,
 * The theme shows excerpts on the home page by default. You can enable the full
   post content to be displayed in:
    `Appearance>>Customize>>Theme Settings>>Display
   full content of posts on index pages`
 * Cheers!
 *  Thread Starter [furioso](https://wordpress.org/support/users/furioso/)
 * (@furioso)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/homepage-previews/#post-6817054)
 * Oh, perfect – thank you. I did not see that option. That will do as a solution.
 * There is only one thing I notice: The image header (when the post is a “gallery”
   post) is also shown as a gallery with a thumbnail — can that be avoided?
 *  [Dustin Falgout](https://wordpress.org/support/users/lots0logs/)
 * (@lots0logs)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/homepage-previews/#post-6817084)
 * You can use CSS to hide the gallery in your post listings. The following plugin
   will allow you to add custom CSS easily without having to create a child theme:
 * [https://wordpress.org/plugins/simple-custom-css/](https://wordpress.org/plugins/simple-custom-css/)
 * Here is the CSS that will take care of it for you:
 *     ```
       .archive .format-gallery .gallery,
       .blog .format-gallery .gallery {
       display: none;
       }
       ```
   
 * Let me know if you have any questions.
 * Best Regards,
    Dustin
 *  Thread Starter [furioso](https://wordpress.org/support/users/furioso/)
 * (@furioso)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/homepage-previews/#post-6817139)
 * That also works perfectly, thank you a lot for your help Dustin! Much appreciated.
 *  [Dustin Falgout](https://wordpress.org/support/users/lots0logs/)
 * (@lots0logs)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/homepage-previews/#post-6817140)
 * You’re welcome 🙂
 * Cheers!

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

The topic ‘Homepage Previews’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/serene/1.4/screenshot.png)
 * Serene
 * [Support Threads](https://wordpress.org/support/theme/serene/)
 * [Active Topics](https://wordpress.org/support/theme/serene/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/serene/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/serene/reviews/)

 * 5 replies
 * 2 participants
 * Last reply from: [Dustin Falgout](https://wordpress.org/support/users/lots0logs/)
 * Last activity: [10 years, 5 months ago](https://wordpress.org/support/topic/homepage-previews/#post-6817140)
 * Status: not resolved