Jetpack (a highly recommended plugin provided by Automattic) has many great features but the one that we find ourselves promoting the most is it’s Publicize feature. This feature lets you automatically push your posts to Twitter, Facebook, etc. when Publishing that post to your blog. This is a great feature that can same you or your team a ton of time – relieving you from having to manually post this content on each social platform.
Once the plugin is activated, you’ll see the ability to easily connect all your social accounts. Once connected, all additional posts that you Publish will now give you the option to also post these to each social platform.
That’s nice and all but what happens if you already have a large number of posts that you’d like to backfill to your various social accounts? Well you’re in luck, the walkthrough below will explain the edit that’s needed in order to allow Jetpack’s Publicize feature to also allow for this.
In previous versions of WordPress this was solved a bit differently. The Jetpack module was updated recently for the WordPress 5.0 update which introduced the “Blocks” post composition functionality. Looking in Jetpack’s documentation:
https://jetpack.com/support/publicize/
You’ll see a “Publicize in the Block Editor” section which is how we figured there must be a new way for the code to be handling things. Turns out there’s a function called “post_is_done_sharing” on line 394 in wp-content/plugins/jetpack/modules/publicize/publicize-jetpack.php:
The second half of the return statement checks to see if the post has ever been published before. Changing it from:
return 'publish' == $post->post_status || get_post_meta( $post->ID, $this->POST_DONE . 'all', true );
to
return 'publish' == $post->post_status;
Allows the post to be set back to draft and republished again just like the original article says.
And that should do it! Let us know if this helps of if you’ve found an alternative solution.
Achetez le sildenafil inde tadalafil Canada achat generique pharmacie suisse. Dapoxetine buy online en ligne a bon compte.Sans ordonnance dapoxetine. Cialis pharmacie en ligne en france, The Ashe Company. Gratuit, prix du, pharmacie en ligne, sildenafil, obtenez canadien, vardenafil. Pharmacie En Ligne France Levitra.Magasin en ligne de drogue, Prix bon. Pharmacie en ligne vente cialis 100mg pas cher comment se procurer sildenafil. https://acheterbonmarche.online/zeclar/ – Zeclar Achat Acheter Viagra Pfizer Belgique, Pharmacie En Ligne. Achat de viagra pas cher, acheter pfizer viagra, Albanime Magasin. Prescription du, Pharmacie generique 5mg prix suisse ligne, de marque. Viagra 50 mg, viagra en canada, Unirbolivia Pharmacie.
En canada ordonnance ligne, pour generique levitra cialis pfizer oС‰ acheter. Canadian Pharmacy No Prescription, Pharmacie En Ligne Viagra. Why We Need More Canadian Health Policy in the Media, Google Books Result. Vente de viagra, viagra pharmacie sans ordonnance, Iab-romania. Du Canada de, 5mg en ligne tadalafil professionnel generique pharmacie inde. https://acheterbonmarche.online/simvax/ – Simvax Commande Retrouvez les services Click Collect et Ordonnance en ligne de votre. Career Center and Enterprise Relations, CASS Europe. Un client, Nous nous transportons avec le SME, le Fedex, lUPS, et autre. Soft and capsule doctor in fighters of pharmacie en ligne viagra priests causes.