diff --git a/openphoto-wordpress.php b/openphoto-wordpress.php index 516da8c..001bafc 100644 --- a/openphoto-wordpress.php +++ b/openphoto-wordpress.php @@ -58,36 +58,186 @@ class WP_OpenPhoto { $response = json_decode($response); $photos = $response->result; + $post_id = $_GET["post_id"]; if ($photos) - { - - echo '
'; - } + } } }