Do you have content you want to isolate to a group of pages or perhaps block certain content? WordPress' is_page function allows you to isolate pages making it easy to manage your website's content. When you are dealing with multiple pages you can opt for 'and &&' or just use an array.

The snippet below isolates pages using the is_page function with an array.

This post was written by Steven Soehl Tampa based web developer & designer, online marketer, and WordPress.


Posted Under: ,

Leave a Reply

Be the First to Comment!

Notify of