Easiest way to put a php snippet on your page?
-
I want to do something like this:
<?php $json = file_get_contents("https://api.solarweb.com/swqapi/info/release"); $version = $json['releaseVersion']; $date = $json['releaseDate']; echo "<div>$version</div> <div>$date</div> "; ?>
What is the easiest way to do that? Do I really have to create a plugin with a dynamic block?
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Easiest way to put a php snippet on your page?’ is closed to new replies.