i want to display custom html code when a post is rendered (so not when is inserted into db).
I currently do this with *add_filter('the_content', 'my_custom_method')*. The only problem is that i want this do be displayed only inside the post (when is viewed in its own page), not when all posts are rendered .
I banged my head against the wall, but couldn't find any method to tell me if i'm currently inside an individual post or not (this has to work for every url rewriting possible, so i can't rely on url)
Is there such a method? I believe it should be, but i can't find it. Thanks.