Build Your Own Business Website header image

Syntax

Syntax Error in Conditional Statement – if(is_page())

Difficulty Level -

Filed Under Topics - , ,

Listed Under Lesson Subjects -

A member used some suggested code on the forum to remove the H1 tag from a specific page.  She discovered that the code worked fine if the conditional statement used the page slug but did not work if using the page id.  We discovered the syntax error that led to the problem of the page