Multiple widgets
-
Hey Friends,
I am working with a plug-in named MM Snippet.
In Appearance section on widget link, we have list of available widget to be displayed in side bars and an the bottom of the page, the plug-in provides no of Snippets to be displayed.
Now the problem is that in available widget page only one snippet is shown. Rest of the snippets are ignored by a condition in function wp_list_widgets()
This function resides in wp-admin\includes\widgets.php file.If I comment the below lines, it works great but I am limited to plug-in only.
if ( in_array( $widget[‘callback’], $done, true ) ) // We already showed this multi-widget
continue;I can’t touch the wordpress core code.
Kindly help me..
Thanks in advance…
- The topic ‘Multiple widgets’ is closed to new replies.