[wp-meta] [Making WordPress.org] #911: Banish Jetpack's Branding from Twitter Cards

Making WordPress.org noreply at wordpress.org
Sun Mar 1 11:50:53 UTC 2015


#911: Banish Jetpack's Branding from Twitter Cards
------------------------+---------------------
Reporter:  kraftbj      |      Owner:
    Type:  enhancement  |     Status:  new
Priority:  normal       |  Component:  General
Keywords:               |
------------------------+---------------------
 See twitter convo at
 https://twitter.com/ericandrewlewis/status/571918662417944576

 Twitter pulls this from the `twitter:site` meta tag, which defaults to
 @Jetpack. You can override with something like this:

 {{{
 function tweakjp_custom_twitter_site( $og_tags ) {
     $og_tags['twitter:site'] = '@wordpress';
     return $og_tags;
 }
 add_filter( 'jetpack_open_graph_tags', 'tweakjp_custom_twitter_site', 11
 );
 }}}

 I didn't put it in patch form because I figure a lot more cool stuff could
 be done with it, e.g. a mu-plugin that sets the twitter:site to a twitter
 account based on what site is in question and/or if one is set manually in
 Setting->Sharing (e.g. @wordcamp only if the tag still equals `@jetpack`
 in the event a local camp didn't change the setting (if they're allowed
 to?), @wordpress, @bbpress, etc).

 Left this as General as it could be Instance wide.

--
Ticket URL: <https://meta.trac.wordpress.org/ticket/911>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org


More information about the wp-meta mailing list