Specify Sidebar for Events Page

Home Forums Calendar Products Events Calendar PRO Specify Sidebar for Events Page

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #65850
    Derek
    Participant

    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’ => ”,

    #66158
    Barry
    Member

    Hi Derek,

    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.

    Hope that helps 🙂

    #66518
    Banafsheh
    Participant

    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?

    #66535
    Barry
    Member

    Hi Shimatorabi, can you create a new thread of your own? That would be much appreciated – thanks!

    #66536
    Banafsheh
    Participant

    Hi Barry, sorry about that. I created a new thread too.

    Sidebar on event details pages


    Thank you!

    #66569
    Barry
    Member

    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 🙂

    #980825
    Support Droid
    Keymaster

    This topic has not been active for quite some time and will now be closed.

    If you still need assistance please simply open a new topic (linking to this one if necessary)
    and one of the team will be only too happy to help.

Viewing 7 posts - 1 through 7 (of 7 total)
  • The topic ‘Specify Sidebar for Events Page’ is closed to new replies.