Opened 11 years ago
Closed 11 years ago
#187 closed enhancement (fixed)
make/Community p2 post categories
Reported by: | iandunn | Owned by: | Otto42 |
---|---|---|---|
Milestone: | Priority: | normal | |
Component: | Make (Get Involved) / P2 | Keywords: | |
Cc: |
Description
@jenmylo requested some p2 modifications for the make/Community blog.
- The ability to assign a category to a new p2 post
- Creating a category template with the new post form included
- Add room to the category template for an intro area above the blog posts
- New home page design
xref: http://make.wordpress.org/community/2013/09/05/importing-events/
Attachments (9)
Change History (24)
#2
@
11 years ago
@jenmylo, I attached some screenshots for your feedback.
post-form-with-category-dropdown.png
shows the category dropdown added to the new post form.home-page.png
shows category links being displayed on postscategory-page.png
shows the category template with the post form added.
(The last two don't have the dropdown in them, but they will in production.)
Those are all ready to go, pending any tweaks you want and the decision on where to host the p2 category plugin.
I'll probably need a rough wireframe for #3 and #4, or at least a detailed description of what you want it to look like.
#3
@
11 years ago
- Category dropdown and tag input could be on same line, the tag field doesn't need to be so long.
- Okay.
- Guessing that if there was a category description stored it would show above the list of posts?
#4
@
11 years ago
- P2 only has a hook to add elements at the end of the form, so I think the only way to get it there would be with absolute CSS positioning, or using Javascript to move it within the DOM after the fact. Both of those would be pretty fragile, though, so I'd recommend against it.
- Attached a new screenshot with that. P2 doesn't display tag descriptions; do you want them added on the tag archive template too?
#5
@
11 years ago
187-p2-new-post-categories.diff
is for the p2 plugin. I put it in a new folder in the Meta repo, so we can make it an svn:external in the private repo, similar to the handbook plugin.
187-wporg-p2.diff
is for supporting the use of categories on the make/Community site.
Those two patches take care of #1 and #2. Waiting on wireframes to do #3 and #4.
#6
@
11 years ago
187-p2-new-post-categories.2.diff
shows empty categories in the dropdown list and sorts the categories by name instead of ID.
#9
@
11 years ago
Okay, it's on there and activated for make/community, but you might want to have the dropdown have some kind of better default selection. Perhaps "Uncategorized".
#10
@
11 years ago
187-p2-new-post-categories.3.diff makes the default category selected by default.
#12
@
11 years ago
- Resolution set to fixed
- Status changed from reviewing to closed
Closing this for now. Re-open if there are further changes to be made.
#13
@
11 years ago
- Resolution fixed deleted
- Status changed from closed to reopened
187-p2-new-post-categories.4.diff
takes advantage of the new p2_new_post_submit_success
trigger in P2 to hook into the save-new-post process in a clean way. We don't have to hijack the Tag field anymore, so it's less confusing/disruptive for users.
#1 is written. I started a discussion on our p2 about whether it should live in the Meta repo or the official plugin repo.