跳到内容

Simple Text Ads

v1.0

exportsmedia · 2017年1月25日 上架

Add a simple text ad to your content.

正在使用
10+
评分
5.0 / 5
累计下载
2,111
最近更新
2017年1月27日
1 条评价需要 WordPress 4.6+已测试到 4.7.40

贡献者

截图

How the Simple Text Ad looks on the front end.
How the Simple Text Ad looks on the front end.
An example of the shortcode filled out and pasted within the content area.
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 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.
The modal contains all the settings the shortcode offers. Upon clicking OK the shortcode will be inserted into your content at your cursor position.

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.

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums