Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Stick to the front page" should be contextually aware of what the front page displays #3072

Closed
mor10 opened this issue Oct 19, 2017 · 21 comments
Labels
[Feature] Document Settings Document settings experience [Status] Stale Gives the original author opportunity to update before closing. Can be reopened as needed. [Type] Copy Issues or PRs that need copy editing assistance [Type] Enhancement A suggestion for improvement.

Comments

@mor10
Copy link
Contributor

mor10 commented Oct 19, 2017

Issue Overview

Under the Document panel, the Sticky post feature says "Stick to Front Page". This is only accurate if the site has the blog index as the front page.

Steps to Reproduce (for bugs)

  1. Set a static page as the front page and a different static page as the blog index.
  2. Create a Gutenberg post.
  3. Look at the wording for the Sticky post toggle.

Expected Behavior

When "Your homepage displays" is set to a static page and the blog index is placed on a separate static page, the wording of the Sticky post toggle should reflect this:

  • When blog index is front page: "Stick to the Front Page"
  • When static page is front page: "Stick to the top of blog index" or similar

Current Behavior

"Stick to the Front Page" is displayed in all circumstances.

Possible Solution

Make the Sticky post text contingent on the current front page settings.

@karmatosed
Copy link
Member

I agree it should make more sense contextually. However, I think we could be a little more human in our description - 'blog index' isn't an easy term for non advanced users. What about:

'Blog posts: stick to front'

Even better, could this setting just hide when a page is set on front?

@mor10
Copy link
Contributor Author

mor10 commented Oct 24, 2017

Now that I think about it I'm not sure exactly how the sticky post feature works. Does a sticky post only stick on top of the index if the index is the front page of the site but not if the index is a separate page?

If so, "Blog posts: stick to front" makes sense. If the sticky post feature works regardless of where the blog index is positioned, then the feature has merit regardless of front page settings.

I'm not sure "stick to front" is descriptive enough to actually explain what's going on. It begs the question "what does 'stick' and 'front' mean?" I feel like there's some better way of explaining it - like "make first visible post" or "bring to front of post list" or something like that. The whole "stick to top/front" terminology is inherited from old school forums and has almost no contextual meaning in the modern WordPress post index world.

@aaronjorbin
Copy link
Member

Stick to the Front Page makes 100% sense if you know what front means, which isn't an assumption we should make.

How about Stick to Homepage and Stick to Posts page depending on what is selected? That would make things a bit more consistent with the options page (screenshot below)

screen shot 2017-10-24 at 4 06 20 pm

@mor10
Copy link
Contributor Author

mor10 commented Oct 24, 2017

That sounds like a clean solution to me.

@mtias mtias added the [Feature] Document Settings Document settings experience label Nov 20, 2017
@WPprodigy
Copy link
Contributor

WPprodigy commented Jan 5, 2018

Would it be out of scope to expose the show_on_front WP option to the REST API's settings endpoint via register_rest_field in this plugin?

Not 100% sure what's best practice for a feature plugin like this. As far as I can tell Gutenberg hasn't needed to do this yet as all the data it needs has been available from the REST API.

@danielbachhuber danielbachhuber added the [Type] Enhancement A suggestion for improvement. label May 25, 2018
@danielbachhuber danielbachhuber added this to the WordPress 5.0 milestone May 25, 2018
@mtias mtias added the Customization Issues related to Phase 2: Customization efforts label Jul 16, 2018
@Clorith
Copy link
Member

Clorith commented Jul 25, 2018

I'd like to make the argument that "stick to *" makes little sense regardless of what term we put behind it.

The feature is more discoverable in Gutenberg, in thew classic editor you need to manually click to edit the post status to access this feature, and I suspect many users therefore don't know about it in the first place.

Contextually awareness would help a little, but themes and plugins can change this without you ever having known about it until now, or what if your theme uses a static front page, but the theme authors chose to add in a latest posts section that is affected by this, in which case the contextual bit would be a problem.

@haicu
Copy link

haicu commented Sep 13, 2018

I agree with Clorith. In the gutenberg editor screen one of the first things I encounter for a post is the option to "stick to the front page". This is confusing wording. What actually happens when you make a post sticky is that it is put on top of the post list. So I would suggest that the wording reflects that behaviour.

So what about "stick this post to the top of the post list". Or maybe a shortened version of this?

If theme authors bypass this sticky feature, they must be able to turn it off. Is there an add_theme_support_for_sticky_post function or something like that to turn it off?

@melchoyce
Copy link
Contributor

How about "Always show this post at the top of my blog?"

@haicu
Copy link

haicu commented Oct 2, 2018

Better yes!

@Clorith
Copy link
Member

Clorith commented Oct 2, 2018

I'm not 100% sold, not unlikely scenario: What blog? I use WordPress as a CMS, I don't blog, I post news articles about my company.

I don't have any better suggestions, unfortunately, but it's something I'd love if we could find soem kind of neutral terminology for if at all possible.

@haicu
Copy link

haicu commented Oct 3, 2018

How about a more generic phrase like "Always show this post at the top of my post list?"

@mtias
Copy link
Member

mtias commented Nov 1, 2018

There doesn't seem to be a consensus on the best way to handle this yet. This will be a center point for the next phases, so it'll have to be approached more holistically then.

If there's a simple copy suggestion that would improve things, let's consider it.

@mtias mtias modified the milestones: WordPress 5.0, Future: Phase 2 Nov 1, 2018
@TeemuSuoranta
Copy link

There should also be some way to disable this feature from UI as there are sites that have more complex way of ordering the front page and sticky feature is not used.

MVP: a CSS class to component
The old way has been to remove it with CSS (like here https://wordpress.stackexchange.com/questions/10676/is-there-a-way-to-disable-the-sticky-posts-feature). If the wrapper would have a unique class/ID, we could disable the feature this way. At the moment (WP 5.0) won't include any CSS class that could reliably be set to display: none.

More robust way
The whole sticky option could be made into post type supports feature and label be changed through post type labels.

@adleviton
Copy link

adleviton commented Dec 27, 2018

Not all websites are blogs. It would be great to have the ability to hide the "Stick to the Front Page" checkbox.

@WPprodigy
Copy link
Contributor

Hmm, it only shows on posts though, not pages.

@adleviton
Copy link

True. But not all websites work in the context of being able to stick posts to the front page. So from the client's or end user's perspective, it's just one more thing that can cause confusion and UI clutter.

@pkimbrell38
Copy link

How about if you don't want this option to show up at all in the ep editor? For example, some wp sites are multi-author sites and I have been trying to figure out how to make this hidden completely in the wp editor, "Stick to the top of the blog." I have been unable to find a solution anywhere.

@noisysocks
Copy link
Member

How about a more generic phrase like "Always show this post at the top of my post list?"

I like this copy. Posts can be displayed in lost of places now that we e.g. have a Query block.

How about if you don't want this option to show up at all in the ep editor? For example, some wp sites are multi-author sites and I have been trying to figure out how to make this hidden completely in the wp editor, "Stick to the top of the blog." I have been unable to find a solution anywhere.

I don't believe there is currently a way to disable this. WordPress Core would have to add this functionality. Please open a ticket in https://core.trac.wordpress.org/newticket.

@noisysocks noisysocks added Good First Issue An issue that's suitable for someone looking to contribute for the first time [Type] Copy Issues or PRs that need copy editing assistance and removed Customization Issues related to Phase 2: Customization efforts labels Jul 15, 2022
@Mamaduka
Copy link
Member

The wording was updated to Stick to the top of the blog in #13120.

@Mamaduka
Copy link
Member

@mor10, can we close this issue?

Screenshot

CleanShot 2023-06-13 at 11 18 57

@Mamaduka Mamaduka added [Status] Stale Gives the original author opportunity to update before closing. Can be reopened as needed. and removed Good First Issue An issue that's suitable for someone looking to contribute for the first time labels Jun 13, 2023
@Mamaduka Mamaduka removed this from the Future milestone Jun 13, 2023
@mor10
Copy link
Contributor Author

mor10 commented Jun 13, 2023

Looks good to me

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Feature] Document Settings Document settings experience [Status] Stale Gives the original author opportunity to update before closing. Can be reopened as needed. [Type] Copy Issues or PRs that need copy editing assistance [Type] Enhancement A suggestion for improvement.
Projects
None yet
Development

No branches or pull requests