How to add php code in post after creating a snippet?
The shortcode is [php snippet=1]
And I indeed add <?php before php code
But I don’t know how to insert it into post.
I have tried [php], [php snippet=1], [php][/php], and [php snippet=1][/php]. But none of them works.
- The topic ‘How to add php code?’ is closed to new replies.