Yes you can use PHP and shortcodes in widgets in WordPress. I’ve tried both of these and they work well. 1 – Use shortcodes in widgets without a plugin. 2 – Execute PHP code in widgets without a plugin.Read More
Rather go take pictures?