I have a real issue right now with a conditional statement that I'm trying to get working. Maybe someone out there has solved it somehow or knows more php than I do.
Here is the link to the php code I'm using: http://latestpost.pastebin.co.uk/3890
What the above code does is pull the latest three posts from a specified catagory into the sidebar. That's great, but I want to go a step further. I want to have the code only execute on a specific page, and not others.
I've tried using the 'is_page' conditional statement, but I can't seem to code it right. I've put it after the 'in_catagory' using && and no dice. Also tried a double if statement...with no success. I don't even get an error. It just doesn't work.
Is is possible to do or am I just spinning gears?