How to use php script in wordpress

Hi good day

I’m a newbie to php script. I would like to know how to i use the php script from Codecanyon in Wordpress website. is it possible to install the script like plugin?

Regards
Jerry Tan

Hi,

I don’t know which PHP Scripts you mean, but WP provides some plugins which allow to insert PHP code into your pages. Other solutions here: https://stackoverflow.com/questions/18896146/insert-php-code-in-wordpress-page-and-post

Another solution is to create a PHP file with your code, and add it to your page with an Ajax call.

You can convert it to WordPress.
That is the most safe way.
How? Simple make a WordPress shortcode! :slight_smile:

1 Like