I have added the “Custom Sidebar” metabox to my Departments page, as I want to use different custom sidebars for each of my departments. Getting it to display in my back-end was no problem. However, what do I use on my single-department.php to call the value that I put into that metabox?
I’ve added a line below line 169 in single-department.php for the php (so it shows up within the department-sidebar fourcol last div), but I don’t know what that code should be to have it get the sidebar value. Would it be <?php dynamic_sidebar(‘xxx’); ?>, and if so, what would I put inside the single quotes? I tried ‘mo_get_sidebar’ and it didn’t work.
Any help you can provide would be greatly appreciated.