该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的WordPress一起使用时,可能不再受到维护或支持,并且可能会存在兼容性问题。

Get Widget ID

描述

As the name suggests the Get Widget ID Plugin allows you to display the widget id in the widget form.

One can also get the widget id by inspecting the html but I find that rather tedious. So I wrote this short snippet.

No more inspecting elements and messing with html. Simply install this plugin and you are good to go.

It is based on this Tutorial

屏幕截图

  • ID inside a Text Widget

安装

This section describes how to install the plugin and get it working.

  1. Unzip archive and upload the entire folder to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Now visit the Widget section and click on any active widget. You will find the Widget ID.

常见问题

The FAQ section will be updated in next release.

评价

2016 年 9 月 3 日
Thanks so much. Works as advertised. What else can I say?
2016 年 9 月 3 日
Solved my issue easily by display the widget ID info. Thank you!
阅读所有4条评价

贡献者及开发者

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

贡献者

帮助将「Get Widget ID」翻译成简体中文。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

Version 1.0

  • First Release

Version 1.1

Tested with latest WordPress Versions

Version 1.2

Compatible with latest wordpress version