[WordPress] 外掛分享: The Insertr

WordPress 外掛 The Insertr 的封面圖片。

前言介紹

  • 這款 WordPress 外掛「The Insertr」是 2019-12-11 上架。
  • 目前有 20 個安裝啟用數。
  • 上一次更新是 2021-03-18,距離現在已有 1507 天。超過一年沒更新,安裝要確認版本是否可用。以及後續維護問題!
  • 外掛最低要求 WordPress 2.9 以上版本才可以安裝。
  • 外掛要求網站主機運作至少需要 PHP 版本 7.0.0 以上。
  • 有 2 人給過評分。
  • 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。

外掛協作開發者

b3none | garethmorgans |

外掛標籤

ads | keyword | ad manager | dynamic insertion | dynamic keyword insertion |

內容簡介

Insertr 外掛允許網路行銷人員和網站擁有者在落地頁面上動態插入文字和片語,使用簡單的查詢字串和 shortcode 控制您的參數。

當 URL 不包含預期的查詢字串時,可以輸入回退選項。可以選擇大寫、小寫和標題大小寫。

Shortcode 沒有作用?我們還創建了一個名為「Shortcode Enablr」的外掛,以啟用 WordPress 預設不顯示它們的常見地方的 shortcode,包括 ACF 欄位和 YoastSEO 標題。

使用方法

在希望插入動態字或片語的位置添加以下 shortcode:

[insertr key="{urlParameter}" fallback="{fallbackWord}"]

在 shortcode 中,「key」選項包含您希望使用的 URL 參數。

「fallback」選項包含如果 URL 不包含使用您定義的 URL 參數的查詢字串時顯示的回退字。

例如:

我們將 URL 參數設置為「keyword」,並在 URL 中為其分配一個值。如果沒有使用正確的查詢字串,我們的回退詞將是「PPC 代理商」。

[insertr key="keyword" fallback="PPC Agency"]

我們頁面上的鏈接將使用帶有上述參數「keyword」和我們想要動態插入的值的查詢字串——在此情況下,我們希望動態插入「數位代理商」。

herdl.com?keyword=digital%20agency

當使用此 URL 訪問我們的落地頁面時,shortcode 的所有實例都將顯示「數位代理商」。如果未使用查詢字串,shortcode 的所有實例都將顯示「PPC 代理商」。

「%20」是文章的 URL 編碼值。

高級使用方法

您可以在頁面上使用多個 shortcode 動態插入不同的字和片語。這將要求您使用多個由帶有和號「&」分隔的查詢參數,如下所示。

例如:

[insertr key="keyword" fallback="PPC Agency"]

[insertr key="other" fallback="PPC Management"]

herdl.com?keyword=digital%20agency&other=digital%20experts

在上面的示例中,第一個 shortcode 會顯示「數位代理商」,而第二個 shortcode 會顯示「數位專家」。

您還可以在 shortcode 中使用額外的選項來設置字母大小寫,包括大寫、小寫和標題大小寫。這將決定動態插入的單詞和回退詞的字母大小寫。

例如:

[insertr key="keyword" fallback="PPC Agency" case="upper"]

herdl.com?keyword=digital%20agency

這將使用大寫顯示插入的字:

「DIGITAL AGENCY」

[insertr key="keyword" fallback="PPC Agency" case="lower"]

herdl.com?keyword=digital%20agency

這將使用小寫顯示插入的字:

「digital agency」

[insertr key="keyword" fallback="PPC Agency" case="title"]

herdl.com?keyword=digital%20agency

這將使用標題大小寫顯示插入的字:

「Digital Agency」

原文外掛簡介

The Insertr allows marketers and site owners to dynamically insert words and phrases into landing pages. Control your parameters using a shortcode and simple query string in the page URL.
A fallback can be entered for cases where the URL does not contain the expected query string. Options are available for uppercase, lowercase and title case text.
Shortcode not working? We’ve also created a plugin called “Shortcode Enablr” to enable shortcodes in common places that WordPress doesn’t display them by default – including ACF fields and YoastSEO titles.
Usage
Add the following shortcode where you wish to insert a dynamic word or phrase:
[insertr key=”{urlParameter}” fallback=”{fallbackWord}”]
In the shortcode, the “key” option contains the URL parameter you’d like to use.
The “fallback” option contains the fallback word to be displayed if the URL does not contain a query string using the URL parameter you’ve defined.
For example:
We’ll set the URL parameter to be “keyword” which we’ll assign a value for in the URL. Our fallback word will be “PPC Agency” if the correct query string isn’t used.
[insertr key=”keyword” fallback=”PPC Agency”]
Our link for the page will use a query string with the parameter set above, “keyword”, and the value we’d like to use – in this case we want to dynamically insert “digital agency”.
herdl.com?keyword=digital%20agency
When this URL is used to visit our landing page, all instances of the shortcode will display “digital agency”. If the query string is not used, all instances of the shortcode will display “ppc agency”.
For reference, “%20” is the URL encoded value for a space.
Advanced Usage
You can use multiple shortcodes on the page to dynamically insert different words and phrases. This will require you to use multiple query parameters that are separated by an ampersand, “&”, as shown below.
For example:
[insertr key=”keyword” fallback=”PPC Agency”]
[insertr key=”other” fallback=”PPC Management”]
herdl.com?keyword=digital%20agency&other=digital%20experts
In the example above, the first shortcode will display “digital agency” and the second shortcode will display “digital experts”.
You can also set the letter case using an additional option in the shortcode for uppercase, lowercase and title case. This will determine the letter case of the dynamically inserted words and also the fallback words.
For example:
[insertr key=”keyword” fallback=”PPC Agency” case=”upper”]
herdl.com?keyword=digital%20agency
This would display the inserted words in uppercase:
“DIGITAL AGENCY”
[insertr key=”keyword” fallback=”PPC Agency” case=”lower”]
herdl.com?keyword=digital%20agency
This would display the inserted words in lowercase:
“digital agency”
[insertr key=”keyword” fallback=”PPC Agency” case=”title”]
herdl.com?keyword=digital%20agency
This would display the inserted words in title case:
“Digital Agency”

各版本下載點

  • 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
  • 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「The Insertr」來進行安裝。

(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。


1.4.0 | 1.4.1 |

延伸相關外掛(你可能也想知道)

暫無相關外掛推薦。

文章
Filter
Apply Filters
Mastodon