WordPress.org

Plugin Directory

jetpack

#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@…

Description

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 richardmtl12 months ago

  • Cc richard@… added

comment:2 lancewillett12 months 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 tmoorewp12 months 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 jeherve12 months 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 jeherve11 months ago

  • Priority changed from normal to high

comment:6 georgestephanis11 months ago

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

comment:8 georgestephanis11 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.