How To Add PHP Functionality To WordPress Posts And Pages

Although by default, you are not allowed to execute PHP functionality in your WordPress posts and pages but with advancement in programming and with an increase in need arises, it is as important as to have such functionality on board with WordPress posts and pages. In this article, we are sharing the resource by which you can achieve this. Simply install and activate the plugin name “Allow PHP in Posts and Pages”.

PHP

Plugin To Use: Allow PHP In Posts And Pages

The plugin allows you to add PHP functionality in posts and pages by adding a shortcode [php] your code [/php]. On activating, the plugin will attempt to remove the automatically generated WordPress <p> and <br/> tags but still allows the addition of your own <p> and <br/> tags using a form of BBcode items such [p][/p] and [br /]

More Info | Download

Photo Credit: Flickr/Cal Evans

The Editorial Team

The Editorial Team

The Editorial Team at JustWP is a team of WordPress experts led by Karan Chopra.

You may also like...