Posted: October 7, 2015 at 6:25 am
|
Small dilemma here. Adding the staff to the reg page does not show their email, so I am using a a shortcode to do this. However, what happens then is that I have the box with the staff details, and then this are repeated below it including the email address. If I dissociate the staff with the event, both disappear, so it’s both of nothing! All I need to do is to be able to have the staff name, role/title, mobile & email on display, how can I achieve this please? Thank you |
|
Oh, yes, if there is no staff associated with the page then I get “Email:” in view in the middle! |
|
This is the shortcode [ESPRESSO_STAFF outside_wrapper=”div” outside_wrapper_class=”event_staff” inside_wrapper=”p” inside_wrapper_class=”event_person” show_staff_titles = “true” show_staff_details = “true” show_staff_roles = “true”] |
|
this is the page http://supersportsevents.me/event-registration/?ee=150 |
Hi Angus, It might help to see the code that you’re using to add the email shortcode. However instead of adding more shortcodes, you could add the email to the staff shortcode. You can add the email to the shortcode by (1) copying the espresso_staff_sc() function from event-espresso/includes/shortcodes.php to your custom plugin. Then in your copy, (2) you change the query to include the email address, like this: Then (3) you add this code where you’d like the email address to appear:
|
|
|
It’s a std EE shortcode, from somewhere on the EE site support area. I’ll try what you suggest, thanks. |
I’m not aware of a staff email shortcode for EE3, so the email shortcode you’re using might not be standard. |
|
|
Took shortcode from here https://eventespresso.com/wiki/shortcodes-template-variables/ and used the variables to play with it. Seems a little daft though that you end up with two sets of details. |
I’m not seeing a staff email shortcode on that page, but I’m probably just daft as you say. |
|
|
I found it here https://eventespresso.com/wiki/shortcodes-template-variables/ and then used the variables. |
|
Sorry, it didn’t seem to have posted. I think it’s not specific but just shows the “details” show_staff_details = show the details? (true|false default true) |
It turns out that the shortcode you are using does not display the email address. You can change the shortcode so that it does display the email address by following the instructions in the earlier reply. |
|
The support post ‘staff manager & registration 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.