I moved get_sidebar();
from header.php
to footer.php
but it simply does not appear is being placed after the last post in the page body instead of after the footer. There are no errors displayed. What do I need to do to get this working?
<?php
global $path_root;$path_root, $page_title, $path_img, $path_ssi, $path_css, $path_jav;
include_once($path_ssi . 'plugin-paypal.php');
include_once($path_ssi . 'plugin-sitesearch.php');
include_once($path_ssi . 'plugin-socialicons.php');
include_once($path_ssi . 'plugin-norml.php');
?>
</main>
<!-- END PAGE CONTENTS -->
<!-- START FOOTERS -->
<footer>
<div id="footframe">
<small class="blk"><?php printf( __( 'Proudly powered by %s.', 'isometricland' ), 'WordPress' ); ?> <?php printf( __( 'Theme: %1$s by Michael Horvath based on %2$s GPLv2 or later.', 'isometricland' ), 'isometricland', '<a href="http://underscores.me/" rel="designer">Underscores.me</a>' ); ?></small>
<small class="blk">This page © Copyright 2009 Michael Horvath. Last modified: <?php echo date("F d Y H:i:s", getlastmod()) ?>.</small>
</div>
<?php wp_footer(); //Crucial footer hook! ?>
</footer>
<!-- END FOOTERS -->
</div>
<!-- END MIDDLE PANE -->
<!-- START SIDEBAR -->
<div id="leftframe">
<div id="sidebarframetop">
<div id="sidebar_widget">
<?php get_sidebar('sidebar-1'); ?>
</div>
</div>
<div id="sidebarframebot">
<div id="file_paypal">
<?php //echo writePaypalDonate(); ?>
</div>
<div id="file_search">
<?php //echo writeSiteSearchForm(); ?>
</div>
<div id="file_social">
<?php echo writeSocialIcons(); ?>
</div>
<div id="file_norml">
<?php //echo writeNormlLogo(); ?>
</div>
</div>
</div>
<!-- END SIDEBAR -->
</div>
</body>
</html>
<aside id="secondary" class="widget </main>
<!-area">- END PAGE CONTENTS -->
<section id="meta <!-2"- class="widgetSTART widget_meta"><h2FOOTERS class="widget-title">Meta</h2>->
<ul> <footer>
<li><a href="https <div id="footframe">
<small class="blk">Proudly powered by WordPress. Theme: isometricland by Michael Horvath based on <a href="http://isometriclandunderscores.netme/blog" rel="designer">Underscores.me</wp-logina> GPLv2 or later.php?action=register">Register<</a><small>
<small class="blk">This page © Copyright 2009 Michael Horvath. Last modified: February 06 2020 17:03:12.</li>small>
<li><a href="https </div>
<script type="text/javascript">(function(a,d){if(a._nsl===d){a._nsl=[];var c=function(){if(a.jQuery===d)setTimeout(c,33);else{for(var b=0;b<a._nsl.length;b++)a._nsl[b].call(a,a.jQuery);a._nsl={push:function(b){b.call(a,a.jQuery)}}}};c()}})(window);</script><script type='text/javascript' src='https://isometricland.net/blog/wp-logincontent/plugins/syntaxhighlighter/syntaxhighlighter3/scripts/shCore.php">Logjs?ver=3.0.9b' in<id='syntaxhighlighter-core-js'></a><script>
<script type='text/li>javascript' src='https://isometricland.net/blog/wp-content/plugins/syntaxhighlighter/syntaxhighlighter3/scripts/shBrushCss.js?ver=3.0.9b' id='syntaxhighlighter-brush-css-js'></script>
<script type='text/javascript'>
(function(){
<li><a href="httpsvar corecss = document.createElement('link');
var themecss = document.createElement('link');
var corecssurl = "https://isometricland.net/blog/feedwp-content/">Entries feed<plugins/a><syntaxhighlighter/li>syntaxhighlighter3/styles/shCore.css?ver=3.0.9b";
if ( corecss.setAttribute ) {
<li><a href="https corecss.setAttribute( "rel", "stylesheet" );
corecss.setAttribute( "type", "text/css" );
corecss.setAttribute( "href", corecssurl );
} else {
corecss.rel = "stylesheet";
corecss.href = corecssurl;
}
document.head.appendChild( corecss );
var themecssurl = "https://isometricland.net/blog/commentswp-content/feedplugins/">Comments feed<syntaxhighlighter/a><syntaxhighlighter3/li>styles/shThemeFadeToGrey.css?ver=3.0.9b";
if ( themecss.setAttribute ) {
themecss.setAttribute( "rel", "stylesheet" );
themecss.setAttribute( "type", "text/css" );
themecss.setAttribute( "href", themecssurl );
} else {
themecss.rel = "stylesheet";
themecss.href = themecssurl;
}
document.head.appendChild( themecss );
})();
SyntaxHighlighter.config.strings.expandSource = '+ expand source';
SyntaxHighlighter.config.strings.help = '?';
SyntaxHighlighter.config.strings.alert = 'SyntaxHighlighter\n\n';
SyntaxHighlighter.config.strings.noBrush = 'Can\'t find brush for: ';
SyntaxHighlighter.config.strings.brushNotHtmlScript = 'Brush wasn\'t configured for html-script option: ';
SyntaxHighlighter.defaults['class-name'] = 'syntax';
SyntaxHighlighter.defaults['pad-line-numbers'] = true;
SyntaxHighlighter.all();
// Infinite scroll support
if <li><a( href="httpstypeof( jQuery ) !== 'undefined' ) {
jQuery( function( $ ) {
$( document.body ).on( 'post-load', function() {
SyntaxHighlighter.highlight();
} );
} );
}
</script>
<script type='text/javascript' src='https://wordpressisometricland.orgnet/">WordPressblog/wp-content/themes/isometricland/js/navigation.org<js?ver=20151215' id='isometricland-navigation-js'></a><script>
<script type='text/li>javascript' src='https://isometricland.net/blog/wp-content/themes/isometricland/js/skip-link-focus-fix.js?ver=20151215' id='isometricland-skip-link-focus-fix-js'></script>
<script type='text/javascript' src='https://isometricland.net/blog/wp-includes/js/wp-embed.min.js?ver=5.7.1' id='wp-embed-js'></script>
<script type="text/javascript">(function (undefined) {var _targetWindow ="prefer-popup";
window.NSLPopup = function (url, title, w, h) {
var userAgent = navigator.userAgent,
mobile = function () {
return /\b(iPhone|iP[ao]d)/.test(userAgent) ||
/\b(iP[ao]d)/.test(userAgent) ||
/Android/i.test(userAgent) ||
/Mobile/i.test(userAgent);
},
screenX = window.screenX !== undefined ? window.screenX : window.screenLeft,
screenY = window.screenY !== undefined ? window.screenY : window.screenTop,
outerWidth = window.outerWidth !== undefined ? window.outerWidth : document.documentElement.clientWidth,
outerHeight = window.outerHeight !== undefined ? window.outerHeight : document.documentElement.clientHeight - 22,
targetWidth = mobile() ? null : w,
targetHeight = mobile() ? null : h,
V = screenX < 0 ? window.screen.width + screenX : screenX,
left = parseInt(V + (outerWidth - targetWidth) /ul> 2, 10),
right = parseInt(screenY + (outerHeight - targetHeight) / 2.5, 10),
features = [];
if (targetWidth !== null) {
features.push('width=' + targetWidth);
}
if (targetHeight !== null) {
features.push('height=' + targetHeight);
}
features.push('left=' + left);
features.push('top=' + right);
features.push('scrollbars=1');
</section><section id="archives-2" class="widget widget_archive"><h2 class="widget-title">Archives</h2> <label class="screen-reader-text" for="archives-dropdown-2">Archives</label>
<select id="archives-dropdown-2" name="archive-dropdown">
<option value="">Select Month</option>
<option value='https://isometricland.net/blog/2021/04/'> April 2021 </option>
<option value='https://isometricland.net/blog/2021/03/'> March 2021 </option>
<option value='https://isometricland.net/blog/2021/01/'> January 2021 </option>
<option value='https://isometricland.net/blog/2020/12/'> December 2020 </option>
<option value='https://isometricland.net/blog/2020/01/'> January 2020 </option>
<option value='https://isometricland.net/blog/2019/11/'> November 2019 </option>
<option value='https://isometricland.net/blog/2019/10/'> October 2019 </option>
<option value='https://isometricland.net/blog/2019/04/'> April 2019 </option>
<option value='https://isometricland.net/blog/2018/10/'> October 2018 </option>
<option value='https://isometricland.net/blog/2018/09/'> September 2018 </option>
<option value='https://isometricland.net/blog/2018/08/'> August 2018 </option>
<option value='https://isometricland.net/blog/2018/06/'> June 2018 </option>
<option value='https://isometricland.net/blog/2018/05/'> May 2018 </option>
<option value='https://isometricland.net/blog/2018/04/'> April 2018 </option>
<option value='https://isometricland.net/blog/2017/08/'> August 2017 </option>
<option value='https://isometricland.net/blog/2017/05/'> May 2017 </option>
<option value='https://isometricland.net/blog/2017/04/'> April 2017 </option>
<option value='https://isometricland.net/blog/2017/01/'> January 2017 </option>
<option value='https://isometricland.net/blog/2016/09/'> September 2016 </option>
<option value='https://isometricland.net/blog/2016/08/'> August 2016 </option>
<option value='https://isometricland.net/blog/2016/07/'> July 2016 </option>
<option value='https://isometricland.net/blog/2016/03/'> March 2016 </option>
<option value='https://isometricland.net/blog/2016/01/'> January 2016 </option>
<option value='https://isometricland.net/blog/2015/05/'> May 2015 </option>
var newWindow <option= value='https://isometriclandwindow.net/blog/2015/02/'> February 2015 </option>
open(url, <optiontitle, value='https://isometriclandfeatures.net/blog/2015/01/'> January 2015 </option>join(','));
if (window.focus) {
</select> newWindow.focus();
}
<script type="text/javascript"> return newWindow;
/*};
var <![CDATA[isWebView */= null;
function checkWebView() {
if (isWebView === null) {
function _detectOS(ua) {
var dropdown = document if (/Android/.getElementByIdtest(ua)) "archives-dropdown-2"{
return "Android";
} else if (/iPhone|iPad|iPod/.test(ua);) {
function onSelectChange return "iOS";
} else if (/Windows/.test(ua)) {
return "Windows";
} else if (/Mac dropdown.options[OS dropdownX/.selectedIndextest(ua)) ].value{
!== '' return "Mac";
} else if (/CrOS/.test(ua)) {
document.location.href = this.options[ this.selectedIndex ]return "Chrome OS";
} else if (/Firefox/.value;test(ua)) {
return "Firefox OS";
}
return "";
}
} function _detectBrowser(ua) {
dropdown.onchange var android = onSelectChange;
})/Android/.test(ua);
/*
]]> * if (/
<CriOS/script>.test(ua)) {
</section><section id="categories-2" class="widget widget_categories"><h2 class="widget-title">Categories</h2><formreturn action="https:"Chrome for iOS";
} else if (/Edge/isometricland.net/blog"test(ua)) method="get"><label{
class="screen-reader-text" for="cat">Categories</label><select name='cat' id='cat' class='postform' >
<option value='-1'>Select Category</option> return "Edge";
<option class="level-0" value="4">Artwork</option>
<option class="level-0" value="2">Blog<} else if (android && /option>Silk\//.test(ua)) {
<option class="level-0" value="10">Datsville</option>
<option class="level-0" value="5">GearHead</option> return "Silk";
<option class="level-0" value="12">Geogebra</option>
<option class="level-0" value="8">Homeworld<} else if (/option>Chrome/.test(ua)) {
<option class="level-0" value="3">Keyboard</option> return "Chrome";
<option class="level-0" value="7">Lego< } else if (/option>Firefox/.test(ua)) {
<option class="level-0" value="6">POV-Ray</option> return "Firefox";
<option class="level-0" value="15">Random</option> } else if (android) {
<option class="level-0" value="11">Wikipedia</option> return "AOSP";
< } else if (/select>
<MSIE|Trident/form>
<script.test(ua)) type="text/javascript">{
/* <![CDATA[ */ return "IE";
} else if (function/Safari\//.test(ua)) {
var dropdown = document.getElementById( "cat" ); return "Safari";
function onCatChange } else if (/AppleWebKit/.test(ua)) {
if ( dropdown.options[ dropdown.selectedIndex ].value > 0 ) {return "WebKit";
dropdown.parentNode.submit();}
return "";
}
function _detectBrowserVersion(ua, browser) {
if (browser === "Chrome for iOS") {
return _getVersion(ua, "CriOS/");
} else if (browser === "Edge") {
return _getVersion(ua, "Edge/");
} else if (browser === "Chrome") {
return _getVersion(ua, "Chrome/");
} else if (browser === "Firefox") {
return _getVersion(ua, "Firefox/");
} else if (browser === "Silk") {
return _getVersion(ua, "Silk/");
} else if (browser === "AOSP") {
return _getVersion(ua, "Version/");
} else if (browser === "IE") {
return /IEMobile/.test(ua) ? _getVersion(ua, "IEMobile/") :
/MSIE/.test(ua) ? _getVersion(ua, "MSIE ")
:
_getVersion(ua, "rv:");
} else if (browser === "Safari") {
return _getVersion(ua, "Version/");
} else if (browser === "WebKit") {
return _getVersion(ua, "WebKit/");
}
return "0.0.0";
}
function _getVersion(ua, token) {
try {
return _normalizeSemverString(ua.split(token)[1].trim().split(/[^\w\.]/)[0]);
} catch (o_O) {
}
return "0.0.0";
}
function _normalizeSemverString(version) {
var ary = version.split(/[\._]/);
return (parseInt(ary[0], 10) || 0) + "." +
(parseInt(ary[1], 10) || 0) + "." +
(parseInt(ary[2], 10) || 0);
}
function _isWebView(ua, os, browser, version, options) {
switch (os + browser) {
case "iOSSafari":
return false;
case "iOSWebKit":
return _isWebView_iOS(options);
case "AndroidAOSP":
return false;
case "AndroidChrome":
return parseFloat(version) >= 42 ? /; wv/.test(ua) : /\d{2}\.0\.0/.test(version) ? true : _isWebView_Android(options);
}
return false;
}
function _isWebView_iOS(options) {
var document = (window["document"] || {});
if ("WEB_VIEW" in options) {
return options["WEB_VIEW"];
}
return !("fullscreenEnabled" in document || "webkitFullscreenEnabled" in document || false);
}
function _isWebView_Android(options) {
if ("WEB_VIEW" in options) {
return options["WEB_VIEW"];
}
return !("requestFileSystem" in window || "webkitRequestFileSystem" in window || false);
}
var options = {};
var nav = window.navigator || {};
var ua = nav.userAgent || "";
var os = _detectOS(ua);
var browser = _detectBrowser(ua);
var browserVersion = _detectBrowserVersion(ua, browser);
isWebView = _isWebView(ua, os, browser, browserVersion, options);
}
dropdown.onchange = onCatChange;
})();
/* ]]> */
</script>
return isWebView;
}
function isAllowedWebViewForUserAgent() {
var nav = window.navigator || {};
var ua = nav.userAgent || "";
if (/Instagram/.test(ua)) {
/*Instagram WebView*/
return true;
} else if (/FBAV/.test(ua) || /FBAN/.test(ua)) {
/*Facebook WebView*/
return true;
}
return false;
}
window._nsl.push(function ($) {
window.nslRedirect = function (url) {
$('<div style="position:fixed;z-index:1000000;left:0;top:0;width:100%;height:100%;"></div>').appendTo('body');
window.location = url;
};
var targetWindow = _targetWindow || 'prefer-popup',
lastPopup = false;
$(document.body).on('click', 'a[data-plugin="nsl"][data-action="connect"],a[data-plugin="nsl"][data-action="link"]', function (e) {
if (lastPopup && !lastPopup.closed) {
e.preventDefault();
lastPopup.focus();
} else {
var $target = $(this),
href = $target.attr('href'),
success = false;
if (href.indexOf('?') !== -1) {
href += '&';
} else {
href += '?';
}
var redirectTo = $target.data('redirect');
if (redirectTo === 'current') {
href += 'redirect=' + encodeURIComponent(window.location.href) + '&';
} else if (redirectTo && redirectTo !== '') {
href += 'redirect=' + encodeURIComponent(redirectTo) + '&';
}
if (targetWindow !== 'prefer-same-window' && checkWebView()) {
targetWindow = 'prefer-same-window';
}
if (targetWindow === 'prefer-popup') {
lastPopup = NSLPopup(href + 'display=popup', 'nsl-social-connect', $target.data('popupwidth'), $target.data('popupheight'));
if (lastPopup) {
success = true;
e.preventDefault();
}
} else if (targetWindow === 'prefer-new-tab') {
var newTab = window.open(href + 'display=popup', '_blank');
if (newTab) {
if (window.focus) {
newTab.focus();
}
success = true;
e.preventDefault();
}
}
if (!success) {
window.location = href;
e.preventDefault();
}
}
});
var googleLoginButton = $('a[data-plugin="nsl"][data-provider="google"]');
if (googleLoginButton.length && checkWebView() && !isAllowedWebViewForUserAgent()) {
googleLoginButton.remove();
}
});})();</script> </section><sectionfooter>
id="search <!-2"- class="widgetEND widget_search"><h2FOOTERS class="widget-title">Search<->
</h2><formdiv>
role="search" method="get" class="search <!-form"- action="httpsEND MIDDLE PANE -->
<!-- START SIDEBAR -->
<div id="leftframe">
<div id="sidebarframetop">
<div id="sidebar_widget">
</div>
</div>
<div id="sidebarframebot">
<div id="file_paypal">
</div>
<div id="file_search">
</div>
<div id="file_social">
<div class="social" title="DeviantArt" ><a href="https://posfan12.deviantart.com/" target="_blank"><img class="nomagnify" style="margin:0px;" src="https://isometricland.net/blogimages/">icon_deviantart.png" alt="DeviantArt" /></a></div>
<div class="social" title="Facebook" ><a href="https://www.facebook.com/michael.horvath.35" <label> target="_blank"><img class="nomagnify" style="margin:0px;" src="https://isometricland.net/images/icon_facebook.png" alt="Facebook" /></a></div>
<div class="social" title="Flickr" ><a href="https://www.flickr.com/photos/108839565@N04/" target="_blank"><img class="nomagnify" style="margin:0px;" src="https://isometricland.net/images/icon_flickr.png" alt="Flickr" /></a></div>
<div class="social" title="GitHub" ><a href="https://github.com/mjhorvath" <span class="screen target="_blank"><img class="nomagnify" style="margin:0px;" src="https://isometricland.net/images/icon_github.png" alt="GitHub" /></a></div>
<br/>
<div class="social" title="Goodreads" ><a href="https://www.goodreads.com/user/show/67971043-readermichael-text">Searchhorvath" fortarget="_blank"><img class="nomagnify" style="margin:<0px;" src="https:/span>/isometricland.net/images/icon_goodreads.png" alt="Goodreads" /></a></div>
<div class="social" title="LinkedIn" ><a href="https://www.linkedin.com/in/michael-horvath-45547a116/" target="_blank"><img class="nomagnify" style="margin:0px;" src="https://isometricland.net/images/icon_linkedin.png" alt="LinkedIn" <input/></a></div>
<div type="search"class="social" class="search-field"title="Spotify" placeholder="Search><a …"href="https://open.spotify.com/user/f1703yjwz5hxcrndycvbjfwbl" value="" name="s"target="_blank"><img class="nomagnify" style="margin:0px;" src="https:/>/isometricland.net/images/icon_spotify.png" alt="Spotify" /></a></div>
<div class="social" title="Wikipedia" ><a href="https://en.wikipedia.org/wiki/User:Datumizer" target="_blank"><img <class="nomagnify" style="margin:0px;" src="https:/label>/isometricland.net/images/icon_wikipedia.png" alt="Wikipedia" /></a></div>
<input type="submit" class="search-submit" value="Search" </>div>
<div id="file_norml">
</form><div>
</section><div>
</aside><div>
<!-- #secondaryEND SIDEBAR -->
</div>
</body>
</html>