Support » Fixing WordPress » Insert shortcode in php template

  • Resolved jennifer2010


    Hi Everyone,

    When I try to add this shortcode into my content-single.php template, the result is it shows up like text:
    echo do_shortcode(‘[ultimatesocial_facebook]’);

    But the shortcode of [ultimatesocial_facebook] works and inserts my share button when I insert it within a post.

    Does anyone know what I could be doing wrong?

    Thank you!

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Insert shortcode in php template’ is closed to new replies.