Hello,
I am using a template file and it is working fine for my page, however I just added:
<?php get_sidebarhome(); ?>
where there is a sidebarhome.php file with code for testing... yet the sidebar turns up blank!
Can someone help? Please!
Hello,
I am using a template file and it is working fine for my page, however I just added:
<?php get_sidebarhome(); ?>
where there is a sidebarhome.php file with code for testing... yet the sidebar turns up blank!
Can someone help? Please!
http://codex.wordpress.org/Function_Reference/get_sidebar
wonder that you didn't get any error meassage with your code;
try
<?php get_sidebar('home'); ?>
and name the file:
sidebar-home.php
oh you are a life saver - worked like a charm!
Thank you ever so much!
Ok, now, the items that are showing up in the sidebar-home are just a duplicate of the sidebar.php as I was testing functionality... now that it works - with alchymyth's help, any chance I can get some pointers on how to go about building the specific content I need in the sidebar-home? I think there are two ways to go about it - using the widgets editor, but I think that only creates one default sidebar... and then the other is by including code from scratch - is that correct?
Thanks!
You must log in to post.