Support

Home Forums Event Espresso Premium Custom Sidebar for each Event?

Custom Sidebar for each Event?

Posted: December 20, 2012 at 1:55 pm


kim white

December 20, 2012 at 1:55 pm

I am using Genesis Framework, and I have custom sidebars.
The problem is all event and the shopping cart display using the one page (event-registration).
Is there a way to select a custom side bar for each event?
I will be featuring each events speakers in the sidebar.

Any help pointing me in the right direction would be greatly appreciated.

Kim


Jonathan Wilson

December 20, 2012 at 2:22 pm

Hi Kim,

I can only think of one way to get your events to show for individual speakers in a sidebar. You can use a plugin like Genesis Simple Sidebars. I have used this plugin with success, although I haven’t used it with Event Espresso. It should be as easy as adding a custom sidebar, then using the Genesis – Featured Posts widget. Then, you can create post categories for your speakers. When you create an event, choose to create a post for the event, and attach the category of the speaker to the post. Does that make sense?

Post back and let us know what you find.


kim white

December 20, 2012 at 5:11 pm

I do use simple sidebars. You apply them to the actual page.
EE builds all the content on the same “page” …


Josh

  • Support Staff

December 20, 2012 at 5:20 pm

Hi Kim,

Since Event Espresso dynamically generates the registration page and shopping cart on the same page, it’s not possible to use a standard theme sidebar widget to display custom content for each event. The work around that Jonathan mentioned that you could try involves using the Auto post feature, which will allow you to customize the sidebar for each post that gets created for each event when you use this feature.


kim white

December 21, 2012 at 8:53 am

Ok. I get it.
I did try this. Not sure it’s what I’m looking for. I would still have to manage the new “post”. I’ll have to think about this.

Thanks,
Kim


Josh

  • Support Staff

December 21, 2012 at 8:59 am

Hi Kim,

One thing that might help to know is that Event Espresso manages the post for you. So when you update the event, the post that’s tied to the event will automatically update when the changes in the event are saved.


kim white

December 21, 2012 at 9:12 am

That’s not what happen when I tested it.


Josh

  • Support Staff

December 21, 2012 at 2:06 pm

Hi Kim,

What does happen? When you update an event, please be sure that the Add/Update post for this event is set to Yes.

screenshot

Also, if you have the custom post type feature enabled, you could try disabling it in the Event Espresso>Template settings.


kim white

December 21, 2012 at 5:06 pm

I’m closer to what I want. I have created a staff.
I can use PHP in my widget to get the event Id BUT I can’t get my shortcode to show up in my widget.

But I can not get Shortcodes to work in my widget area.
[ESPRESSO_STAFF event_id=”1″]

is there a plugin I need?
Thanks for the help.
Kim


kim white

December 21, 2012 at 5:14 pm

this is what i’m writing… but it just prints the shortcode.


kim white

December 21, 2012 at 5:20 pm

Whoa! got it working.
Thanks!


Josh

  • Support Staff

December 21, 2012 at 6:14 pm

Hi Kim,

I’m glad to hear that. In case anyone else is reading this topic and is trying to add a shortcode to a sidebar widget, there is a filter you can add to a custom function plugin that will make this happen:

if (!is_admin())
  add_filter('widget_text', 'do_shortcode', 11);

The support post ‘Custom Sidebar for each Event?’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Support forum for Event Espresso 3 and Event Espresso 4.
Documentation for EE3 and EE4
Documentation for Event Espresso 3 Documentation for Event Espresso 4

Status: closed

Updated by  Josh 8 years, 2 months ago ago

Topic Tags

Notifications

This topic is: resolved
Do NOT follow this link or you will be banned from the site!