2016-07-09, 05:14:41
My Page To Display Posts is "index". On the front page of my site I want to show a block of text (a component) above the blog posts. But on the actual Post pages or Archive page, I don't want that component to show.
I'm trying to use if (return_page_slug()=='index') for this, but the Post pages and the Archive page have the same slug as my home page so it doesn't work. How do I achieve this?
I'm trying to use if (return_page_slug()=='index') for this, but the Post pages and the Archive page have the same slug as my home page so it doesn't work. How do I achieve this?