Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pue-sales domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the better-click-to-tweet domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pue-amazon domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pue-stats domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the wordpress-seo domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114
How to Change Format for Staff Listing on Event Page | Event Espresso - Staging Server

Support

Home Forums Event Espresso Premium How to Change Format for Staff Listing on Event Page

How to Change Format for Staff Listing on Event Page

Posted: December 14, 2012 at 10:52 pm

Viewing 2 reply threads


Mike Pittman

December 14, 2012 at 10:52 pm

Hi guys… I’m trying to figure out how to change the format for displaying event staff. Right now, I have several staff members on an event. The name is displayed in bold, centered on the page. Below the name, aligned left, is the staff member image.

I’d like to have the list of event staff be left aligned, with the person’s name under the image. Can this be done, and if so, how?


Dean

  • Support Staff

December 17, 2012 at 2:43 am

Hi Mike,

Yeah its a strange setup on that isnt it? I’ll get this looked at for 3.2

You can re-arrange it via CSS – in your theme style.css add this

.event_staff {
    margin-top:80px;
}
.event_staff p.event_person:first-child {
margin-top: 185px;
text-align: center;
margin-bottom: 0;
text-align:left !important;
}
.image_wrapper {
margin-top: -120px;
}

That was based on the Twentyeleven theme so you may need to tweak the code to suit your theme/needs.

You can also rearrange by changing the shortcode but that is editing a core file which we dont really recommend. Go to event-espresso/includes/shortcodes.php. On line 593 you will find a block of code starting //Build the persons name/title – cut all of that and paste it above the line starting //Build the description.


Mike Pittman

December 17, 2012 at 2:55 pm

The image is still below the name, but it’s so much better than it was before. Thanks for this snippet of code! :)

Viewing 2 reply threads

The support post ‘How to Change Format for Staff Listing on Event Page’ 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 - Staging Server