redlegoreng
Forum Replies Created
-
Hi ! Same request here, it would be great !
In the meantime, for those who aren’t afraid of getting dirty, here’s a workaround (making a clone of the plugin) :
1) Choose a beautiful name for the widget’s clone (i chose “diamund”)
2) Duplicate the whole “diamond_multisite_widgets” folder
3) Replace all files names by replacing “diamond” with “diamund” including the main folder
4) Using a powerful text editor (as Textmate on mac), replace the string “diamond” with the name you chose (i.e. “diamund”) in all the files of the widget folder
5) Using the same powerful text editor, replace
update_option('withupdate_option('diamund_
and
get_option('withget_option('diamund_
6) In thefunctions.phpfile, for every function (3 times), add this before : `if(!function_exists(‘FUNCTION_NAME’)){
and this after :}
(Of course, replace FUNCTION_NAME by the actual name of the function)
7) It may be possible that you need to do the same in your original widget file, so copy your function.php file in that folder too.
8) Activate your new widget. It works exactly as the real one and should not interfere.9) Repeat the process using another name as many times as you need…
Note : I’m a wordpress newbie, so i can’t tell but it could possibly be very bad to do this at home