Separator not displaying within accordion

This may not be a 100% BB issue but here goes nonetheless.

The set up:

  • I have created and saved a BB template that I wish to display within the contents of a BB accordion module
  • As I could not find (nor cipher-out) a BB solution, I turned to a plugin, Custom Content Shortcode

https://wordpress.org/plugins/custom-content-shortcode/

  • All works as expected except the BB separators that are in the template are not being displayed within the accordion

You are able to see this in action here:

http://www.ichamney.com/bb-template/ … the saved template to be used within the accordion

http://www.ichamney.com/accordion-separator-test/ … expand the accordion to view that the separator is M.I.A. :slight_smile:

Any suggestions about where to look for a fix or how to accomplish this without the plugin will be greatly appreciated :slight_smile:

Cheers!
Lyle

Hey Lyle,

That’s an interesting solution! The issue is that the CSS for the template isn’t being loaded because it’s not in the main WordPress loop.

To keep things efficient the builder looks at all of the posts in the main loop and enqueues the necessary CSS and JS for them if they have the builder enabled.

Have a look at the fl_builder_global_posts filter. Using that will allow you to load in assets for layouts that aren’t part of the main loop.

Let me know if you have any questions.

Justin