[WordPress] 外掛分享: Simple Text Ads

首頁外掛目錄 › Simple Text Ads
WordPress 外掛 Simple Text Ads 的封面圖片
10+
安裝啟用
★★★★★
5/5 分(1 則評價)
3339 天前
最後更新
問題解決
WordPress 4.6+ v1.0 上架:2017-01-24

內容簡介

Simple Text Ads 是一個簡單易用的短代碼 (Shortcode) ,可在文章或頁面中添加具有誘導操作按鈕的簡單文字廣告。

特色

僅需一個短代碼,即可在網站上增加文字廣告
支援在單一頁面上設置多個帶有個別設定的廣告
在 TinyMCE 編輯器中提供按鈕,可輕鬆添加及配置廣告短代碼
響應式設計

短代碼

所添加的短代碼為:

[simple_text_ad]

基本範例
[simple_text_ad headline="學習如何善用電子郵件行銷" message="我們的電子書提供了 47 頁的最佳技巧,協助您善用電子郵件行銷。" button_text="下載免費電子書" button_url="#" button_color="#FC5E18" new_tab="false"]

這將輸出以下 HTML:

<aside class="sta-ad sta-ad-1">
<header>
<h1>學習如何善用電子郵件行銷</h1>
</header>
<article>
<p>我們的電子書提供了 47 頁的最佳技巧,協助您善用電子郵件行銷。</p>
</article>
<footer>
<a href="#">下載免費電子書</a>
</footer>
</aside>

完整的 Simple Text Ad 設定

包含所有預設設定的完整短代碼如下:

[simple_text_ad headline="示範標題" message="示範訊息。" button_text="示範按鈕文字" button_url="#" button_color="#FC5E18" new_tab="false"]

headline:廣告標題。

message:廣告訊息。

button_text:按鈕文字。

button_url:按鈕打開的 URL。

button_color:設置按鈕的顏色。可接受 HEX 顏色代碼。默認值為 #FC5E18。

new_tab:是否在新選項卡中打開按鈕連結。默認值為 true。

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.0) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Simple Text Ads」→ 直接安裝(推薦)

原文外掛簡介

Simple Text Ads is an easy to use shortcode for adding simple text based advertisements with a call to action button in posts or pages.
Features

Adds one shortcode for adding text ads to your site
Supports multiple ads with individual settings on a single page
A button in the TinyMCE editor makes it easy to add and configure the ad shortcode
Responsive

The Shortcode
The shortcode that is added is:
[simple_text_ad]

Basic Usage Example
[simple_text_ad headline="Learn How to Leverage Email Marketing" message="Our ebook offers 47 pages of the best techniques to leverage email marketing." button_text="Download our FREE ebook" button_url="#" button_color="#FC5E18" new_tab="false"]

This will output the following HTML:

Full Simple Text Ad Settings
The full shortcode, with all the default settings looks like this:
[simple_text_ad headline="Example Headline" message="Example message." button_text="Example button text" button_url="#" button_color="#FC5E18" new_tab="false"]

headline: The headline for the ad.
message: The message for the ad.
button_text: The text for the button.
button_url: The URL for the button to open.
button_color: Set the color of the button. Accepts a HEX color code. Default is #FC5E18.
new_tab: Whether to open the button link ina new tab. Default is true.

延伸相關外掛

文章
Filter
Mastodon