Doubts about your code…
-
Hi. I wonder why you used:
if (is_front_page() || is_single()) {
as a condition to execute your “search and publish missed posts” code.
There are WordPress sites that are built, mostly (or exclusively) with pages, and not posts. In this sort of web site, your code will only run if someone access the front page.
So, why not using
if (is_front_page() || is_single() || is_page) {
instead?Regards,
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Doubts about your code…’ is closed to new replies.