Viewing 3 replies - 1 through 3 (of 3 total)
  • Sidebars are called by 2 ways:
    1) sidebar widgets: Using <?php dynamic_sidebar(‘sidebar-id’); ?>. Place this code where you require the sidebar. Sidebar id, you can get on your function file where sidebar is registered.

    2) Sidebar page: Sidebar are also handled by page. Suppose if you need ‘left-sidebar’ then you can use <?php get_sidebar(‘left’); ?>

    So you have to check your page where sidebar is displayed now. And try to to find out of the codes as mentioned above & paste that code where you need.

    Hope that helps!

    Hi Kelvin,

    You can try reinstalling the theme & see.

    You can also check what is the template for the page where the sidebar is showing & what is the template of the other pages. You can try assigning them the same template as the page where the sidebar is being shown.

    What exactly were you editing when this happened?

    :Vishal

    Thread Starter kelvinlopes123

    (@kelvinlopes123)

    Thank you very much for the replies WEN and Visha. Unfortunately I am very new to this platform so I still can’t figure it out. Where do I paste this code to get the sidebar option? I was editing the php.. at least trying to. The site runs good now but still can’t get sidebar.

    Thanks a lot

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Sidebar Option’ is closed to new replies.