Making WordPress.org

Opened 7 years ago

Closed 5 years ago

#3111 closed enhancement (fixed)

Enhancement: Support Session Excerpts

Reported by: bandonrandon's profile BandonRandon Owned by: kau-boy's profile kau-boy
Milestone: Priority: normal
Component: WordCamp Site & Plugins Keywords: good-first-bug has-patch needs-testing
Cc:

Description

Currently the Sessions custom post type does not have Excerpt support. Allowing organizers to add an expert can be useful when descriptions are shown multiple at a time for example on the Sessions page ( [session] shortcode ). While the more tag can be used, some presenters add the best part of the description towards the end.

We are finding some sessions also have very long descriptions making it a bit harder to quickly parse data.

Bonus points, if this is the default but full descriptions are supported as an argument to the session shortcode

Attachments (1)

3111.diff (1.8 KB) - added by Kau-Boy 7 years ago.

Download all attachments as: .zip

Change History (9)

#1 @coreymckrill
7 years ago

  • Keywords needs-patch good-first-bug added

This ticket was mentioned in Slack in #meta-wordcamp by coreymckrill. View the logs.


7 years ago

#3 @coreymckrill
7 years ago

  • Owner set to kau-boy
  • Status changed from new to assigned

@Kau-Boy
7 years ago

#4 @Kau-Boy
7 years ago

  • Keywords has-patch added; needs-patch removed

Just as for sponsors, I've added the three parameters link, content and 'excerpt_length`. In a sessions at WCUS the question arised why the sessions titles were not linked to the single views, so that's why I also added the link parameter. This one also makes sense if you only show the excerpt.

This ticket was mentioned in Slack in #meta-wordcamp by kau-boy. View the logs.


7 years ago

#6 @coreymckrill
7 years ago

  • Keywords needs-testing added

This ticket was mentioned in Slack in #meta-wordcamp by coreymckrill. View the logs.


5 years ago

#8 @coreymckrill
5 years ago

  • Resolution set to fixed
  • Status changed from assigned to closed

Noting here that the [sessions] shortcode is now deprecated in favor of the new Sessions block, and the block does support both excerpts and full content when displaying sessions.

Note: See TracTickets for help on using tickets.