load shortcode within accordion? | WordPress.org

[ad_1]

Hmmm @onetime007 it should load the shortcode, do you have a link to the page?

Here’s the page code… actual url is behind a staff only section.

[lightweight-accordion title=”My Active Tasks”][gravityview id=”61251″][/lightweight-accordion]

If I take the View shortcode out of the accordion it works fine (pre-existing view… no problems with it).

Can you share a screenshot of the page? Does it just display the shortcode on the page?

shortcode on page works fine with text.

With Gravityview… loads the table header but no content (jquery errors on reading the properties for the datatable to display content… something isn’t being passed along?).

It’s okay though, was just trying this out.

If I could see the page more I could likely help, I am guessing it being nested is messing up gravityview, maybe they can debug it for you and fix their JS. My plugin uses the details HTML block so I am not sure what would cause that off the top of my head.

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer