Plugin Directory


Opened 5 years ago

Closed 5 years ago

#1757 closed enhancement (invalid)

ShareDaddy feature hooks after content, not before comments

Reported by: jonathanbthornton Owned by: georgestephanis
Priority: normal Severity: normal
Plugin: jetpack Keywords: sharedaddy


I've been planning on adding "author cards" into my site, but the Sharing component of Jetpack hooks immediately between the_content(); and anything I have after it, and I don't like the idea of having an author card directly below the share features.

Is there any way we can allow several different options for where to put the sharing feature, such as before post navigation, or perhaps add a PHP function like <?php sd_display(); ?> to allow further customization? Or does something like that already exist? I appreciate any help!

Change History (3)

comment:1 @georgestephanis5 years ago

  • Owner changed from tmoorewp to georgestephanis

comment:2 @georgestephanis5 years ago

Howdy, Jonathan!

We add in the sharing hooks via filters with this function here:


They're set at a priority of 19, so if you'd like to add your author block in beforehand, it would be relatively simple to do it via a filter at a higher priority (for example, 18). Something to the effect of:


Does that accomplish what you're after?

comment:3 @georgestephanis5 years ago

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

Closing as this was more of a 'How do I' as opposed to a change in the codebase.

Note: See TracTickets for help on using tickets.