Answer the question
In order to leave comments, you need to log in
Define WordPress homepage inside an include file?
Good evening. There was a problem defining the main page. The bottom line is that posts that are generated in a separate file are displayed on the page, and if you specify is_front_page () or is_home () in that file, then they do not work, how can this be implemented?
More details:
There is a structure that you can see prntscr.com/929mx2 in the file that is selected, the content is formed and then the file connections are displayed on the pages. And the problem is that is_front_page () does not work in this file.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question