Support

Home Forums Event Espresso Premium Adding Gravatars

Adding Gravatars

Posted: August 6, 2012 at 8:05 pm


Jason Adams

August 6, 2012 at 8:05 pm

Can Gravatars be added next to the attendees name on the Attendees page?


Josh

  • Support Staff

August 6, 2012 at 8:28 pm

Hi Jason,

Yes, there is a show_gravatar parameter. See the short codes documentation for more info: https://eventespresso.com/wiki/shortcodes-template-variables/#attendee-list


Jason Adams

August 11, 2012 at 11:37 am

Is there a way to display attendees in two columns? And is there a short code for speakers?


Josh

  • Support Staff

August 13, 2012 at 6:39 pm

Hi Jason,

Adding a few style rules to your theme like this should set the display in two columns:

ol.attendee_list {
  width:550px;
  margin-bottom:20px;
  overflow:hidden;
}


ol.attendee_list li { 
  width:45%;
  line-height: 1.75em;
  float:left;
  display:inline;
}

This was tested on the twentytwelve WordPress theme, with the Event Espresso themeroller option turned on. You may need to tweak some of the above numbers for margins and widths depending on the theme.

For speakers, you could use the staff manager feature to assign speakers to events and manage the speaker info. Then use the staff shortcode: https://eventespresso.com/wiki/shortcodes-template-variables/#staff

  • This reply was modified 11 years, 9 months ago by  Josh. Reason: additional instructions


Jason Adams

August 14, 2012 at 7:59 pm

That works great. Thanks. Is it that easy to do the same thing with staff?


Josh

  • Support Staff

August 15, 2012 at 10:15 am

Sort of.

If you use the staff shortcode in an event description, it should display these in two columns. (If Event Espresso styles are set to be used in Event Espresso>Template settings.)

These styles can be re-used on a regular WP page by wrapping the staff shortcode in a div with the same class name that the event description uses:

<div class="event_description clearfix">
[ESPRESSO_STAFF event_id="6"]
</div>

Be sure that you’re editing the page in html mode when adding html markup to a page.

The support post ‘Adding Gravatars’ 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.

Event Espresso