Forums

Sidebar not showing up (4 posts)

  1. victoria1
    Member
    Posted 10 months ago #

    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!

  2. alchymyth
    The Sweeper
    Posted 10 months ago #

    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

  3. victoria1
    Member
    Posted 10 months ago #

    oh you are a life saver - worked like a charm!

    Thank you ever so much!

  4. victoria1
    Member
    Posted 9 months ago #

    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!

Reply

You must log in to post.

About this Topic