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

Custom Meta Widget

描述

This plugin acts in exactly the same way as the standard Meta widget except that it adds options which allow you control which of the 5 standard Meta widget links should be displayed, with the additional option to add your own custom link.

The standard Meta widget that comes with WordPress offers no customization and requires you to show all 5 of the standard links (register, login, entries RSS, comments RSS, and WordPress.org, as well as any links added by themes or other plugins).

Translation Help

If you would like to help make this plugin available in your native language, please send your .po file to plugins@shinraholdings.com, and I will include it in the next version. The all the language files are in the lang subdirectory of the plugin.

Readme Generator

技术支持

Donations

Donations are graciously accepted to support the continued development and maintenance of this and other plugins. We currently accept PayPal, link backs, and kind words. Also, checking the ‘show plugin link’ option on the widget helps us out greatly!

屏幕截图

  • The widget’s options page on the Appearance > Widgets menu.
  • The widget displayed on the sidebar with 3 links hidden and a custom link added.
  • Comparison of options between the standard and Custom Meta Widget.

安装

  1. Download the latest zip file and extract the custom-meta-widget directory.
  2. Upload this directory inside your /wp-content/plugins/ directory.
  3. Activate the ‘Custom Meta Widget’ on the ‘Plugins’ menu in WordPress.
  4. Add the ‘Custom Meta’ widget to your sidebar (using the Appearance > Widgets menu) and choose which customizations you would like.

常见问题

Installation Instructions
  1. Download the latest zip file and extract the custom-meta-widget directory.
  2. Upload this directory inside your /wp-content/plugins/ directory.
  3. Activate the ‘Custom Meta Widget’ on the ‘Plugins’ menu in WordPress.
  4. Add the ‘Custom Meta’ widget to your sidebar (using the Appearance > Widgets menu) and choose which customizations you would like.
Why does my Meta widget look the same?

This plugin does not modify the standard WordPress Meta widget. It is a completely separate widget titled ‘Custom Meta.’ If you are currently using the standard Meta widget, you will have to remove it from your sidebar and replace it with the Custom Meta widget using the Appearance > Widgets menu.

It also looks identical to the standard Meta Widget unless you opt to change which links are shown/hidden in the Appearance > Widgets menu, under the expanded ‘Custom Meta’ widget.

Which links can I hide/show?

You can remove any, all, or none of the links which appear on the standard Meta widget. You are also able to add a custom link to the list if you wish.

Why did you make this?

I didn’t like having the ‘Comments RSS’ link on the sidebar, but did like having the rest of them. I couldn’t find a plugin to do that and manually editing the code to accomplish this, while simple, is a dirty hack that breaks with every WordPress update, so I created a crude plugin to remove just the ‘Comments RSS’ link. I then cleaned this up and added an options page for all the links so that no one else would have to do this in the future.

Can you add this feature I just thought of?

Can I? Yes. Will I? Yes, if I think it would be a helpful addition. I’m trying to keep things clean and simple, but there’s always room for improvement, so let me know if you think a feature is lacking!

Will vanilla WordPress ever implement some variation of this?

I don’t know man. They haven’t yet, so it doesn’t look very likely. But I think they should and I would be glad if they did.

Why did you add an option to link to the plugin site, you horrible sellout?

Most people, myself included, are understandably reluctant to donate real currency for free stuff. However, putting a link to my site from your site is just as helpful and a much more comfortable and forthcoming mode of charity, especially in the webmaster community. Also, because I’m a horrible sellout.

评价

2019 年 9 月 23 日
but only one custom link can be added 🙁
2018 年 3 月 19 日
I didn’t need to do anything else other than activating the plugin. The meta menu with Feeds and WordPress.org link where gone. Thank you!
2016 年 9 月 3 日
I ignored the warning that it hadn’t been updated in two years and might not work with later versions of WP, and it worked perfectly.
阅读所有23条评价

贡献者及开发者

“Custom Meta Widget” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

将“Custom Meta Widget”翻译成您的语言。

对开发感兴趣吗?

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

更新日志

1.5.1

  • Fixed the “show custom link” functionality. My bad.

1.5.0

  • Some formatting changes to bring closer alignment with the current vanilla WordPress Meta Widget.
  • Added ability for links added to the meta widget by other themes/plugins as introduced in 4.4 via wp_meta().
  • Added compatibility with some new filters introduced since the last major update.
  • General code clean-up and modernization.

1.4.8

  • Updated deprecated __construct() method
  • Thank you to dsmiller

1.4.7

  • Purely cosmetic update for WordPress 4.4

1.4.6

  • WordPress 3.6.1 update
  • Added fr_FR (French) translation
  • Added nl_NL (Dutch) translation
  • Added pl_PL (Polish) translation
  • Added sr_RS (Serbian) translation

1.4.5

  • WordPress 3.5.1 update
  • Added sk_SK (Slovak) translation

1.4.4

  • Added de_DE (German) translation
  • General update to language files
  • Major code efficiency upgrades

1.4.3

  • Small correction to the ru_RU (Russian) translation

1.4.2

  • WordPress 3.5 update
  • Added translations for ru_RU

1.4.1

  • Added missed textdomains for more complete i18n
  • Added translations for da_DK, en_NZ, en_PH, and en_NZ
  • Updated/fixed all translation files

1.4.0

  • Code efficiency improvements (better loops)
  • Now removes default Meta Widget (to avoid confusion)

1.3.6

  • Small metadata update

1.3.5_a

  • Updated for WordPress version 3.3.2
  • Fixed the 1 missed textdomain for i18n

1.3.5

  • Fixed typo introduced in i18n transition.
  • Adds translation files for en-AU, en-CA, en-GB, en-IE, and es-MX.

1.3.4

  • Fixed minor issues with i18n text domains.

1.3.3

  • Internationalized all displayed text.

1.3.2

  • Added additional error handling for the custom link url input.
  • Added an option to beg you for link love (disabled by default, and not annoying).
  • Slightly changed widget options to look more like the vanilla widget’s.

1.3.1

  • Added error handling to prevent blank custom links from being inserted on the sidebar.
  • Cleaned up code formatting.

1.3

  • Added a custom link option (disabled by default).
  • Updated screenshots 1-3.
  • Changed plugin name on Appearance > Widgets menu to ‘Custom Meta’ instead of ‘Custom Meta Widget’ which was redundant.
  • Added additional code commenting.

1.2

  • Fixed reference to non-existent instance error.

1.1

  • Minor improvements to code architecture.
  • Increased compliance with WordPress style standards.
  • Significantly more code commenting.

1.0

  • First released version.
  • There may still be bugs, but I can’t find any.