Make WordPress Core

Opened 2 years ago

Closed 2 years ago

Last modified 2 years ago

#23869 closed enhancement (fixed)

Twenty Thirteen: add support and styling for Chat structured post format

Reported by: lancewillett Owned by: lancewillett
Milestone: 3.6 Priority: normal
Severity: normal Version:
Component: Bundled Theme Keywords: has-patch
Focuses: Cc:


See #23625 for the output Chat post formats will provide, with new the_chat() function, which will replace the_content() in content-chat.php template file.

Attachments (5)

23869.diff (1.2 KB) - added by lancewillett 2 years ago.
default-view.png (116.9 KB) - added by lancewillett 2 years ago.
striped-rows.png (107.4 KB) - added by lancewillett 2 years ago.
23869.1.diff (631 bytes) - added by lancewillett 2 years ago.
chat-format-joen.png (48.6 KB) - added by lancewillett 2 years ago.

Download all attachments as: .zip

Change History (11)

@lancewillett2 years ago

comment:1 @lancewillett2 years ago

As a proof-of-concept for "striping" rows, colors are wrong but just as an example:

.format-chat .chat-transcript {
	background-color: #e8e5ce;
	margin: 0;

.format-chat .chat-transcript dt {
	clear: both;
	float: left;
	font-style: italic;
	font-weight: normal;
	padding: 5px;
	width: 40%;

.format-chat .chat-transcript dd {
	padding: 5px;

.format-chat .chat-transcript dt:nth-of-type(even),
.format-chat .chat-transcript dd:nth-of-type(even) {
	background-color: #f7f5e7;
Version 0, edited 2 years ago by lancewillett (next)

comment:2 @lancewillett2 years ago

  • Keywords has-patch ui-feedback added; needs-patch removed

@lancewillett2 years ago

@lancewillett2 years ago

comment:3 @markjaquith2 years ago

In 23806:

Drop the_chat() into twentythirteen. Style updates to follow — just wanted the_chat() to be utilized somewhere.

props lancewillett. see #23869

@lancewillett2 years ago

comment:4 @lancewillett2 years ago

  • Keywords ui-feedback removed

.1 patch (and -joen screenshot) for styles suggested by Joen.

comment:5 @lancewillett2 years ago

  • Owner set to lancewillett
  • Resolution set to fixed
  • Status changed from new to closed

In 23817:

Twenty Thirteen: better styles for Chat structured post format output. Props Joen for starter CSS, closes #23869.

comment:6 @lancewillett2 years ago

In 23877:

Twenty Thirteen: update Chat post format styles to match markup changes in r23876. See #23869.

Note: See TracTickets for help on using tickets.