Answers for "is_page ()"

0

is_page ()

if ( is_page( array( 'about-us', 'contact', 'management' ) ) ) {
     // either in about us, or contact, or management page is in view
} else {
     // none of the page about us, contact or management is in view
}
Posted by: Guest on May-23-2021

Code answers related to "is_page ()"

Browse Popular Code Answers by Language