Support

Home Forums WP User Integration How to display [ESPRESSO_MY_EVENTS] under wp-admin

How to display [ESPRESSO_MY_EVENTS] under wp-admin

Posted: February 4, 2017 at 2:35 pm


jfchatelain

February 4, 2017 at 2:35 pm

Hi,

I’m trying to centralize user’s data under the wp-admin interface.

I was wondering how can i create a new menu in wp-admin and have the [ESPRESSO_MY_EVENTS] showing up?

User would be able to manage their profile as well as their registrations.

Thanks


jfchatelain

February 4, 2017 at 2:40 pm

I was able to create a custom menu but the shortcode does not render.

Thanks


jfchatelain

February 4, 2017 at 3:09 pm

I tried do_shortcode(“[ESPRESSO_MY_EVENTS]”) and echo do_shortcode(“[ESPRESSO_MY_EVENTS]”) whitout any success.


jfchatelain

February 4, 2017 at 5:15 pm

Do you think I can do something like in this post?

https://eventespresso.com/topic/do_shortcode-event-calendar/


Josh

  • Support Staff

February 6, 2017 at 7:53 am

Hi there,

Actually the information about putting the calendar short code in a page template is intended for displaying the calendar on the front end of the page.

The events information already displays on the user profile page. Are you not seeing it there?


jfchatelain

February 6, 2017 at 1:18 pm

Hi,

Actually i know but my client prefers the display of the [ESPRESSO_MY_EVENTS] shortcode.

Is there anyway we can render a shortcode under a wp-admin page?

Thanks


Josh

  • Support Staff

February 6, 2017 at 1:52 pm

A short code really shouldn’t be used in this case. Since your client prefers the way the short code displays, you can create an admin page that loads in the same templates, scripts, and functions that the short code does. Kind of the same principle outlined here:

http://wordpress.stackexchange.com/a/61576

The support post ‘How to display [ESPRESSO_MY_EVENTS] under wp-admin’ 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.

Status: closed

Updated by  Josh 2 years, 5 months ago ago

Topic Tags

Notifications

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