Hello, How do I specify what sidebar to show for the events template?
I created a sidebar called “events” and only want that to show on my events page. Here is the code I already have on the template file… http://pastebin.com/JuGJxSSH
I think the code I need to add is something like this, but I’m not sure how to apply it…
genesis_widget_area( ‘events’, array( ‘before’ => ”, ‘after’ => ”,
We can’t help too much with theme-specific functions (you seem to be using Genesis here) but in general terms you could for instance override and customize our default-template.php template and add your call to the events sidebar from there.
On a sort of generic WordPress level you might do this with the dynamic_sidebar() function. If you want or need to use the genesis_sidebar() function you should refer to the documentation provided by the theme vendor for that.
Hi I need to do the same thing, but can’t figure it out. My issue has nothing to do with the theme. I just want to add a sidebar to the event details page and not the calendar view of all events. Can you please let me know?
No problem! I’ll go ahead and close this thread (unfortunately we can’t help with very theme-specific situations like you described Derek) but if there’s anything else please don’t hesitate to create new threads as required 🙂