I’m also having this problem. Is it possible to add the Jetpack sharing module on schedule posts?
I’m using a plugin called “Simple Calendar for WordPress” that adds an Events post type for WordPress. It shows upcoming scheduled events on the site.
The Jetpack sharing module only appears after the event reaches its publish date. As sugested on the post above, I tried adding the code
<?php echo sharing_display(); ?>
on the loop but it didn’t work.
Roland:
That’s quite a long thread. 🙂 For clarity’s sake, can you let me know exactly which custom code you’re using in sharing-service.php? You can post it to http://pastebin.com if it’s long.
oktchau: To be honest, your issue seems quite distinct. Could you please start your own thread, as per the Forum Welcome? It’ll be easier to help you that way.
http://wordpress.org/support/plugin/jetpack#postform
Thank you!
@richard:
Ok! I’m sorry for that, I thought it was the same problem. Created the thread.
@roland:
Sorry for derailing.
@oktchau – no problem 😀
@richard:
// Add jetpack share buttons to events calendar
function tweakecp_add_jpshare( $after ) {
if ( function_exists( 'sharing_display' ) ) {
$shares = sharing_display( '', true );
}
$after .= $shares;
return $after;
}
add_filter( 'tribe_events_after_html', 'tweakecp_add_jpshare' );
Hi there!
I activated the Events Calendar plugin again, activated the buttons on Event pages under Settings > Sharing, and I was good to go: the sharing buttons are displayed under each event on the page listing all events:
http://i.wpne.ws/Ttsq
I didn’t have to add any custom code to Jetpack, or to my functions.php file.
Here are my template settings, if that may help:
http://i.wpne.ws/Ttzx
Could you give it another try, with a fresh installation of Jetpack?
Thanks!