I’m using WooCommerce and Events Espresso together one for merchandise and one for events.
WooCommerce directs all users to their template page my-account.php. I’ve made a copy inside my child theme and have added the Events Espresso shortcode in the php file:
It ALMOST displays fine, however the styling of the form has been lost and the javascript seems to be inactve. Do you know why this is and if there is a way to merge both the Events Espresso user profile page with the WooCommerce Account page?
The reason that the scripts and styles aren’t loading there is because Event Espresso will only load them if it detects the short code added to the_content. Otherwise they don’t load.
You can add the following to your my-account.php template to make sure they load for that page:
Thank you, Code works and now I can have a common page between WooCommerce and Events Espresso. 🙂
Viewing 3 reply threads
The support post ‘WP User Integration shortcode’ 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.