Title: Missing loop in single.php
Last modified: August 24, 2016

---

# Missing loop in single.php

 *  [Yohan Perera](https://wordpress.org/support/users/thevirtualpreacher/)
 * (@thevirtualpreacher)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/no-in-singlephp/)
 * I am planning to switch to this theme and it’s being tested in a test server 
   right now. I need to add the following code to single.php (in order to use the
   plugin WP-Email).
 * `if(function_exists('email_link')) { email_link(); }`
 * It should be placed right under this loop,
 * `<?php while (have_posts()) : the_post(); ?>`
 * Unfortunately the single.php file used by the parent theme (Omega) doesn’t have
   that loop. Can someone please help?

The topic ‘Missing loop in single.php’ is closed to new replies.

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

## Tags

 * [loop](https://wordpress.org/support/topic-tag/loop/)
 * [single.php](https://wordpress.org/support/topic-tag/single-php/)

 * 0 replies
 * 1 participant
 * Last reply from: [Yohan Perera](https://wordpress.org/support/users/thevirtualpreacher/)
 * Last activity: [11 years, 1 month ago](https://wordpress.org/support/topic/no-in-singlephp/)
 * Status: not resolved