<?php
/**
* Template Name: social
*
*/
?><?php
get_header();
?>
<hr><hr><hr>
<div class="container">
<?php
if (!isset($_GET['hastag'])) {
$json = file_get_contents('https://www.instagram.com/explore/tags/hipbornir/?__a=1');
$obj = json_decode($json, true);
} else {
$json = file_get_contents('https://www.instagram.com/explore/tags/' . $_GET['hastag'] . '/?__a=1');
$obj = json_decode($json, true);
}
?>
<!-- Page Features -->
<div class="row text-center">
<?php
/*
* th