WordPress.org

Ready to get started?Download WordPress

Forums

Duplicate Widget
Duplicates erase originals using custom sidebars (9 posts)

  1. pete7feet
    Member
    Posted 2 years ago #

    Hi there,

    i stumbled upon a problem with this widget. but first i will specify the situation.

    What i want to do is using a shorter version of my main sidebar on pages that i create. well i found a plugin called custom sidebars that provides the option of creating a second sidebar, but i needed to duplicate my widgets so that i could use them twice.

    But what occurs, when i leave the widget page all my original main sidebar widget get erased. en there will be only empty duplicates in the main sidebar.

    Does anyone have a suggestion?

    Thanks in advance

    http://wordpress.org/extend/plugins/duplicate-widget/

  2. groovysoul
    Member
    Posted 1 year ago #

    Similar problem here. My original sidebar gets wiped or partially wiped clean. I had originally set up the duplicates to come from my main sidebar, but now the duplicates are set up to come from the custom sidebars, as indicated by the [D] in the widget title. What I've also noticed is that going to certain pages is what seems to wipe the main sidebar. Maybe there's some lingering code that's looking for the original duplicate that creates a destructive loop?? That's the only thing I can think of, but I'm not code savvy enough to figure out how or why. I hope there's a solution soon. (It seems that the issue only started recently, but I can't be sure.)

  3. FranH
    Member
    Posted 1 year ago #

    Too bad... The two plugins would make a dream-team :(

  4. FranH
    Member
    Posted 1 year ago #

    Ok, it looks like I actually got working :)

    In the duplicate-widgets.php, around line 340 (output_widget function) there is an IF that I commented out and widgets stopped disappearing since.

  5. skylacking
    Member
    Posted 1 year ago #

    Works now? I dont want to install and lose the widgets I've made.

  6. skylacking
    Member
    Posted 1 year ago #

    what exacltly did you comment out? the whole fucntion or just the if statement?

  7. afeltman
    Member
    Posted 1 year ago #

    Similar problem. My original widget can disappear leaving an empty non-functioning "Duplicate" in my sidebar. But this action is inconsistent.

  8. alex27
    Member
    Posted 1 year ago #

    Same here. I'm using content aware sidebars plugin and these two seem to be incompatibile... pity

  9. afeltman
    Member
    Posted 1 year ago #

    ref: skylacking, (posted 2 months ago #): "what exactly did you comment out? the whole function or just the if statement?"

    I commented out just the "if" statement and got it working.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic