Title: lcdevlin's Replies | WordPress.org

---

# lcdevlin

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

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

 Search replies:

## Forum Replies Created

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

 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Removing Feature Image From Blog Posts](https://wordpress.org/support/topic/removing-feature-image-from-blog-posts/)
 *  Thread Starter [lcdevlin](https://wordpress.org/support/users/lcdevlin/)
 * (@lcdevlin)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/removing-feature-image-from-blog-posts/#post-4202440)
 * Ok I will check there..
 * And thank for the tip about the child theme. I really don’t want to destroy the
   one I have.
 * I’ll read through these and see if I can get it to work.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Removing Feature Image From Blog Posts](https://wordpress.org/support/topic/removing-feature-image-from-blog-posts/)
 *  Thread Starter [lcdevlin](https://wordpress.org/support/users/lcdevlin/)
 * (@lcdevlin)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/removing-feature-image-from-blog-posts/#post-4202432)
 * I have, but haven’t heard back yet. Here is the single.php code. Its pretty straight
   forward.
 *     ```
       <?php
       /**
        * Single Post Template - this is the template for the single blog post.
        */
       get_header();
   
       if(have_posts()){
       	while(have_posts()){
       		the_post();
       		//get all the page data needed and set it to an object that can be used in other files
       		$pex_page=new stdClass();
       		$pex_page->slider='none';
       		$pex_page->layout=get_opt('_blog_layout');
       		$pex_page->sidebar=get_opt('_blog_sidebar');
   
       		//include the before content template
       		locate_template( array( 'includes/html-before-content.php'), true, true );
   
       		//include the post template
       		locate_template( array( 'includes/post-template.php'), true, false );
       	}
       } 
   
       //include the comments template
       comments_template(); 
   
       //include the after content template
       locate_template( array( 'includes/html-after-content.php'), true, true );
   
       get_footer();   ?>
       ```
   
 * _
    [Please use the code buttons for posting code here]

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