Simple Sidebar per Post Type
Hi, I'm using genesis, wpml and events manager pro. things are seeming pretty complicated.
events manager lists events as posts with the type "event". I want these posts to have a sidebar i created in simple sidebars called "Events Sidebar" #events-sidebar. I tried attaching the custom sidebar to the event category - it is an option in the events categories to set the sidebar, but it didn't work.
I'm hoping there are a few lines of code that I can add to functions.php to say "when an event has post_type of event, use event-sidebar instead of the regular sidebar.
any help with this would be way appreciated.
my php is not strong.