Call sidebar once only!
-
I am having troubles figuring out how to call the sidebar on only the index page. I have put the call on the index/header/footer files and it works the same on all of them.
//<?php
include_once(“sidebar.php”);?>//
This is how I call it, I used require once and it worked the same as well as with// <?php get_sidebar (); ?>//
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
The topic ‘Call sidebar once only!’ is closed to new replies.