Notice: These forums are now retired and closed. For active support, please Submit a Ticket or visit our official WordPress.org community pages.
Kadence Theme | Kadence Blocks | Starter Templates | WooCommerce Email Designer | Ascend | Virtue | Pinnacle

Custom Sidebar in Theme php file

Home / Forums / Virtue Theme / Custom Sidebar in Theme php file

This topic is: Resolved
[Resolved]
Posted in: Virtue Theme
April 19, 2016 at 10:35 pm

Hi I have created a custom sidebar, called availability. Now I need to call this custom sidebar from my theme file, as I am placing it between my header and the slider.

<?php if(is_active_sidebar(‘custom-sidebar-name’)) { dynamic_sidebar(‘custom-sidebar-name’); } ?></div>

Can you tell me what id I would use please.

Thanks, Mel

  • The forum ‘Virtue Theme’ is closed to new topics and replies.