WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I want to add a new div on wordpress index.php thumbnails. When hovered a new div should cover the thumbnail. The problem is that whatever I add to index.php it will affect all posts, so if a user hovers one thumbnail the effect will hit all posts thumbnails. Any ideas on how to fix it?

You can have a glimpse of what I am building at techgeek.lt/naudinga/

share|improve this question

closed as off-topic by toscho Nov 27 '13 at 19:20

This question appears to be off-topic. The users who voted to close gave this specific reason:

If this question can be reworded to fit the rules in the help center, please edit the question.

Please see Template Hierarchy in Codex to determine which template would be fitting to precisely target what you want modified. You might need to create such template and add to theme.

Alternative would be to use Conditional Tags to control output of additional markup.

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.