Copying Widgets and Their Settings to Another Sidebar

I’ve always wondered why it’s such a pain to create a different sidebar for a different page. Am I missing something? I mean you have to drag your widget to the new page sidebar and then copy and paste the settings from the widgets that display on other pages?

Is there no function/plugin that allows you to say click and hold the widget currently in on sidebar to copy (not just move) a widget from one sidebar to another? Hope that makes sense, thanks.

I would guess this is simply a result of the nature of sidebars. Sidebars are capable of being used across multiple pages and templates, of course. A good theme design would have sidebars that allow you to place widget areas on all pages or just on particular page templates. I think that when this system has been well thought out and executed in a theme, 95% of the time this isn’t an issue. That doesn’t mean it’s the case in practice though :slight_smile:

Anyway, if you are having this issue, you might consider approaching the problem from the other side. Register a custom sidebar and insert the display code into the various page templates in which you want it to occur. It’s more elegant this way because you don’t have multiple copies of the same code/widgets lying around (which is a big point of the widget system in the first place). Even if it were easy to duplicate the widgets, you’d still have the problem that if/when you changed one you’d need to manually change them all.

Hope that helps :slight_smile:

tonvie said

I’ve always wondered why it’s such a pain to create a different sidebar for a different page. Am I missing something? I mean you have to drag your widget to the new page sidebar and then copy and paste the settings from the widgets that display on other pages?

Is there no function/plugin that allows you to say click and hold the widget currently in on sidebar to copy (not just move) a widget from one sidebar to another? Hope that makes sense, thanks.

I just googled it :slight_smile: I didn’t try it btw… but you’re right, that would be usefull if it was a default feature of WP

Parker

Edit:

I tried it, it comes with some deprecated functions calls… setting the debug mode to true in the wp-config.php will help you to fix these little things.

The only downside is that the duplicated widgets don’t give you the option to edit the parameters… are just and simply copies.

@tonvie - Cool idea man, will give it a shot as soon as i get some free time, waaaaay to busy at the moment, but looks like a nice challenge, and i love challenges :slight_smile:

wpCanyonThemes said

@tonvie - Cool idea man, will give it a shot as soon as i get some free time, waaaaay to busy at the moment, but looks like a nice challenge, and i love challenges :slight_smile:

I’ve been checking the wp core all the day…it doesn’t seem an easy challenge :slight_smile: What that plugin does is basically useless.

What I would like to be able to try is to duplicate each widget when added to any sidebar. Basically the “inactive widget area” is a sidebar too, activated by WP by default. The goal would be to create a clone in that sidebar everytime you drag a widget in any other custom sidebar created by the theme… but there is the id problem to solve too…

ParkerAndKent said
wpCanyonThemes said

@tonvie - Cool idea man, will give it a shot as soon as i get some free time, waaaaay to busy at the moment, but looks like a nice challenge, and i love challenges :slight_smile:

I’ve been checking the wp core all the day…it doesn’t seem an easy challenge :slight_smile: What that plugin does is basically useless.

What I would like to be able to try is to duplicate each widget when added to any sidebar. Basically the “inactive widget area” is a sidebar too, activated by WP by default. The goal would be to create a clone in that sidebar everytime you drag a widget in any other custom sidebar created by the theme… but there is the id problem to solve too…

A bit of jQuery magic will be enough i think :slight_smile:

wpCanyonThemes here (wrong account yet again).

:slight_smile:

Mmm… jquery would work if you just want to copy the contents from one widget to another with some additional buttons or similar… I don’t think you can keep a widget within the inactive widgets sidebar for later use…

In any case, if you do it, just share it because that would be great :wink:

ParkerAndKent said

:slight_smile:

Mmm… jquery would work if you just want to copy the contents from one widget to another with some additional buttons or similar… I don’t think you can keep a widget within the inactive widgets sidebar for later use…

In any case, if you do it, just share it because that would be great :wink:

Looking at the code… maybe you’re right about jquery :slight_smile:

Great…

ParkerAndKent said
ParkerAndKent said

:slight_smile:

Mmm… jquery would work if you just want to copy the contents from one widget to another with some additional buttons or similar… I don’t think you can keep a widget within the inactive widgets sidebar for later use…

In any case, if you do it, just share it because that would be great :wink:

Looking at the code… maybe you’re right about jquery :slight_smile:

Great…

:slight_smile:

wpCanyonThemes said
ParkerAndKent said
ParkerAndKent said

:slight_smile:

Mmm… jquery would work if you just want to copy the contents from one widget to another with some additional buttons or similar… I don’t think you can keep a widget within the inactive widgets sidebar for later use…

In any case, if you do it, just share it because that would be great :wink:

Looking at the code… maybe you’re right about jquery :slight_smile:

Great…

:slight_smile:

I almost done it with jQuery, super easy and it seems to work… I’ll share the code soon :slight_smile:

mmm… there are some checks to do… I’ll see what comes out :slight_smile:

@ all you, wow, I thought I was the only one who was annoyed by that. Just trying to speed up workflow. Thanks ever so much for taking any time to think about doing something about it! cheers :slight_smile:

Mmm, unfortunately what was looking like something working… it really wasn’t… with the only jquery there’s no way to create clones of widgets… they must have incremental ids by type, otherwise everything get messed :stuck_out_tongue:

But I’ll keep trying in a different way…

I know this is an old thread- but i thought i’d update itwith some new info :slight_smile:

This works in jul 2014 on latest Wordpress: Oomph Clone Widgets.

You can check Widget Options Clone WordPress Widgets brand new features too. I hope you’ll love it. Cheers!