Genesis + Jetpack + Publicize

Home Forums Calendar Products Events Calendar PRO Genesis + Jetpack + Publicize

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1141471
    humanitiesny
    Participant

    hello–

    im not seeing the social sharing buttons appear on my events posts. this seems to be a well covered topic, however none of the techniques in the documentation are working and i wonder if it’s because im using genesis?

    i have registered ‘tribe-events’ using the code here, and followed the suggestions here. using the code from this thread did allow the buttons to show, however i could only get them to appear either at the very bottom of the page or the very top.

    i contacted jetpack support first and they didnt provide any additional information other than to point me to your guide and to add support for ‘tribe-events’ .

    any idea what could be going on? should i just work with that code from the wordpress forum and try to get it to appear next to the google/ ical export buttons?

    #1141779
    Cliff
    Member

    Hi Antonio.

    To be clear, the Jetpack “Sharing” and “Publicize” modules are separate. You can use Sharing without Publicize and vice-versa.

    1) Regarding Sharing not showing up on Event Single pages:

    Please try this code:

    https://gist.github.com/cliffordp/36162128f190563c782c0e029cb915a4

    You could replace tribe_events_single_event_after_the_meta with tribe_events_single_event_before_the_meta if you really do prefer that placement (near the calendar export buttons).

    2) Regarding Publicize not working when publishing/creating new Events:

    I’m using Jetpack on a localhost testing site so I cannot try it out with Publicize, but this should be the code to register our Events custom post type with Jetpack’s Publicize:

    // adapted from https://jetpack.com/support/publicize/#custom-post-types for The Events Calendar
    add_action( 'init', 'tribe_events_work_with_jetpack_publicize' );
    function tribe_events_work_with_jetpack_publicize() {
    add_post_type_support( 'tribe_events', 'publicize' );
    }

    Please let me know how things work out for you.

    #1141873
    humanitiesny
    Participant

    i think we’re in business cliff.
    thanks for the snippets, they did the trick!

    #1142095
    Cliff
    Member

    Very glad to hear that. I’ve suggested some updates to our Jetpack help article. Thanks for helping us improve.

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Genesis + Jetpack + Publicize’ is closed to new replies.