• I have a scenario where id like to include a css and 2 javascript files if a the ‘pre’ element is found in my post. Is there a way to do this, perhaps writing an if statement of some kind. Can anybody guide me on how to do just that?

The topic ‘php if statement for css and js’ is closed to new replies.