[insert_php] $request = wp_remote_get( ‘http://www.thinkfitt.eu/postr/eq.json’ );
if( is_wp_error( $request ) ) {
return false; // Bail early
}
$body = wp_remote_retrieve_body( $request );
$data = json_decode( $body );
if( ! empty( $data ) ) {

echo ‘

    ‘;
    foreach( $data->products as $products ) {
    echo ‘

  • ‘;
    echo $products->name;
    echo ‘
  • ‘;
    }
    echo ‘

‘;
[/insert_php]