How to determine if Wordpress plugin is called from Wordpress widget?

If you just want yours to fire on the "main" content areas then use the in_the_loop() function to check and see if you're in a content loop. This will probably get you 99% of the way there but you'll almost certainly find some edge case that'll cause frustration ;).

If you just want yours to fire on the "main" content areas then use the in_the_loop() function to check and see if you're in a content loop. This will probably get you 99% of the way there but you'll almost certainly find some edge case that'll cause frustration ;) if (in_the_loop()) { // do stuff } This will keep your code from executing at all in a sidebar.

This is actually a quite nice solution, I think this will do the job, thanks! – DrDee Jan 13 '10 at 23:39.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions