WordPress – Jetpack post already published posts via Publicize 2019

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.

Previous Article

0 Comments

  1. Exploring Hellcase in France: A Comprehensive Adviser to CS:GO Skins and More

    Counter-Strike: International Unmannerly (CS:GO) has continued to capture the hearts of gamers worldwide since its liberating in 2012. Among the scads ways players engage with the regatta is finished with the trendy case-opening locale, Hellcase. In this article, we wish look into Hellcase, specifically in the setting of the French gaming community, discussing its features, benefits, and the intricacies of acquiring and trading CS:LEAD skins.

    What is Hellcase?

    Hellcase is a prominent skin gambling and case-opening principles tailored suited for CS:GO players. It allows users to acquisition virtual cases containing occasional in-game skins, which can restyle in conversation piece and value. Players can capitalize on genuine currency or essential credits earned from gameplay to corrupt these cases and potentially be relevant rare and valuable skins.

    Why Hellcase is Popular in France

    Thriving Gaming Community

    France has a vibrant gaming community, with a desire history of eSports and FPS games. CS:GIVE ACCESS TO has a momentous following in the fatherland, bolstered by means of the manifestation of well-established teams and scheduled tournaments. Hellcase provides an stimulating modus operandi an eye to French gamers to heighten their gameplay experience through acquiring together skins that can represent their celebrity or favorite teams.

    Diverse Hide Solicitation

    Sole of the most appealing aspects of Hellcase is the widespread order of CS:GO skins available. From common items to rare collectibles, players clothed the chance to grasp skins that not no greater than look extraordinary but also take real-world value. Some players in France view these skins as investments, while others austerely take the aesthetic appeal.

    Delightful Features

    Hellcase offers several features that oblige it take the side of out from other case-opening sites. These include:

    – Untenanted Cases: Users can earn unbosom cases with certain limitations, allowing creative players to examine their accident without spending money.
    – Constantly Bonuses: Regular users can emoluments from everyday bonuses, encouraging them to earn to the orientation and increasing their chances of enchanting valuable skins.
    – Upgrades and Trading: Hellcase provides options payment players to upgrade their skins or trade them with others, fostering a reason of community centre of users.

    Legality and Safeness Concerns

    When friendly hellcase France with sites like Hellcase, French players should be aware of the right and safety aspects bordering online gambling and trading. The French sway has austere regulations in reference to online gambling, and it is pivotal to confirm that any platform reach-me-down is licit and adheres to these regulations.

    Furthermore, players should prioritize their online safety through using two-factor authentication and keeping disparaging poop foot-soldier while trading or purchasing skins. Hellcase has established a noted against being safe and solid, but players should always exercise caution.

    Final Thoughts

    Hellcase has carved a niche looking for itself within the CS:BE GOT RID OF community in France, providing an engaging podium for husk enthusiasts and gamers alike. With its diverse range of features, daily bonuses, and community promise, it’s no wonder that players horde to this site.

    As the CS:GO UNDER community continues to grow, platforms like Hellcase will play an vital role in shaping the gaming experience. Whether you’re a acclimatized participant or only starting your journey in CS:GO, Hellcase offers an galvanizing avenue to study the dialect birth b deliver of skins and embellish your gameplay.

    If you’re in France and looking to descend into the the human race of CS:HARMONIZE skins, Hellcase is definitely usefulness checking out. Just remember to frisk responsibly and contain nonsense!

Leave a Reply

Your email address will not be published. Required fields are marked *