Title: QRCode Generator &#8211; Adsense
Author: aklamator
Published: <strong>2015 年 6 月 16 日</strong>
Last modified: 2018 年 1 月 29 日

---

搜尋外掛

![](https://ps.w.org/codeqrcode-adsense/assets/banner-772x250.png?rev=1808708)

這個外掛**並未在最新的 3 個 WordPress 主要版本上進行測試**。開發者可能不再對這個
外掛進行維護或提供技術支援，並可能會與更新版本的 WordPress 產生使用上的相容性問題。

![](https://ps.w.org/codeqrcode-adsense/assets/icon-128x128.png?rev=1181790)

# QRCode Generator – Adsense

 由 [aklamator](https://profiles.wordpress.org/aklamator/) 開發

[下載](https://downloads.wordpress.org/plugin/codeqrcode-adsense.2.1.1.zip)

 * [詳細資料](https://tw.wordpress.org/plugins/codeqrcode-adsense/#description)
 * [使用者評論](https://tw.wordpress.org/plugins/codeqrcode-adsense/#reviews)
 *  [安裝方式](https://tw.wordpress.org/plugins/codeqrcode-adsense/#installation)
 * [開發資訊](https://tw.wordpress.org/plugins/codeqrcode-adsense/#developers)

 [技術支援](https://wordpress.org/support/plugin/codeqrcode-adsense/)

## 外掛說明

It also enables you to place dynamic QR codes using widget. Dynamic QR codes are
easier to scan and enable you to track number of scans, device type, and change 
URL destination.

**How to auto generate QR codes for each post/page**

Open plugin settings and choose static QR code (for simple QR codes without analytics).
Each page/post will have unique QR code redirecting user which scans it to that 
page.
 If you create free CodeQRCode account and paste ApplicationID, dropdown list
will show your dynamic QR codes also.

**Checkout how to create QR code contact vcard and place it :**

**How to place AdSense ad code ?**
 Just copy & paste AdSense or any other third
party Ad code to box and optionally add name. Choose default Ad for each post and
page. Go to Dashboard > Appearance > Widgets and Drag n Drop desired code to desired
position. Thats it!

**Advantages of Dynamic QR codes:**

 1. Easier to scan (because codeqrcode uses short URL)
 2. Ability to change URL later (after placing it on your web site or printing it) –
    by using codeqrcode dashboard you can change destination URL whenever you want.
 3. Scan analytics – using codeqrcode dashboard you can have insight in number of scans,
    device types used to scan, whether the scan is new or returning, date, time and
    much more…

You can read more about [dynamic vs static QR codes](https://www.codeqrcode.com/blog/dynamic-vs-static-qr-code/)

## 螢幕擷圖

 * [[
 * CodeQRCode AdSense plugin configuration
 * [[
 * How to get Application ID ?
 * [[
 * CodeQRCode Dashboard where you can analyze QR code scans
 * [[
 * Drag n Drop QR code to desired position (or place AdSense or other Ad code).

## 安裝方式

**How to activate and use CodeQRCode dynamic QR codes on your wordpress website**

**1. step** : Get CodeQRCode wordpress plugin :
 Login to your wordpress dashboard
as administrator, go to Plugins> Add New and type “codeqrcode”, click install! or
manually : * [get plugin](https://wordpress.org/plugins/codeqrcode-adsense/) and*
Upload and unzip plugin to the `/wp-content/plugins/` directory * Activate the CodeQRCode
plugin through the ‘Plugins’ menu in WordPress

Go to your WordPress administration panel, go to plugins and settings for CodeQRCode
plugin.

**2. step** : Click on red button “Create your FREE account” to get free CodeQRCode.
com account and autopopulate Application ID field.
 After submitting registration
form you will get verification email with activation link (please check SPAM folder
if it is missing). Click on activation link in received email. Now your Application
ID should be autofilled, just click SAVE to proceed.

**3. step OPTIONAL** :
 Optionally if you didn’t get Application ID in previous 
step you can copy paste it manually [Sign in](https://www.codeqrcode.com/analytics)
and get your CodeQRCode Application ID After logging in, go to your profile and 
copy Application ID from CodeQRCode and paste it in wordpress plugin.

**WELL DONE!** CodeQRCode is now active on your WordPress website and you should
be able to see your dynamic QR codes in plugin settings and CodeQRCode drag n drop
widget.

Now you can [Log in](https://www.codeqrcode.com/analytics/qranalytics) to the CodeQRCode
and create more dynamic QR codes or to track statistics and for get additional configuration
to CodeQRCode dashboard.

#### Questions? Contact us!

[Click here for customer support >>](https://www.codeqrcode.com/contact/)

## 常見問題集

  Installation Instructions

**How to activate and use CodeQRCode dynamic QR codes on your wordpress website**

**1. step** : Get CodeQRCode wordpress plugin :
 Login to your wordpress dashboard
as administrator, go to Plugins> Add New and type “codeqrcode”, click install! or
manually : * [get plugin](https://wordpress.org/plugins/codeqrcode-adsense/) and*
Upload and unzip plugin to the `/wp-content/plugins/` directory * Activate the CodeQRCode
plugin through the ‘Plugins’ menu in WordPress

Go to your WordPress administration panel, go to plugins and settings for CodeQRCode
plugin.

**2. step** : Click on red button “Create your FREE account” to get free CodeQRCode.
com account and autopopulate Application ID field.
 After submitting registration
form you will get verification email with activation link (please check SPAM folder
if it is missing). Click on activation link in received email. Now your Application
ID should be autofilled, just click SAVE to proceed.

**3. step OPTIONAL** :
 Optionally if you didn’t get Application ID in previous 
step you can copy paste it manually [Sign in](https://www.codeqrcode.com/analytics)
and get your CodeQRCode Application ID After logging in, go to your profile and 
copy Application ID from CodeQRCode and paste it in wordpress plugin.

**WELL DONE!** CodeQRCode is now active on your WordPress website and you should
be able to see your dynamic QR codes in plugin settings and CodeQRCode drag n drop
widget.

Now you can [Log in](https://www.codeqrcode.com/analytics/qranalytics) to the CodeQRCode
and create more dynamic QR codes or to track statistics and for get additional configuration
to CodeQRCode dashboard.

#### Questions? Contact us!

[Click here for customer support >>](https://www.codeqrcode.com/contact/)

  I have pasted CodeQRCode Application ID but do not see any Dynamic QR Codes

Is Application ID correct? When you save changes, does the list of your dynamic 
QR codes appear in dropdown? If you see only static QR code option, please [Log in](https://www.codeqrcode.com/analytics/qranalytics)
to codeqrcode.com and create first dynamic QR code.

  QR codes are not showing below posts (single page post) or pages.

Go to plugin configuration and check if the checkbox is enabled for single posts
and/or pages on your wordpress site.
 Change type from static to dynamic QR codes
if desired.

  Where can I find analytics for QR code scans?

[login](https://www.codeqrcode.com/analytics/qranalytics) to CodeQRCode and click
statistics for desired QR code. Please note that only scans of dynamic QR codes 
are tracked.

  Can I use this plugin to serve Ad Sense or any other Ad code?

Yes you can! This is bonus feature for you! Just go to plugin settings and enable
Ad serving checkbox. It will reveal 3 fields where you can paste your ad code. Later
in Appearance -> Widgets you can drag and drop CodeQRCode-Adsense widget to desired
position.

## 使用者評論

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

### 󠀁[Faulty and useless piece of software](https://wordpress.org/support/topic/faulty-and-useless-piece-of-software/)󠁿

 [belbernard](https://profiles.wordpress.org/belbernard/) 2016 年 10 月 24 日 1 
則留言

I installed this plugin which destroyed the database of my site, let me explain 
how… I got “maxconnection” errors a few minutes after setting up a dynamic QRcode
on the homepage. By security the service provider closed every access to my website(
including PhpMyAdmin) so I had no other alternative than reverting to day-1 backup.
A likely reason is that the code dealing with dynamic QRcode performs an “open” 
statement and forgets to close, which ends up saturating the site if the page is
often accessed. I spent another day trying other plugins for (static) QRcodes, one
of which created PHP errors resulting in disrupted display of the theme… In the 
end, I understood that the simplest and safest way to produce QRcode is to install
a PHP widget and run the following code that calls Google’s service to display a
QRcode with the URL of the current page (or anything else you wish): ========== 
<?php function curPageURL() { $pageURL = ‘http’; if ($_SERVER[“HTTPS”] == “on”) {
$pageURL .= “s”;} $pageURL .= “://”; if ($_SERVER[“SERVER_PORT”] <> “80”) { $pageURL.
= $_SERVER[“SERVER_NAME”].”:”.$_SERVER[“SERVER_PORT”].$_SERVER[“REQUEST_URI”]; }
else { $pageURL .= $_SERVER[“SERVER_NAME”].$_SERVER[“REQUEST_URI”]; } return $pageURL;}
$url = curPageURL(); $call = “https://chart.googleapis.com/chart?cht=qr&chl=”.$url.”&
chs=160×160″; echo “”; ?> ============ This code is for instance running on my page:
http://lebonheurestpossible.org/dawn-phenomenon/

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

### 󠀁[Autogenerates QR codes](https://wordpress.org/support/topic/autogenerates-qr-codes/)󠁿

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

I like ability to drag and drop widet where needed.

 [ 閱讀全部 2 則使用者評論 ](https://wordpress.org/support/plugin/codeqrcode-adsense/reviews/)

## 參與者及開發者

以下人員參與了開源軟體〈QRCode Generator – Adsense〉的開發相關工作。

參與者

 *   [ aklamator ](https://profiles.wordpress.org/aklamator/)

[將〈QRCode Generator – Adsense〉外掛本地化為台灣繁體中文版](https://translate.wordpress.org/projects/wp-plugins/codeqrcode-adsense)

### 對開發相關資訊感興趣？

任何人均可[瀏覽程式碼](https://plugins.trac.wordpress.org/browser/codeqrcode-adsense/)、
查看 [SVN 存放庫](https://plugins.svn.wordpress.org/codeqrcode-adsense/)，或透過
[RSS](https://plugins.trac.wordpress.org/log/codeqrcode-adsense/?limit=100&mode=stop_on_copy&format=rss)
訂閱[開發記錄](https://plugins.trac.wordpress.org/log/codeqrcode-adsense/)。

## 變更記錄

#### 2.1.1

 * QR code width fix
 * Theme influence fix

#### 2.1.0

 * Improved communication with CodeQRCode API
 * Warning fixed when dragging widget

#### 2.0.1

 * Small layout fixes

#### 2.0.0

 * Tested up to 4.9.2 (newest wp version)
 * Improved API communication engine
 * Improved Authorization process. Easier to get Application ID with one click.
 * Added dynamic QR code preview in plugin settings
 * Now supports SSL communication with codeqrcode.com

#### 1.3.3

 * Tested up to 4.6.1 (newest wp version)

#### 1.3.2

 * Tested up to 4.5.3 (newest wp version)

#### 1.3.1

 * Added Benefits & Cross promotion tool video tutorial

#### 1.3

 * Tested up to 4.3 (newest wp version)

#### 1.2

 * Added please “rate and review” link in plugin section
 * Tested up to 4.2.3 (newest wp version)

#### 1.1

 * Added option to enable/disable shadow for qrCodes

#### 1.0

 * First version of CodeQRCode AdSense plugin widget

## 中繼資料

 *  版本 **2.1.1**
 *  最後更新 **8 年前**
 *  啟用安裝數 **20+**
 *  WordPress 版本需求 ** 3.0.1 或更新版本 **
 *  已測試相容的 WordPress 版本 **4.9.29**
 *  語言
 * [English (US)](https://wordpress.org/plugins/codeqrcode-adsense/)
 * 標籤:
 * [qr](https://tw.wordpress.org/plugins/tags/qr/)[qr code](https://tw.wordpress.org/plugins/tags/qr-code/)
   [qr generator](https://tw.wordpress.org/plugins/tags/qr-generator/)[qr scan](https://tw.wordpress.org/plugins/tags/qr-scan/)
   [qrcode](https://tw.wordpress.org/plugins/tags/qrcode/)
 *  [進階檢視](https://tw.wordpress.org/plugins/codeqrcode-adsense/advanced/)

## 評分

 3 星，滿分為 5 星

 *  [  1 個 5 星使用者評論     ](https://wordpress.org/support/plugin/codeqrcode-adsense/reviews/?filter=5)
 *  [  0 個 4 星使用者評論     ](https://wordpress.org/support/plugin/codeqrcode-adsense/reviews/?filter=4)
 *  [  0 個 3 星使用者評論     ](https://wordpress.org/support/plugin/codeqrcode-adsense/reviews/?filter=3)
 *  [  0 個 2 星使用者評論     ](https://wordpress.org/support/plugin/codeqrcode-adsense/reviews/?filter=2)
 *  [  1 個 1 星使用者評論     ](https://wordpress.org/support/plugin/codeqrcode-adsense/reviews/?filter=1)

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

[查看全部使用者評論](https://wordpress.org/support/plugin/codeqrcode-adsense/reviews/)

## 參與者

 *   [ aklamator ](https://profiles.wordpress.org/aklamator/)

## 技術支援

使用者可在技術支援論壇提出意見反應或使用問題。

 [檢視技術支援論壇](https://wordpress.org/support/plugin/codeqrcode-adsense/)

## 贊助

想要支援這個外掛的發展嗎？

 [ 贊助這個外掛 ](https://www.codeqrcode.com/)