I have one shortcode that should be always next to the sidebar:
// [shortcode] otuput | default sidebar
My theme allows me to set different sidebars for each page. So I have sidebars on a few pages, but not everywhere.
What's the best/proper way of achieving this goal? I was thinking about adding dynamic_sidebar($sidebar_name) to the shortcode itself, but it doesn't seem to be smart idea (especially with multiple instances of my shortcode at the same page).