Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author osdwebdev

    (@osdwebdev)

    Li-Ann,

    The plugin should work fine on custom post types. You must select the box on the settings page for it to show automatically on them. The other option to display it anywhere you like is the built in Shortcode:

    [osd_social_media_sharing]

    Let us know if these options solve your trouble – thanks OSD

    Thread Starter Li-An

    (@li-an)

    Well, it’s easier to use a function than a shortcode but it’s OK.

    Plugin Author osdwebdev

    (@osdwebdev)

    Li-An,

    You could always call the class and get the output manually with something like this..

    $sms = new OSDSocialShare();
    echo $sms->replace_shortcode();

    This will produce the exact same html as the shortcode

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘php function ?’ is closed to new replies.