• We use a different plugin for tweeting, but we still have our account connected, but twitter is unchecked by default for all content. Jetpack is ignoring the fact that they’re unchecked and tweeting all articles, not using the short link, anyway. Our uncheck code is below, it use to work up until maybe a month ago – and still displays as unchecked, but is being ignored.

    We don’t want to simply disconnect the account as we build in changed to the twitter cards and social sharing buttons using the jetpack twitter account and it seems this should be working.

    add_filter( 'publicize_checkbox_default', 'jetpack_twitter_unchecked_by_default' ,10,4);
    function jetpack_twitter_unchecked_by_default($checked, $post_id, $name, $connection ){
    	if($name == "twitter"){
    		return false;
    	} else {
    		return true;
    	}
    }

    https://wordpress.org/plugins/jetpack/

Viewing 1 replies (of 1 total)
  • Plugin Author Jeremy Herve

    (@jeherve)

    Jetpack Mechanic 🚀

    Our uncheck code is below, it use to work up until maybe a month ago – and still displays as unchecked, but is being ignored.

    What happens when you remove that code, and manually uncheck the box? Do you still experience issues?

    We don’t want to simply disconnect the account as we build in changed to the twitter cards and social sharing buttons using the jetpack twitter account

    Could you let me know the changes you’ve made? You don’t need to use Publicize to use or customize the Twitter Cards.

Viewing 1 replies (of 1 total)
  • The topic ‘Articles Tweeting even when unchecked’ is closed to new replies.