-
Closed
-
I realise that this question is undoubtedly byond the scope of this help forum but I was hoping if there is a quick/simple answer that someone would be kind enough to give it.
I am trying to use the header and footer for Alora in on an external page. I followed the instructions given by WP and am using the code given below. Everything is fine EXCEPT there is no navigation. It looks like the j=holders are there but nothing in them.
<!DOCTYPE html>
<html lang="en-GB">
<head>
<title>Test</title><?php
// turn off WordPress themes and include the WordPress core:
define('WP_USE_THEMES', false);
require('../wp-load.php'); ?>
</head><body>
<?php
// Template Name: Contact
get_header(); global $data; ?>This is a test
<?php get_footer(); ?>
</body>
</html>This is what I am seeing in the nav bit of the source
</header>
<div id="small-nav">
<div class="alora-row">
<nav id="nav" class="nav-holder">
<ul class="navigation menu t4p-navbar-nav">
</ul>
</nav><div class="mobile-nav-holder main-menu"></div>
</div>
</div>
</div> <div class="init-sticky-header"></div>
</div><div id="sliders-container">
</div>
I’ve been struggling with this for a week so if anyone could say anthing to point me in the correct direction I would be most grateful.
The topic Header/Footer on external pages. is closed to new replies