Jetpack by WordPress.com
feature request (5 posts)

  1. Marcel Brinkkemper
    Posted 4 years ago #

    I am trying to get the permalinks and titles for my gallery plugin to reflect in the sharedaddy buttons.
    Permalinks works fine using the 'sharing_permalink' filter.
    The title has no filter yet.
    Could you please apply filters to the title also?


  2. Marcel Brinkkemper
    Posted 4 years ago #

    Yeah! Found the 'sharing_post_title' in the latest version.

  3. Kris Nelson
    Posted 4 years ago #

    Hi Marcel, found this thread from your post at:

    Wanted to reply on that site, but the comments weren't enabled.

    Anyway, I'm in the same situation and about to try out the fix you proposed. I did have one question, though, about the last two parameters in your add_filter statement:
    add_filter( 'sharing_permalink', 'my_gallery_permalink', 10, 2 );

    Are those 10 and 2 values just arbitrary, or do they have significance? I started poking around the ShareDaddy code but have yet to find where or how that sharing_permalink hook is defined to see if that shed some light here, but thought you might have figured it out already.

    - Kris

  4. Kris Nelson
    Posted 4 years ago #

    Okay, forget I asked that question - I found out what those items meant.

    What I ended up also finding was that the use of applying that filter in the sharing code used in Jetpack is spotty at best.

    I'm able to update some of the Jetpack/sharedaddy code itself in my install, but odds are when the next update for Jetpack comes out, I'm screwed again.

    I need to track down where I can log a bug for these to be fixed.

  5. Marcel Brinkkemper
    Posted 3 years ago #

    the sharing_post_title filter has been removed from the jetpack plugin for whatever reason.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Jetpack by WordPress.com
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic