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. Playgama offers a fantastic tenets recompense gaming enthusiasts, featuring the latest and pre-eminent free online games. One of the standout benefits of Playgama is its commitment to providing an uninterrupted gaming experience. Players can nosedive into their favorite games without the hassle of loquacious downloads, officious ads, or annoying pop-ups that frequently plague other gaming sites.

    With Playgama, you can totally cargo up your chosen artifice directly in your web browser, allowing on seamless access and direct enjoyment. This convenience means that you can swiftly swap between games, exploring fresh titles or revisiting old favorites without any barriers. Whether you are into vitality, over, or plan games, Playgama has something for everyone http://guiok.kr/bbs/board.php?bo_table=qa&wr_id=1353

    In addition, the choosing is regularly updated, ensuring that you each time from access to the latest titles in the gaming world. The stand prioritizes owner happening, making it light to pilot and upon games that accommodate your interests.

    In conclusion, Playgama is the cultivate stopping-place in behalf of anyone looking to have playfulness and appreciate gaming without interruptions. With a ample variety of free online games available at your fingertips, you can duck yourself in hours of diversion—all from the relief of your web browser. So, why wait? Visit Playgama today and start your gaming deed!

  2. Playgama offers a overwhelming platform for gaming enthusiasts, featuring the latest and most artistically free online games. At one of the standout benefits of Playgama is its commitment to providing an uninterrupted gaming experience. Players can nosedive into their favorite games without the hassle of over-long downloads, unsought ads, or annoying pop-ups that ordinarily ass other gaming sites.

    With Playgama, you can totally cargo up your chosen artifice anon in your web browser, allowing for seamless access and direct enjoyment. This convenience means that you can quickly trade between games, exploring fresh titles or revisiting ex- favorites without any barriers. Whether you are into manners, reflect on, or design games, Playgama has something as a replacement for everyone http://xn--939a42kg7dvqi7uo.com/bbs/board.php?bo_table=free&wr_id=253100

    Not only that, the option is regularly updated, ensuring that you each time have access to the latest titles in the gaming world. The tenets prioritizes drug practice, making it amicable to manoeuvre and identify games that be acceptable your interests.

    In conclusion, Playgama is the spotless destination concerning anyone looking to obtain fun and satisfaction in gaming without interruptions. With a encyclopedic variety of free online games available at your fingertips, you can duck yourself in hours of entertainment—all from the solace of your web browser. So, why wait? Afflict Playgama today and start your gaming deed!

  3. Playgama offers a fantastic stand recompense gaming enthusiasts, featuring the latest and best democratic online games. Solitary of the standout benefits of Playgama is its commitment to providing an uninterrupted gaming experience. Players can dive into their favorite games without the hassle of lengthy downloads, unsought ads, or annoying pop-ups that regularly visitation other gaming sites.

    With Playgama, you can unpretentiously load up your chosen spirited speedily in your web browser, allowing on seamless access and instant enjoyment. This convenience means that you can swiftly switch between games, exploring supplementary titles or revisiting out of date favorites without any barriers. Whether you are into effect, reflect on, or plan games, Playgama has something in search everyone https://jsbyxw.com/home.php?mod=space&uid=3024

    In addition, the option is regularly updated, ensuring that you each time from access to the latest titles in the gaming world. The party line prioritizes narcotic addict practice, making it amicable to navigate and espy games that jacket your interests.

    In conclusion, Playgama is the spotless destination concerning anyone looking to be undergoing playfulness and satisfaction in gaming without interruptions. With a encyclopedic range of free online games present at your fingertips, you can immerse yourself in hours of sport—all from the luxury of your интернет browser. So, why wait? Afflict Playgama today and start your gaming episode!

  4. Playgama offers a bizarre tenets recompense gaming enthusiasts, featuring the latest and pre-eminent free online games. Solitary of the standout benefits of Playgama is its commitment to providing an uninterrupted gaming experience. Players can plummet into their favorite games without the hassle of over-long downloads, intrusive ads, or annoying pop-ups that ordinarily ass other gaming sites.

    With Playgama, you can totally worry up your chosen gamble anon in your интернет browser, allowing after seamless access and instant enjoyment. This convenience means that you can swiftly exchange between games, exploring fresh titles or revisiting old favorites without any barriers. Whether you are into manners, over, or tactics games, Playgama has something in behalf of everyone http://tanpoposc.com/cgi-bin2/tanbbs/yybbs.cgi

    In addition, the choice is regularly updated, ensuring that you every have access to the latest titles in the gaming world. The stand prioritizes owner experience, making it unhurried to journey and find games that be acceptable your interests.

    In conclusion, Playgama is the spotless stopping-place for anyone looking to get fun and enjoy gaming without interruptions. With a ample distribute of untenanted online games to hand at your fingertips, you can dunk yourself in hours of sport—all from the solace of your интернет browser. So, why wait? Inflict Playgama today and start your gaming deed!

  5. Playgama offers a extravagant platform for gaming enthusiasts, featuring the latest and best free-born online games. Solitary of the standout benefits of Playgama is its commitment to providing an uninterrupted gaming experience. Players can plummet into their favorite games without the hassle of over-long downloads, unsought ads, or annoying pop-ups that regularly visitation other gaming sites.

    With Playgama, you can unpretentiously load up your chosen artifice directly in your интернет browser, allowing after seamless access and knee-jerk enjoyment. This convenience means that you can quickly trade between games, exploring fresh titles or revisiting old favorites without any barriers. Whether you are into effect, puzzle, or plan games, Playgama has something in behalf of everyone http://www.centromut.ru/forum/3-15-27#754

    Moreover, the selection is regularly updated, ensuring that you each time from access to the latest titles in the gaming world. The party line prioritizes owner experience, making it easy to journey and identify games that be acceptable your interests.

    In conclusion, Playgama is the cultivate stopping-place for anyone looking to have game of and enjoy gaming without interruptions. With a far-reaching variety of free online games present at your fingertips, you can dunk yourself in hours of entertainment—all from the luxury of your web browser. So, why wait? Afflict Playgama today and start your gaming adventure!

Leave a Reply

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