WordPress.org

Ready to get started?Download WordPress

Forums

Jetpack by WordPress.com
feature request (5 posts)

  1. Marcel Brinkkemper
    Member
    Posted 2 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?

    http://wordpress.org/extend/plugins/jetpack/

  2. Marcel Brinkkemper
    Member
    Posted 2 years ago #

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

  3. Kris Nelson
    Member
    Posted 2 years ago #

    Hi Marcel, found this thread from your post at:
    http://brimosoft.nl/2011/11/15/jetpack-sharedaddy-and-lazyest-gallery/

    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.

    Thanks,
    - Kris

  4. Kris Nelson
    Member
    Posted 2 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
    Member
    Posted 1 year ago #

    @Kris,
    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

About this Topic