WordPress.org

Make WordPress Core

Opened 3 years ago

Closed 3 years ago

Last modified 3 years ago

#24857 closed feature request (maybelater)

Easy-to-manage featured content for highlighting posts

Reported by: lancewillett Owned by:
Milestone: Priority: normal
Severity: normal Version: 3.8
Component: Themes Keywords:
Focuses: Cc:

Description

Add new functionality to give authors a consistent way to spotlight certain posts on their home page so they can be uniquely displayed by a theme. When switching themes, the featured content will not be lost.

This is slated for 3.8. Development will occur in a plugin first.

Attachments (2)

featured-content.jpg (119.2 KB) - added by ubernaut 3 years ago.
featured-content2.jpg (136.2 KB) - added by ubernaut 3 years ago.

Download all attachments as: .zip

Change History (41)

#1 @markoheijnen
3 years ago

You know we have sticky posts ;) is this going to be working together or is it a replacement?

#3 @MikeHansenMe
3 years ago

  • Cc mdhansen@… added

#4 @alexvorn2
3 years ago

  • Cc alexvornoffice@… added

#5 @Frank Klein
3 years ago

  • Cc contact@… added

#6 @johnbillion
3 years ago

  • Cc johnbillion added

#7 @obenland
3 years ago

  • Component changed from General to Themes
  • Type changed from defect (bug) to feature request
  • Version set to trunk

#8 @jeherve
3 years ago

  • Cc jeremy+wp@… added

#9 @Jayjdk
3 years ago

  • Cc kontakt@… added

#10 @swissspidy
3 years ago

  • Cc hello@… added

#11 @taylorde
3 years ago

  • Cc td@… added

#12 @DrewAPicture
3 years ago

  • Cc xoodrew@… added

#13 @valeriosza
3 years ago

  • Cc valeriosza@… added

#14 in reply to: ↑ description @valeriosza
3 years ago

Thank you for accepting the idea that I gave.

Well, I'm developing a plugin, along with another member of the Brazilian community. Once ready, send it to be analyzed, as was thought.

Replying to lancewillett:

#16 follow-up: @swissspidy
3 years ago

Are we supposed to file plugin-specific tickets on plugins.trac.wordpress.org or should we do this here? I can't select the plugin as a component there, though.

Because IMO we should remove the dependency on a specific post tag ("featured") and use post metadata instead.

#17 in reply to: ↑ 16 ; follow-up: @helen
3 years ago

Replying to swissspidy:

Because IMO we should remove the dependency on a specific post tag ("featured") and use post metadata instead.

http://www.taylorlovett.com/web-development/taxonomy-vs-post-meta-queries/

#18 in reply to: ↑ 17 @swissspidy
3 years ago

Replying to helen:

http://www.taylorlovett.com/web-development/taxonomy-vs-post-meta-queries/

Thanks for link! Already read the post back in May but must have forgotten about it ;-)

My initial thought was:
How can we use a custom term without having the user to change it? I'm sure a lot of sites already use a featured tag and an extra option for this would be too much.

Possibilities:

  • wp-featured as term name and always hide it in public (only the 'Number of posts' option left)
  • Use a custom featured_content taxonomy which would allow for different featured content areas or
  • name it wp_internal so it could be used by other components

Just thinking out loud... What are your thoughts?

Version 0, edited 3 years ago by swissspidy (next)

#19 @obenland
3 years ago

Featured Content

Proposed Lead: wonderboymusic

People (currently) involved:
wonderboymusic, tmoorewp, obenland, taylorde, DrewAPicture, carldanley, mfields, jayjdk, jcastaneda, swissspidy, melchoyce, karmatosed, sabreuse, rdall, mt_Suzette

Terms:

Area: A location in a theme where featured content displays. Areas are defined by and stored in the theme. Areas may appear in multiple locations.
Post: This includes Posts and Pages. Support for custom post types may be provided by filter. Posts may appear in multiple areas simultaneously.
Collection: A group of posts. Ideally defined implicitly by dropping posts in an area.

Outline

We will need to create a UI that gives publishers the following abilities:

  • Add/Remove posts to/from area.
  • Move a post from one area to another.
  • Define a custom title, excerpt, and featured image for a post.
  • Manage collections.
  • Move a collection from one area to another.

We possibly need to create a metabox in the edit post/page screen so that publishers can:

  • Add the post to an area(s).
  • Remove the posts from an area(s).
  • Define a custom title, excerpt, and featured image for a post.

And of course an API :)

  • Register an area or areas
  • Get featured posts for an area

General requirements:

  • Collections and their assigned posts have to be portable between themes, and ex-/importable.

Features for a v2:

  • Scheduling collections
  • Area-agnostic custom title, excerpt. and featured image
  • Hierarchical areas

#20 @iandstewart
3 years ago

  • Cc ian@… added

#21 @ethitter
3 years ago

  • Cc erick@… added

#22 @melchoyce
3 years ago

  • Cc melissachoyce@… added

#23 @carldanley
3 years ago

  • Cc carldanley@… added

#24 @buffler
3 years ago

  • Cc jeremy.buller@… added

#25 @karmatosed
3 years ago

  • Cc karmatosed@… added

#26 @greenshady
3 years ago

  • Cc justin@… added

#27 @greuben
3 years ago

  • Cc rgunday@… added

#28 @tollmanz
3 years ago

  • Cc tollmanz@… added

#29 @pross
3 years ago

  • Cc pross@… added

#30 @ubernaut
3 years ago

here (just attached) is the very rough/basic mockup for the menu ui based idea i was talking about earlier today.

Last edited 3 years ago by ubernaut (previous) (diff)

#31 @ubernaut
3 years ago

  • Cc ubernaut@… added

#32 @jcastaneda
3 years ago

  • Cc jomcastaneda@… added

#33 @adamsilverstein
3 years ago

  • Cc adamsilverstein@… added

#34 @ubernaut
3 years ago

just added a revised version of the menu style thing.

#35 @rachelbaker
3 years ago

  • Cc rachel@… added

#36 @mindctrl
3 years ago

  • Cc public@… added

#37 @hotchkissconsulting
3 years ago

  • Cc hotchkissconsulting added

#38 @SergeyBiryukov
3 years ago

  • Milestone 3.8 deleted
  • Resolution set to maybelater
  • Status changed from new to closed

#39 @grantpalin
3 years ago

  • Cc grantpalin added
Note: See TracTickets for help on using tickets.