Beaver Tunnels Shortcode

With Beaver Tunnels 1.1, we are introducing the [beaver_tunnels] shortcode. Until now, if you tried to use a shortcode in a tunneled template that operated off of data from the page it is displayed on, the shortcode would not work properly.

For example, if you have used Advanced Custom Fields to add a subtitle to your pages, you would normally use the following in Beaver Builder to display the data:

[acf field="subtitle"]

Now, in a tunneled template, you can use this to display the data:

[beaver_tunnels][acf field="subtitle"][/beaver_tunnels]

Wrapping a shortcode in the Beaver Tunnels shortcode will make the shortcode behave as if were added directly to the page content of that page, giving it access to the appropriate $post object.