The Exec-PHP plugin executes PHP code in posts, pages and text widgets.
Even as this plugin hasn't been updated in a while it is an essential addition to WP. I use it for adding PHP code to the widget area of my websites. Careful handling is advised though, as PHP execution in posts, pages and widget areas can lead to unforeseen consequences. But if you know what you're doing, this is the right plugin for the job!
Recomendo, me ajudou muito!
This plugin still works for me, still does a great job. If some WordPress update would break it one day - hell, I a not looking forward to the load of work I am going to face in no time
Recommend Shortcode Exec PHP. It's kept up-to-date.
This plugin in to the use of the page & post in set the php code but after so many change time click then '<?php' this tag convert in to the html special character string '<?php' this resin my php code is not working
Also wp admin panel in to the set the php code & click in visual then click in to the update button then php code is convert in to the plz check this issue.
This plugin, although not updated for years, I still found it to be the best solution for writing HTML/PHP code into posts/pages/widgets. I have tried many other solutions, but none stands out as this. The only reasons I haven't rated it 5 stars are:
Call some PHP code right in a WordPress page, just what it says, works.
Example in a page : <?php echo "Hello World!"; ?>
You must log in to submit a review. You can also log in or register using the form near the top of this page.