How do I add more than one post id to this "if" statement?
Hi guys, forgive my ignorance with php but I am learning as I go along. I copied this social media code for my wordpress website to try and avoid using a plugin and it works fine but I wanted to exclude some post/page ids from the code showing on my site and tried this:
Code:
if(is_singular() && !is_page(14,17,223)){ // sample: 234 is a page id
. It works with just one id but not more. I've attached the function as a text file in case you need...