Support » Fixing WordPress » Adding a duplicate widget in 2.6

  • Resolved agentdhh

    (@agentdhh)


    I’m trying to add an additional wordtube widget to my theme. You used to be able to go into the widgets section and select how many widgets under a certain title you’d like.

    Can anyone tell me if you can still do this and where I find the options? I’ve looked everywhere.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Moderator Samuel Wood (Otto)

    (@otto42)

    WordPress.org Admin

    If the specific widget does not support having more-than-one, then you can’t have more-than-one.

    Simple as that, really.

    If it’s an old widget plugin, then the format for the multiple widget interface changed, and the plugin will need to be updated. A widget can either support 1 copy of itself or unlimited copies of itself now, there’s no need to specify a specific number any more.

    Thank you.

    Can you now duplicate the ‘pages’ widget ?

    You cannot duplicate the pages widget. There’s no duplicating widgets any more, what you do now is keep adding as many as you need. So the Text widget for example, you add as many widgets as you want, there’s no limit. But you don’t need to decide in advance how many you want (that was the old system).

    If you want a second Pages widget, I wrote a really simple plugin to do that. However, it will only work properly if the widgets are on different sidebars. More specifically, you can only save the options for the widget if the two widgets are in different sidebars. If they are in the same sidebar, they’ll both get the same options when you click save.

    The code is here if you’re interested:
    http://www.callum-macdonald.com/download/wp-pages-widgets.php.zip

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Adding a duplicate widget in 2.6’ is closed to new replies.