跳到内容

WP AdPosts by Kader Bouyakoub

v1.3.0

Kader Bouyakoub · 2018年3月5日 上架

Easy ads creation and management using images or codes. display your ads anywhere, automatically or using shortcodes, with views and clicks counters.

正在使用
10+
评分
暂无
累计下载
1,621
最近更新
2018年3月7日
需要 WordPress 4.6+已测试到 4.9.36PHP 5.2.4+

截图

After activation, you will see the plugin menu item on your dashboard.
After activation, you will see the plugin menu item on your dashboard.
On your settings page, make sure to select only desired ads sizes to avoid creating multiple useless thumbnails for uploaded ads images.
On your settings page, make sure to select only desired ads sizes to avoid creating multiple useless thumbnails for uploaded ads images.
This is where you can manage your ads locations, or as some like to call them "sizes limitations".
This is where you can manage your ads locations, or as some like to call them "sizes limitations".
Creating ads is as easy as creating WordPress posts or pages.
Creating ads is as easy as creating WordPress posts or pages.
On the ads management page, you can track your ads views (displays) and clicks.
On the ads management page, you can track your ads views (displays) and clicks.
An example of displayed automatic ads or using shortcodes (within the blog post).
An example of displayed automatic ads or using shortcodes (within the blog post).

WP AdPosts plugin allows you to create ads using codes or images and provides views and clicks counters, as well as locations management. You can even use the provided shortcode to insert ads into posts and pages.

Manage Ads

You have two ways of creating ads:

  • By uploading featured images only and provided ads links.
  • By pasting ads codes (JavaScript) or full HTML.

Note: If you use full HTML, it is better to enter your ads links into the “Ad Link” field.

In order to display an ad on your front-end, you can use the provided php function on your theme’s files like so:

Location here stands for the created location’s slug. So if you created a Header location, it may have the header slug, so you do:

WP AdPosts enabled shortcodes on text widgets, so you can as well use a text widget in which you can use this provided shortcode like so:
[wp-adposts location=”header”]

Using the location, as an argument for the function or an attribute for the shortcode, will display a single randomly picked ad to which it was assigned.

As of version 1.3.0, it is possible to display a specific ad by its ID, passed to the php function in your theme’s files like so:

Or used as shortcode attributes like the example below:
[wp-adposts ad=”123″]

THINGS YOU SHOULD KNOW:

  • To display an ad by its ID, make sure to assign a location to it in order to display it with the selected dimensions. Ads with no locations assigned will not be displayed.
  • Priority is to ad ID. So if you use both attributes in the shortcode, the ad will be used. If the ad is not found, even if the location exists and has ads assign to it, nothing will be displayed.

Manage Locations

They are much more like “sizes” limitations. A location can have a specified ads sizes so that ads will be contained in them. For instance, if a location has 728 pixles by 90 pixels (728×90), anything that is beyond that is simply hidden.

Views and Clicks Counters

You will see on ads management page views and clicks counters. These are useful to keep an eye on your ads.

Plums

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

导航

说明

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

© 2026 Plums