• 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://www.ads-software.com/plugins/social-sharing-toolkit/

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