Skip Navigation

[Resolved] Insert Sdiebar in views template

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Our next available supporter will start replying to tickets in about 0.38 hours from now. Thank you for your understanding.

This topic contains 3 replies, has 3 voices.

Last updated by Chris 8 years, 1 month ago.

Assigned support staff: Caridad.


Is there a shortcode? Or can I register a shortcode to include the wp sidebar in a Views template?



Dear Peer,

You can add this code to your functions.php of your theme:

add_shortcode('dynamic-sidebar', 'my_sidebar_shortcode');
function my_sidebar_shortcode($atts) {
 return ob_get_clean();

Please let me know if there is anything else that I can assist you with.



Thanks you very much!


It would be so great if we could do this within Types -- i have the same issue.