Title: Error in Single.php
Last modified: August 20, 2016

---

# Error in Single.php

 *  [fanjava300892](https://wordpress.org/support/users/fanjava300892/)
 * (@fanjava300892)
 * [14 years, 11 months ago](https://wordpress.org/support/topic/error-in-singlephp-2/)
 * Hy all, 🙂
 * I have problem..in single.php file.
    I try posting the article, with custom field
   and featured image. But,if i click the result of post in homepage. I get, all
   my post shown with full summary.And the ID post in the address bar is correct.
 * Please help me 🙁
 * My **single.php** file
 *     ```
       <?php get_header(); ?>
               <div id="content-common">
               	<div class="post-container">
                   <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
                       <div class="post">
                           <div class="title">
                               <h1>
                               	<a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a>
                               </h1>
                           </div>
                           <div class="entry-post">
                               <?php the_post_thumbnail(); ?>
                               <?php the_content(); ?>
                               <?php
       							$custom_field_fitur = nl2br(get_post_meta($post->ID,"Fitur",true));
       							$custom_field_organiser = get_post_meta($post->ID,"Organiser",true);
   
       							echo "Fitur : ".$custom_field_fitur."<br />";
       							echo "Organiser : ".$custom_field_organiser;
       						?>
                           </div>
                      </div>
                   <?php endwhile; else: ?>
       				<p>Sorry, no posts matched your criteria.</p>
       			<?php endif; ?>
                   </div><!-- End Post Container -->
               </div><!-- End Content -->
       <?php get_footer(); ?>
       ```
   

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

 *  [futurepocket](https://wordpress.org/support/users/futurepocket/)
 * (@futurepocket)
 * [14 years, 11 months ago](https://wordpress.org/support/topic/error-in-singlephp-2/#post-2192887)
 * Can you clarify what you mean, perhaps a link to your website where we can see
   what’s wrong?
 *  Thread Starter [fanjava300892](https://wordpress.org/support/users/fanjava300892/)
 * (@fanjava300892)
 * [14 years, 11 months ago](https://wordpress.org/support/topic/error-in-singlephp-2/#post-2192892)
 * Okay,
 * this is the website
 * [movi.co.id](http://movi.co.id)
 * You can view in Produk > Handphone > and select the type.
    And error shown
 *  [futurepocket](https://wordpress.org/support/users/futurepocket/)
 * (@futurepocket)
 * [14 years, 11 months ago](https://wordpress.org/support/topic/error-in-singlephp-2/#post-2193060)
 * Hmm, it doesn’t seem to redirect me anywhere when I click in Produk > Handphone,
   the link for that redirect is:
 * [http://movi.co.id/#](http://movi.co.id/#)
 * Is that the problem you are having? That the pages are not loading on click?
 *  Thread Starter [fanjava300892](https://wordpress.org/support/users/fanjava300892/)
 * (@fanjava300892)
 * [14 years, 10 months ago](https://wordpress.org/support/topic/error-in-singlephp-2/#post-2193124)
 * Hy, you can check again now.
    I am frustated about it. I try to compare one by
   one with other themes, and its not different.
 *  [futurepocket](https://wordpress.org/support/users/futurepocket/)
 * (@futurepocket)
 * [14 years, 10 months ago](https://wordpress.org/support/topic/error-in-singlephp-2/#post-2193227)
 * I don’t see the problem … did you manage to get it resolved? Your page seems 
   to be loading just fine.

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

The topic ‘Error in Single.php’ is closed to new replies.

## Tags

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

 * 5 replies
 * 2 participants
 * Last reply from: [futurepocket](https://wordpress.org/support/users/futurepocket/)
 * Last activity: [14 years, 10 months ago](https://wordpress.org/support/topic/error-in-singlephp-2/#post-2193227)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
