Skip to content
Advertisement

PHP condition with HTML/PHP putput

I running WordPress site and I want to show something only if post format is quote. I have following code but it give fatal error:

JavaScript

Advertisement

Answer

It looks like you have a syntax error in your code. Try simplifying your code as follows:

JavaScript

If you still get the Fatal error, share the error with us. It will help point us in the right direction.

User contributions licensed under: CC BY-SA
3 People found this is helpful
Advertisement