#25837 closed defect (bug) (fixed)
Twenty Fourteen: add in contextual help for setting up Featured Content
Reported by: | lancewillett | Owned by: | |
---|---|---|---|
Milestone: | 3.8 | Priority: | high |
Severity: | normal | Version: | 3.8 |
Component: | Bundled Theme | Keywords: | |
Focuses: | Cc: |
Description
To help authors use the theme to its full potential, let's add in as much help and tips as we can.
Things like maybe on Posts list screen, add a help screen for how to feature posts and add featured images.
Then, in the Customizer where we have all the FC settings, let's use labels and help text as much as the UI allows.
Two most important items to educate, showcase, and help with are:
- Featured Content
- Featured Images
Attachments (7)
Change History (54)
#5
in reply to:
↑ 3
@
11 years ago
Replying to lancewillett:
It'd be cool to also develop visual tutorials, using images and video, to illustrate how to use the theme to its fullest potential. Maybe linking them in the contextual help, hosted on the Codex or somewhere on WP.org.
Also want to be sure to inform users that the background of the Twentyfourteen theme is only displayed on wide-screens, when they are in the Background page. Possibly through use of add_help_tab() to put text in the Help area. related #25869
#8
follow-up:
↓ 9
@
11 years ago
- Keywords 2nd-opinion ui-feedback added
An idea: in the Customizer Featured Content pane, when we mention "featured" posts, link to that exact view: can we link from "featured" tag posts to their posts list?
/wp-admin/edit-tags.php?taxonomy=post_tag&post_type=post&s=featured
#9
in reply to:
↑ 8
;
follow-up:
↓ 10
@
11 years ago
Replying to lancewillett:
An idea: in the Customizer Featured Content pane, when we mention "featured" posts, link to that exact view: can we link from "featured" tag posts to their posts list?
/wp-admin/edit-tags.php?taxonomy=post_tag&post_type=post&s=featured
I like the idea. Did you mean here?
/wp-admin/edit.php?tag=featured
#10
in reply to:
↑ 9
@
11 years ago
Replying to iamtakashi:
Replying to lancewillett:
I like the idea. Did you mean here?
/wp-admin/edit.php?tag=featured
Yes, much better. :) Thank you.
#11
@
11 years ago
Just noting so that we don't forget. We probably should mention the maximum number of featured contents is six.
#14
follow-up:
↓ 15
@
11 years ago
I'm looking into editing the content in the welcome panel, but can only find two ways of customizing it:
1) Replace the text that's currently in the welcome panel via jQuery.
or
2) Disable the welcome panel via an action hook and build a new one to include via an action hook.
Either solution seems rather extreme. Suggestions?
#15
in reply to:
↑ 14
@
11 years ago
Replying to taupecat:
I'm looking into editing the content in the welcome panel, but can only find two ways of customizing it:
2) Disable the welcome panel via an action hook and build a new one to include via an action hook.
I agree it's a bit extreme to remove the default completely with the welcome_panel
action, and with the big "Customize" link right there in the default Welcome screen, that'd be enough to get a new author into the Customizer and they'd discover Featured Content there.
A few ideas:
- Maybe with JavaScript change out the "More Actions" links to point to Featured Content and Featured Images setup? We'd need to make a Codex page for both (or point to existing).
- Could we add a Welcome-style screen to another admin page, like themes.php? I'm not sure how difficult that would be. If Twenty Fourteen is the active theme, show a message above the theme grid with specific instructions for Twenty Fourteen? Maybe dismissable and just one or two links (also to the Codex).
#16
@
11 years ago
Tracking an idea celloexpressions mentioned, would be be allowed HTML in the theme description? To add in URLs to point to key editing pages. If not in style.css, maybe with a custom function override the description shown in themes.php to add in URLs.
#17
@
11 years ago
For "Help" tab content, I think we should look at adding at least a line or URL or two to the following:
- Appearance > Themes:
wp-admin/themes.php
- Edit Posts:
wp-admin/edit.php
In there, mentioning the key things we mention in the Customizer pane:
- Easily feature all posts with the "featured" tag [link in-admin] or a tag of your choice; if no posts match the tag, "sticky" posts [link in-admin] will be displayed instead.
- Enhance your design with Featured Images [link to how-to article]
#20
@
11 years ago
There is not a dedicated hook for adding help tabs, but admin_head-$page would be most preferred.
#22
@
11 years ago
Having it hooked into 'admin_head-edit.php'
will also add it in the page list and any custom post type, as far as I can tell without testing (Mavericks mangled my sandbox). Intentionally?
We could check $typenow
to avoid this, like in my original patch.
#23
@
11 years ago
Intentional for pages, but not post types. I'm open to changing it to just "post" post type.
#24
follow-up:
↓ 25
@
11 years ago
For translators comments like in [26153] we're using /* translators: */
block, not context (e.g. http://core.trac.wordpress.org/browser/trunk/src/wp-admin/includes/media.php?rev=25727#L237). In this examples I don't actually see need for any translators comments.
#25
in reply to:
↑ 24
@
11 years ago
Replying to dimadin:
For translators comments like in [26153] we're using
/* translators: */
block, not context (e.g. http://core.trac.wordpress.org/browser/trunk/src/wp-admin/includes/media.php?rev=25727#L237). In this examples I don't actually see need for any translators comments.
Hmm, good point on not really needed here.
#27
follow-up:
↓ 32
@
11 years ago
Still pending for this to be complete (see notes above):
- Welcome Screen additions
- Filtering stylesheet "description" field in themes.php -- maybe via a filter
- Limit Help tab to only "post" post type edit screen
#28
@
11 years ago
[26153]
<a href="%2$s">Appearance > Customize</a>
That middle >
will need to be changed or encoded since it's a reserved character in HTML.
#31
@
11 years ago
- Keywords needs-patch added; 2nd-opinion ui-feedback has-patch removed
For welcome screen, here's some sample code in case it's a starting point: https://gist.github.com/lancewillett/7491863
#32
in reply to:
↑ 27
@
11 years ago
Replying to lancewillett:
Still pending for this to be complete (see notes above):
- Filtering stylesheet "description" field in themes.php -- maybe via a filter
Chatted with Matías and Nacin in IRC (see log), it's a no-go since there are no filters on purpose for exposing the stylesheet data.
#33
@
11 years ago
Another idea is to add an activation message. After the theme is activated, show a short note on how the theme works and point to a longer explanation / tutorial to get it set up with Featured Content.
#38
follow-up:
↓ 39
@
11 years ago
- Keywords needs-patch added; has-patch removed
Still needs patches. :)
- Limit Help tab to only "post" post type edit screen
- Welcome Screen additions.
#39
in reply to:
↑ 38
@
11 years ago
Replying to lancewillett:
Still needs patches. :)
- Limit Help tab to only "post" post type edit screen
- Welcome Screen additions.
That first one should be a pretty easy fix; I'll take a look tomorrow.
#40
follow-up:
↓ 41
@
11 years ago
Looks like the help text for Twenty Fourteen on the Themes page is in <li> tags, which aren't quite styled in same way as other help text wrapped in p tags (the li text i s larger).
#44
@
11 years ago
- Keywords needs-patch removed
- Resolution set to fixed
- Status changed from new to closed
Going to forgo the Welcome Screen changes; we can look again at that in a future release.
#46
@
11 years ago
Thanks to @siobhan we now have a Codex page for explaining how Twenty Fourteen works: http://codex.wordpress.org/Twenty_Fourteen
Rather than littering lots of text in the theme comments or contextual help, we can put all the longer explanations there and point to it.
It'd be cool to also develop visual tutorials, using images and video, to illustrate how to use the theme to its fullest potential. Maybe linking them in the contextual help, hosted on the Codex or somewhere on WP.org.