How to add a widget by its shortcode on Wordpress posts / pages?

Prince Singh picture Prince Singh · Aug 29, 2013 · Viewed 27.5k times · Source

Is there any way we can assign a shortcode to already created widget and later use that

shortcode in our specific posts and pages to show that widget instead of trivial method of

showing widgets in sidebar ? I googled about this stuff didn't find anything relative.

Any suggestion would be welcome!

Answer

Balaji Kandasamy picture Balaji Kandasamy · Aug 29, 2013

Yes, You can call widget in Post/Page using shortcode. Follow this link to establish a system like that. http://digwp.com/2010/04/call-widget-with-shortcode/