Plugin Directory


Opened 2 years ago

Closed 22 months ago

#1697 closed defect (invalid)

Sharing: add sharing buttons to posts using the new chat post format function to display content

Reported by: jeherve Owned by: georgestephanis
Priority: high Severity: normal
Plugin: jetpack Keywords: sharing post-format chat
Cc: jeherve, richard@…


In WordPress 3.6, new functions were added to display post format content in posts:

  • the_post_format_video()
  • the_post_format_audio()
  • the_post_format_image()
  • the_post_format_chat()

Since Jetpack sharing buttons are added to the_content() and the_excerpt(), they are not displayed in themes using the new post format content functions.

It would be nice to add the buttons to all the functions too, while making sure they are not displayed twice on the page.

Change History (8)

comment:1 @richardmtl2 years ago

  • Cc richard@… added

comment:2 @lancewillett2 years ago

I actually disagree with this one. :)

These new functions are just half of the content, the other is output with the_remaining_content() which is where the filters should occur to add things like Like and Sharing buttons.

comment:3 @tmoorewp2 years ago

  • Resolution set to wontfix
  • Status changed from new to closed

Thanks, Lance.

It looks like the_remaining_content() uses the_content() filter, so we should be all set.

I'm going to close this as wontfix. Please reopen if it is buggy.

comment:4 @jeherve2 years ago

  • Keywords chat added
  • Resolution wontfix deleted
  • Status changed from closed to reopened
  • Summary changed from Sharing: add sharing buttons to posts using the new post format functions to display content to Sharing: add sharing buttons to posts using the new chat post format function to display content

My bad, I assumed the problem was similar for all new post format functions, but it turns out it only applies to the_post_format_chat(), since we don't include the_remaining_content() in the chat post format template.

I don't suppose we can just add the_remaining_content() to the template?

comment:5 @jeherve22 months ago

  • Priority changed from normal to high

comment:6 @georgestephanis22 months ago

  • Owner changed from tmoorewp to georgestephanis
  • Status changed from reopened to new

comment:8 @georgestephanis22 months ago

  • Resolution set to invalid
  • Status changed from new to closed

Post formats UI is coming out of core, so this will be irrelevant.

Note: See TracTickets for help on using tickets.