The reason I thought PHP would be the answer is that I was thinking a if…else if statement to test for some variable. If it was the main page it displays in the menu, if it is a single post it displays between the post and the comments.
If anyone could just tell me what variable to test for I could probably figure it out. Thanks