• Resolved fsamuel

    (@fsamuel)


    I just updated to the latest version of WordPress (2.92) and now i am having some issues with the code. I have set up different sidebars for different section of my site.

    For example for my single post page i use:

    <?php get_sidebar(post); ?> which uses sidebar-post.php!

    For archives i would use:

    <?php get_sidebar(archive); ?> which uses sidebar-archive.php!

    This however does not work any longer!!! anyone have any ideas why this is not working anymore or can tell me the correct code.

    cheers

Viewing 2 replies - 1 through 2 (of 2 total)
  • Did you try quotes?
    <?php get_sidebar('archive'); ?>

    Thread Starter fsamuel

    (@fsamuel)

    ahh it was my fault…. both:

    <?php get_sidebar(‘archive’); ?>

    and

    <?php get_sidebar(archive); ?>

    do work, there was an issue with some widget on the sidebars!!

    thanks again

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Custom Sidebar issues in WordPress 2.9.2’ is closed to new replies.