Skip to content
Advertisement

Tag: footer

Adding Custom Footer to page Template

I have made a custom footer layout using “dummy” content to start with. This is the footer html To get this to display on the bottom of my last “scrolling section” (#contact) I have added this html footer to : page-templates/template-full-page.php However my footer is not displaying at all? Link to view site Have I added the html to an

register_shutdown_function doesn’t pass variables…?

I’ve run into some difficulties with register_shutdown_function() in PHP. I have a header.php file which contains: $_SESSION contains an array called “user”, containing things like the user ID and their username. I extract $_SESSION simply so I can use $user[“id”] rather than $_SESSION[“user”][“id”]. Then, in footer.php I have this code: to put the info back into the session, in case

Advertisement