[ad_1]
I’m building a website and I have a blogs page and then I have categories associated to that blog. When I’m in the generic blog page with all blogs I DON’T want a “view all blogs” button. But when im on any of the categories pages I want that button to appear. So im looking for a wp function that can tell if im on the main blog page or not. Thank you!
[ad_2]
Did you mean “post” and not “page”, right? Page is more flexible to create layout whatever you want, “post” need to be customised from backend to edit simple thing like this.
Settings > Reading. If you don’t set your pages then the home page is always the blog page.