Quantcast
Channel: WordPress › Support » Forum: Hacks - Recent Topics
Viewing all articles
Browse latest Browse all 8245

fitter man on "Which Filter Do I Want? Single Post"

$
0
0

I am new at this, so bear with me.

I'm writing a plugin that adds some Javascript to the page. It's working, but right now it's doing it on posts, lists of posts, etc. I have used "the_content" filter to do this. But what I want is to have this only invoked when a single post is being displayed rather than have it happen even when lists of posts are being shown.

So, which filter do I want, or is there some other way to achieve this?


Viewing all articles
Browse latest Browse all 8245

Trending Articles