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

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:

<aside class="sta-ad sta-ad-1">
    <header>
        <h1>Learn How to Leverage Email Marketing</h1>
    </header>
    <article>
        <p>Our ebook offers 47 pages of the best techniques to leverage email marketing.</p>
    </article>
    <footer>
        <a href="#">Download our FREE ebook</a>
    </footer>
</aside>

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.

螢幕擷圖

  • How the Simple Text Ad looks on the front end.
  • An example of the shortcode filled out and pasted within the content area.
  • The plugin adds a TinyMCE button that says AD. Clicking this will bring up a modal to help easily fill out the settings.
  • The modal contains all the settings the shortcode offers. Upon clicking OK the shortcode will be inserted into your content at your cursor position.

安裝方式

  1. Upload the plugin files to the /wp-content/plugins/plugin-name directory, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the ‘Plugins’ screen in WordPress
  3. Use the TinyMCE button in the Visual Editor to create the shortcode, or paste the shortcode in your Post/Page content.

常見問題集

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.

使用者評論

2017 年 1 月 27 日
finally I have a really simple way of creating a nice quick call-to-action in every single one of my blogs and pages. Easy and simple. Thanks!
閱讀全部 1 則使用者評論

參與者及開發者

以下人員參與了開源軟體〈Simple Text Ads〉的開發相關工作。

參與者

將〈Simple Text Ads〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

1.0

  • Initial Release