Support » Plugin: Ocean Social Sharing » Social sharing on Custom Post Types?

  • Resolved Seba

    (@sebast)


    Hi,
    Is there a way / workaround to use Ocean Social Sharing with Custom Posts?
    For example, the Events posts from “The Events Calendar” plugin?
    Thanks in advance
    Seba

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author oceanwp

    (@oceanwp)

    Hello, if you create a file for your CPT, add this code where you want to display the social buttons:

    do_action( 'ocean_social_share' );

    Great!! Works like a charm, thank you!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Social sharing on Custom Post Types?’ is closed to new replies.