Support » Plugin: OSD Social Media Sharing » Suggestion: php function

  • Hi @osdwebdev

    Your plugin is very useful generally, except in some cases. For example, I use WP Ideastream and its post-type is recognized but NOT in buddypress groups.

    Are you planning to give us a php function to insert in templates?

    The shortcode is useless in my case, because the idea-posts will be written by the group users and not by me. And users like sharing things by clicking buttons and not by writing code.

    While it is one of the best plugins for sharing and I like it very much, this limitation is a real problem for me.

    Regards

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

    (@osdwebdev)

    Georgio, we are unfortunately unfamiliar with Buddypress. As it stands, OSD SMS is able to be put on any public post type. It seems like buddypress is restricting some content editing based on a permission level.

    As a side note, you can include OSD SMS in your template code by using the following:

    echo do_shortcode(“[osd_social_media_sharing]”);

    • This reply was modified 3 years, 12 months ago by osdwebdev.

    Yeah, with a small change (single mark quotes) it works in templates:
    <?php echo do_shortcode('[osd_social_media_sharing]'); ?>

    I think you can propose this code officially. Many developers of other sharing plugins propose code for templates and now you can do it you too. Thank you very much.

    Plugin Author osdwebdev

    (@osdwebdev)

    Georgia,

    I’m glad this solution worked for you. Thanks for using OSD SMS!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Suggestion: php function’ is closed to new replies.