Allow shortcode for custom widget

You can try the following: /** * Only allow shortcodes for a widget with a given title. * * @see http://wordpress.stackexchange.com/a/160246/26350 */ function wpse_widget_shortcode( $text, $instance ) { // Only allow shortcodes for the widget with the following title: $title=”Some Title”; remove_filter( current_filter(), __FUNCTION__ ); if( isset( $instance[‘title’] ) && mb_strtolower( $title ) === $instance[‘title’] … Read more

Add content to footer – above wp_footer

AFAIK there is no fail safe way to implement this into all available themes through a plugin, and IMHO, I really think this is more theme territory than plugin territory, but as I said, that is only my opinion. The big problem here is that no plugin (not even you) will ever know what markup … Read more