Skip to content

Instantly share code, notes, and snippets.

@bmegod
Created June 5, 2013 16:44
Show Gist options
  • Save bmegod/5715370 to your computer and use it in GitHub Desktop.
Save bmegod/5715370 to your computer and use it in GitHub Desktop.
if ($_GET['page'] == '#news'):
$result['copy'] = '
<h1>News</h1>
<p>Coming Soon.</p>
<ul id="footer-list-content">
<li>&copy; 2013 Foxcode, Inc. All Rights Reserved</li>
<li> | </li>
<li>Legal</li>
<li>Sitemap</li>
<li>Privacy</li>
<li>Contact</li>
</ul>
';
every page's copy is different ..... so we have to know the height of here in each page which can fit in to home-copy div
$result['subnav'] = '';
$result['background'] = 'img/layout/bg_news.jpg';
//$result['current_page_item'] = '#dropdown-toggle-services';
$result['nav_color'] = 'green';
echo json_encode($result);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment