@infokurs Awesome! Thanks for activating that mode ??
I got all the data I need!
And, it shows the following:
is_blog_page => (boolean) true // This can never be true if is_home is also true <- wrong
is_home => (boolean) true // It's a blog?? <- wrong
is_singular => (boolean) true // It's also singular?? <- correct
page => (integer) 1
paged => (integer) 1
page_id => (integer) 0
While it should be:
is_front_page_by_id => (boolean) true
is_page => (boolean) true
is_real_front_page => (boolean) true // manipulation of is_front_page()
is_singular => (boolean) true
is_static_frontpage => (boolean) true // determining that the static front page matches the setting, i.e. 1251
page => (integer) 1 // pagination
page_id => (integer) 1251 // The assigned ID.
paged => (integer) 1 // pagination
What does it mean?
Well, WordPress assigned the home page as a static page…
But, on AMP the home page thinks it’s a blog. But that doesn’t exist, so TSF doesn’t know what to do.
With many fail-safes to prevent wrong output-data, it leaves you with this fail-safe title: “Untitled”.
I’ll dig into the AMP plugin (which hacks in the home page) to see what’s the culprit.
But you’ve definitely given us a great lead! Thank you so much ??
Before I go, could you tell me this?
If you go to wp-admin/options-reading.php
, is the selection for “Posts page:” the following?
— Select —
If that’s so… well, even WordPress Core had many issues with that setting.
It’s cause for a very common bug (ergo is_front_page_by_id()
and is_blog_page()
within TSF).
Thank you so much, once again ??