<div class="small-12 text-center large-4 columns">
<a class="blocks" href="#"><?php do_shortcode("[custom-facebook-feed]") ?></a>
</div>
+ <div class="fb-page" data-href="https://www.facebook.com/instagram"
+ data-width="480" data-hide-cover="false" data-show-facepile="false"
+ data-show-posts="true">
+
+ </div>
+<!-- GET /oauth/access_token?
+ client_id={app-id}
+ &client_secret={app-secret}
+ &grant_type=client_credentials-->
+<!-- GET graph.facebook.com
+ /v2.3/me/friends
+ access_token=...&
+ debug=all-->
+<!-- GET /v2.3/me/feed HTTP/1.1
+ Host: graph.facebook.com-->
+ <!-- /* PHP SDK v4.0.0 */
+ /* make the API call */
+ $request = new FacebookRequest(
+ $session,
+ 'GET',
+ '/me/feed'
+ );
+ $response = $request->execute();
+ $graphObject = $response->getGraphObject();
+ /* handle the result */-->
+<!-- /{user-id}/links shows only the links that were published by this person.
+ /{user-id}/posts shows only the posts that were published by this person.
+ /{user-id}/statuses shows only the status update posts that were published by this person.
+ /{user-id}/tagged shows only the posts that this person was tagged in.-->
+
</div>
</main>
<?php get_footer(); ?>
'sort_order' => 'asc',
'sort_column' => 'menu_order'
);
- if ($parent == 0 && $menuConfig['menu_options']['main_level_pages']) {
- $args['include'] = $menuConfig['menu_options']['main_level_pages'];
- }
+// if ($parent == 0 && $menuConfig['menu_options']['main_level_pages']) {
+// $args['include'] = $menuConfig['menu_options']['main_level_pages'];
+// }
$pages = get_pages($args);
echo '<ul'.(($class)?' class="'.$class.'"':'').'><!-- begin -->'."\n";
foreach ($pages as $page) {
echo '</li>'."\n";
} else {
echo '<li';
- if ($page->ID == $frontPageId) {
- echo ' id="logo"';
- }
+// if ($page->ID == $frontPageId) {
+// echo ' id="logo"';
+// }
echo '><a href="'.get_permalink($page->ID).'">';
echo ($page->ID == $frontPageId) ? '<img src="'.get_bloginfo('template_url').'/assets/head-logo.png">': $page->post_title;
echo '</a></li>'."\n";