How to display specific content on the post page only?

After completing the custom field to display unique content work I found out that there was a problem. The problem was not with the functionality which I had just coded rather it was with how it was working. Problem was that the $post->ID also existed on the archive and category pages. Due to this the … Read more How to display specific content on the post page only?