I’ve done fairly simple conditional tags before, but I’m having troubles figuring out how to do this using code on our blog that was created by someone else.
The following code is set up to display an ad after the 3rd paragraph across our entire blog. However, I would like to modify this to set a condition to display the ad everywhere (all Pages, Posts, etc.) EXCEPT for a certain Page (ID=5481).
I’m too much of a novice to know exactly what I need to do in order to correctly set up the “! is_page(5481)” (is not Page 5481) conditional tag to not display the ad if it’s Page 5481 but everywhere else otherwise.
Any guidance from someone more experienced in conditional tags would be greatly appreciated.