0

If I create a new page and include this shortcode, the Civi User Dashboard displays correctly.

[civicrm component="user-dashboard"]

If I create a new page but nest the same short code inside of an outer shortcode, several JS files do not get loaded. A section titled "<!-- CiviCRM html header -->" (present in non-nested output) does not output.

[members_logged_in]
[civicrm component="user-dashboard"]
[/members_logged_in]
1
  • Huh, I just thought it was the plugin I was using (Groups). Good to know it is all of them. Feb 2 at 7:09
1

https://developer.wordpress.org/reference/functions/get_shortcode_regex/

"get_shortcode_regex" doesn't seem to work when nesting CiviCRM shortcodes. I found 2 hacky workarounds.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.