Support » Plugin: Woody code snippets - Insert Header Footer Code, AdSense Ads » PHP Snippet within General Snippet

  • Resolved thecomputerguyltd


    Is it possible to create a general PHP Snippet, then use this inside other snippets?

    When I create a PHP snippet it gives option “Run Everywhere” or using a snippet ID.

    So I then created a general snippet, which allows for Page logic, and inserted the snippet ID within the snippet, but it doesn’t work.

    I’m currently using another “Insert PHP” plugin, and another plugin to insert PHP codes into certain pages, but this plugin is now abandoned.

    Would be nice to merge two into one…?

Viewing 1 replies (of 1 total)
  • Plugin Author Temyk



    You can use the WP function:
    do_shortcode("[wbcr_snippet id='1']");

Viewing 1 replies (of 1 total)
  • The topic ‘PHP Snippet within General Snippet’ is closed to new replies.