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

Stupid Simple QR

描述

Adds a ‘QR’ button next to ‘Get Shortlink’ on published pages and posts.

Your authors can click it to print out a QR image and promote what they created. The QR code is created using the ‘shortlink’. The plugin uses the Google Charts API and (as the name applies) is stupid simple to set up and use!

Note: WP4.4 hid the ‘Get Shortlink’ button. This plugin will also unhide that button.

Options

There is one optional feature. It allows you to add arbitrary text to the end of the shortcode. This can be useful for tracking purposes.

屏幕截图

  • Look ma, a QR button!
  • Pushing the button creates a QR code!

安装

  1. Upload the stupid-simple-qr folder to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress

That’s it. You are done!

常见问题

Why did you create this when there are so many other QR plugins?

There are a bunch of other QR related plugins. However they are for including QRs in your posts. This plugin creates QR images FOR YOUR POSTS!

My authors needed a simple way to get the QR of the posts they create. This was the solution.

How does the append option work?

In the settings you can add some text that will be appended to the URL on the QR codes. This can be used for tracking purposed. For instance, You can set it as: &medium=qr. That way, links will look like: yourdomain.com/?p=195&medium=qr in your analytics.

For multisite, this can be set at both the site and network level. They will both be added.

Does it do x, y, or z???

No, no and no.

Who uses QR codes anyway?

Good question. In my experience, they are rarely used by customers. However, this doesn’t mean that your authors aren’t demanding them anyway.

If someone wants to create QR codes:

  1. Ask them to watch “QR Codes Kill Kittens” by Scott Stratten.
  2. What, they still want them? Use this plugin and save yourself the headache.

评价

2018 年 3 月 26 日
Simple is beautiful. Better if you can provide image size settings.
2016 年 9 月 3 日 1 回复
NO button No way to use it. must be another plugin blocking it. I need a qr next to the header image on every page / post. was looking for a short code to put in the header to link to it. especially after the page has been printed.
阅读所有3条评价

贡献者及开发者

“Stupid Simple QR” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

将“Stupid Simple QR”翻译成您的语言。

对开发感兴趣吗?

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

更新日志

1.0.5

  • Bug fix: Error occured on older version of PHP which doesn’t support closures. Fixed!

1.0.5

  • Tested on newer WP versions
  • Bug fix: Shortlink button had been remeved in WP4.4 – brought it back.

1.0.4

  • Tested on newer WP versions
  • Fixed minor bugs

1.0.3

  • Bug fix: URL encode append text

1.0.2

  • Allow the options to be set at a network level.

1.0.1

-Just cleaned the code a bit

1.0.0

-Seems stable enough. Have at it!