How to know is archive page is product.
-
Hi Guys,
I create two custom post type name as ‘product’ and ‘blog’. I also create two archive page ‘archive-product’ and ‘archive-blog’.
Now i want to know which page is active. example we know is_page(‘contact’) if page is contact then it return true.
So is there any way to know is this archive page ‘product’ or ‘blog’
Thanks
- The topic ‘How to know is archive page is product.’ is closed to new replies.