Title: symphony twig template format for the code
Last modified: August 21, 2016

---

# symphony twig template format for the code

 *  [paraskumar](https://wordpress.org/support/users/paraskumar/)
 * (@paraskumar)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/symphony-twig-template-format-for-the-code/)
 * Hi,
 * My wordpress website uses .twig template files.
 * I found a place where i can use the following code so that it works.
    `<?php 
   $social_sharing_toolkit = new MR_Social_Sharing_Toolkit(); echo $social_sharing_toolkit-
   >create_bookmarks(); ?>’
 * The aforementioned code does not work on the .twig file as it need to be placed
   in a php file.
 * One possible solution to this could be that i save the code in a php file and
   then include that php file in a twig. Not sure if this would work that way. as
   converting php to twig would be a tedious job. let me know if there is a workaround
   to this problem.
 * Regards,
    Paras
 * [https://wordpress.org/plugins/social-sharing-toolkit/](https://wordpress.org/plugins/social-sharing-toolkit/)

The topic ‘symphony twig template format for the code’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/social-sharing-toolkit.svg)
 * [Social Sharing Toolkit](https://wordpress.org/plugins/social-sharing-toolkit/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/social-sharing-toolkit/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/social-sharing-toolkit/)
 * [Active Topics](https://wordpress.org/support/plugin/social-sharing-toolkit/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/social-sharing-toolkit/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/social-sharing-toolkit/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [paraskumar](https://wordpress.org/support/users/paraskumar/)
 * Last activity: [11 years, 9 months ago](https://wordpress.org/support/topic/symphony-twig-template-format-for-the-code/)
 * Status: not resolved