php “if” condition for single post
-
I got my new theme redesigned and just got it changed. When I add the digg javascript ( showing the number of diggs ) i am able to see it both on my homepage( for every post) and in the singlepost.php too. The Digg count is based on the URL so I need to disable the digg script for my homepage.
I am not good at php. Can anyone help me by giving the php “if” condition for the singlepost, so that I could just add the digg script within this “if” condition and that it shows up only on th single post and not on my homepage.
Here is my site http://www.dezinerfolio.com
Thank You in advance.
The topic ‘php “if” condition for single post’ is closed to new replies.