Automattic / wp-calypso

The JavaScript and API powered WordPress.com
https://developer.wordpress.com
GNU General Public License v2.0
12.4k stars 1.98k forks source link

Customizer: Homepage Settings does not appear if no Pages are published. #37320

Open thehenrybyrd opened 4 years ago

thehenrybyrd commented 4 years ago

Steps to reproduce

  1. On a site with exactly one published Page, check My Site > Design > Customize. See that "Homepage Settings" is available within Customizer.
  2. Edit that Page, and click "Switch to Draft" to make the Page a Draft. Now, you should have no published Pages.
  3. Check Customizer again, and see that "Homepage Settings" doesn't exist at all.

What I expected

I expected to find "Homepage Settings" in Customizer.

What happened instead

"Homepage Settings" didn't appear in Customizer at all.

Screen Shot 2019-11-05 at 11 19 49 AM

Solution

"Homepage Settings" should appear in Customizer, with a notice that there is no published Page. Even a link to https://en.support.wordpress.com/pages/front-page or an explanation that a published Page is required. This would prevent users (and HEs) from running into a surprising Customizer with no "Homepage Settings" section.

Context / Source

I was quite surprised when I ran into this in 14475431-hc.

thehenrybyrd commented 4 years ago

This came up again in 16588963-hc. The user I spoke with was extremely frustrated after reading their theme instructions over and over again but being unable to see "Homepage settings" in Customizer.

I seriously am at the verge of quitting wordpress over this

We need to leave Homepage Settings in the Customizer even when there are no published Pages, and simply have a note explaining a Page needs to be published.

zdenys commented 4 years ago

Another case 2584282-zen

zdenys commented 4 years ago

Another one 16496599-hc:

The main thing i'm having an issue with is that I can't access homepage settings to set a page as the homepage. It isn't even an option in my wordpress.

zdenys commented 4 years ago

Until it's fixed, I've updated the support page https://en.support.wordpress.com/pages/front-page/#2-set-a-static-front-page with:

(To see this option the site needs to have at least one published page)

zdenys commented 4 years ago

Another confused user in 22180859-hc

github-actions[bot] commented 3 years ago

This issue is stale because it has been 180 days with no activity. You can keep the issue open by adding a comment. If you do, please provide additional context and explain why you’d like it to remain open. You can also close the issue yourself — if you do, please add a brief explanation and apply one of relevant issue close labels.

freelylovinglife commented 2 years ago

4465747 - ZD Another case.