Title: Widget Alias
Author: MIGHTYminnow
Published: <strong>2013 年 11 月 11 日</strong>
Last modified: 2026 年 3 月 10 日

---

搜索插件

![](https://ps.w.org/widget-alias/assets/banner-772x250.jpg?rev=802757)

![](https://s.w.org/plugins/geopattern-icon/widget-alias_6e6b23.svg)

# Widget Alias

 作者：[MIGHTYminnow](https://profiles.wordpress.org/mightyminnow/)

[下载](https://downloads.wordpress.org/plugin/widget-alias.1.7.3.zip)

 * [详情](https://cn.wordpress.org/plugins/widget-alias/#description)
 * [评价](https://cn.wordpress.org/plugins/widget-alias/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/widget-alias/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/widget-alias/#developers)

 [支持](https://wordpress.org/support/plugin/widget-alias/)

## 描述

**Compatible with PHP 8.2**

Widget Alias allows you to create an “alias” of any existing widget, effectively
reproducing / duplicating it. This can be especially handy when you want the same
widget to appear in multiple sidebars. Normally you would have to edit each widget
independently, but Widget Alias means you’ll only have to edit one.

A [**MIGHTYminnow**](http://mightyminnow.com) plugin.

#### Features

This plugin is similar to [Duplicate Widget](https://wordpress.org/plugins/duplicate-widget),
with a few key differences:

 * Widget Alias gives you the option to override the aliased widget’s title.
 * Widget Alias uses AJAX to update the drop-down `<select>` menus on the fly, which
   means you see widget changes (adding widgets, deleting widgets, re-ordering widgets,
   etc) in real time.
 * If you delete a widget that is being aliased, the aliased copies simply revert
   to “None”, instead of being deleted. This allows you to keep track of where you’ve
   used Widget Alias widgets, if need be.

#### Usage

Widget Alias can be used in one of two ways:

**1. Widget**
 In _Appearances > Widgets_ you’ll see a new widget called “Widget
Alias”, in which you can specify an override title if desired, and use the drop-
down `<select>` menu to choose the ID of the widget you would like to alias.

**2. Shortcode**
 Widget Alias also comes packaged with a shortcode that looks like
this: [widget_alias id=”target-widget-id” title=”Override Title”]

To use the shortcode simply enter the ID of the widget you would like to alias (`
id` parameter), and an override title (`title` parameter) if you would like to change
the aliased widget’s title.

#### Widget IDs

Widget Alias makes it super-easy for you to find the ID of any widget you would 
like to alias. In _Appearance > Widgets_, all active widgets now have their ID appended
below the widget title. Note: these IDs are added using jQuery, and will not appear
if JavaScript is disabled.

#### Removing / Deleting Aliased Widgets

Widget Alias makes it easy to tell which widgets are being aliased – each aliased
widget has a note below its widget controls letting you know how many times it is
aliased. If you delete an aliased widget, the Widget Alias widgets that previously
pointed to it will revert to the default alias value of “None.”

Banner photo by [Susannah Kay](http://susannahkay.com).

## 屏幕截图

 * [[
 * Widget Alias Features
 * [[

## 安装

Install and activate the plugin. That’s it! You’ll now have access to the Widget
Alias widget via _Appearance > Widgets_, as well as the `[wa]` shortcode.

## 常见问题

### How can I report security bugs?

You can report security bugs through the Patchstack Vulnerability Disclosure Program.
The Patchstack team help validate, triage and handle any security vulnerabilities.
[Report a security vulnerability.](https://patchstack.com/database/vdp/widget-alias)

## 评价

![](https://secure.gravatar.com/avatar/c5a5c374a7b759036099a4c19dd1d336f6cf0c87af13d932f1d2b7b1c09edb30?
s=60&d=retro&r=g)

### 󠀁[Good but no updates…](https://wordpress.org/support/topic/good-but-no-updates/)󠁿

 [momo-fr](https://profiles.wordpress.org/momo-fr/) 2017 年 11 月 4 日

I think this plugin is abandoned by its author.

![](https://secure.gravatar.com/avatar/dfda3a22e26d7e52d8d08fbbb5e58acabf8680493a1629d63783b58069281914?
s=60&d=retro&r=g)

### 󠀁[Wow!](https://wordpress.org/support/topic/wow-352/)󠁿

 [Sinkadus](https://profiles.wordpress.org/niwin/) 2016 年 9 月 3 日

This is so great. I was actually looking for a plugin that could clone/duplicate
existing widgets, but this is so much better. Love the fact that I still only have
one widget to change, when needed. Great job! Side note: It is a shame that the 
person that left the 1-star review didn’t delete it or changed to 5 star, when you
fixed the problem.

 [ 阅读所有8条评价 ](https://wordpress.org/support/plugin/widget-alias/reviews/)

## 贡献者及开发者

「Widget Alias」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ MIGHTYminnow ](https://profiles.wordpress.org/mightyminnow/)
 *   [ Mickey Kay ](https://profiles.wordpress.org/mcguive7/)

[帮助将「Widget Alias」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/widget-alias)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/widget-alias/)，查看
[SVN仓库](https://plugins.svn.wordpress.org/widget-alias/)，或通过[RSS](https://plugins.trac.wordpress.org/log/widget-alias/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/widget-alias/)。

## 更新日志

#### 1.7.3

 * Fix deprecated “ready” event.

#### 1.7.2

 * Update jQuery to show widget ID’s in the customizer.
 * Enqueue scripts and styles only on the widgets and customizer pages.
 * Refactor code to enclose previously global variables/functions, and prefix all
   functions.

#### 1.7.1

 * Fix deprecated widget constructor call.

#### 1.7

 * Fix issue with shortcode method throwing error.

#### 1.6

 * Add missing .pot file.

#### 1.5

 * Add extra JS conditional to prevent AJAX errors.

#### 1.4

 * Fixed bug in which Widget Alias would cause all widgets to disappear
 * Added more efficient jQuery
 * Improved admin styling

#### 1.3

 * Fixed bug in which Widget Alias was simply echoing widget output, instead of 
   returning it in the correct location.

#### 1.2

 * Further modifications to JS and CSS to utilize default WP admin classes for improved
   aesthetics.

#### 1.1

 * Modified JS and CSS to improve the display of each widget’s ID

#### 1.0

 * First release

## 额外信息

 *  版本 **1.7.3**
 *  最后更新：**3 月前**
 *  活跃安装数量 **200+**
 *  WordPress 版本 ** 3.0 或更高版本 **
 *  已测试的最高版本为 **6.9.4**
 *  语言
 * [English (US)](https://wordpress.org/plugins/widget-alias/)
 * 标签
 * [alias](https://cn.wordpress.org/plugins/tags/alias/)[duplicate](https://cn.wordpress.org/plugins/tags/duplicate/)
   [reproduce](https://cn.wordpress.org/plugins/tags/reproduce/)[synchronize](https://cn.wordpress.org/plugins/tags/synchronize/)
   [widget](https://cn.wordpress.org/plugins/tags/widget/)
 *  [高级视图](https://cn.wordpress.org/plugins/widget-alias/advanced/)

## 评级

 4.3 星（最高 5 星）。

 *  [  5 条 5 星评价     ](https://wordpress.org/support/plugin/widget-alias/reviews/?filter=5)
 *  [  2 条 4 星评价     ](https://wordpress.org/support/plugin/widget-alias/reviews/?filter=4)
 *  [  0 条 3 星评价     ](https://wordpress.org/support/plugin/widget-alias/reviews/?filter=3)
 *  [  0 条 2 星评价     ](https://wordpress.org/support/plugin/widget-alias/reviews/?filter=2)
 *  [  1 条 1 星评价     ](https://wordpress.org/support/plugin/widget-alias/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/widget-alias/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/widget-alias/reviews/)

## 贡献者

 *   [ MIGHTYminnow ](https://profiles.wordpress.org/mightyminnow/)
 *   [ Mickey Kay ](https://profiles.wordpress.org/mcguive7/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/widget-alias/)

## 捐助

您愿意支持这个插件的发展吗?

 [ 捐助此插件 ](http://mightyminnow.com)