Help - WPAdCenter
WPAdCenter 2.0.0
WPAdCenter 2.0.0
  • Introduction
  • Installation
    • Installing Free
    • Installing Pro
  • Creating Ads
    • Image Ads
    • Google Adsense Ad
    • Text Ad
    • Ad Code
    • AMP Ads
    • HTML 5 Ad
    • Video Ads
    • Additional Ad Options
  • Manage Ads
  • Manage Ad Groups
  • Placing Ads
    • Placing Ad Using Consolidated Block/Elementor Widget
    • Single Ads
    • Adgroup Ads
    • Random Ads
    • Ordered Ads (Pro)
    • Rotating Ad Group (Pro)
    • Animated Ads (Pro)
    • Place ads with Widgets for WordPress 5.8 and above
  • Reports
  • Email Reports (Pro)
  • Settings
    • General
    • Scripts
    • Integrations
    • Privacy Options
    • Advertiser's Settings (Pro)
    • Advanced (Pro)
    • Placements (Pro)
    • Link Management (Pro)
    • In-Feed Ads (Pro)
  • GA Tracking (Pro)
  • Lazy Loading (Pro)
  • Custom Ad Sizes (Pro)
  • Advertisers (Pro)
  • Packages (Pro)
  • A/B Testing (Pro)
  • Integrating MaxMind License Key
  • Affiliate Link Management (Pro)
    • Creating Affiliate Links
    • Affiliate Link Categories
    • Adding Affiliate Links on Posts/Pages
    • Bulk Import/Export Affiliate Links
    • Affiliate Link Reports
  • FAQ
  • Video Resources
Powered by GitBook
On this page

Was this helpful?

  1. Placing Ads

Single Ads

Allows you to display a single ad on the frontend.

PreviousPlacing Ad Using Consolidated Block/Elementor WidgetNextAdgroup Ads

Last updated 3 years ago

Was this helpful?

Displaying Single Ads

Display Ads using Short Code

  • Copy shortcode for the ad from the Manage Ads table.

  • Paste copied shortcode in the editor as shown in the image below.

  • Shortcode for reference : [wpadcenter_ad id=139 align='none' max_width='on' maxwidth_value=300 devices=mobile,tablet,desktop]

  • Alignment can be specified by providing the values as "left", "right", "center" or "none".

  • Max width can be set to "on" or "off".

  • Max Width Value is the value in pixels.

  • To display ads on specific devices, specify the names of devices. If the 'devices' attribute is not provided the ad will be shown on all devices.

  • After adding the shortcode, click on Publish/Update button.

Display Ads using Gutenberg Block

  • To display Ads using Gutenberg block, add the WPAdCenter Single Ads block to the editor as shown in the image below.

  • From here you can select the ad that you wish to display and specify alignment for the ad.

  • To provide maximum width for an ad, enable the Max Width option and provide a maximum width value.

  • To display ads on specific devices, select the corresponding checkboxes. The changes will take effect on the preview page or live page and not while editing.

  • Once the ad and alignment are set you can click on Publish/Update button.

Display Ads using Widgets

  • To display ads using the widget, select the WPAdCenter Single Ads widget as shown in the image below.

  • You can specify the title of the ad.

  • Select ad from the drop-down.

  • To provide maximum width for an ad, enable the Max Width option and provide a maximum width value.

  • To display ads on specific devices, select the corresponding checkboxes.

  • Click on the Save button.

Display Ads using Widget for WordPress v5.8+

Since the WordPress version 5.8 introduced "block as a widget feature", the WPAdCenter Single Ads widget has been replaced by its Gutenberg block. Please refer to screenshots below in order to place blocks in your widget area

please refer to above 'Display Ads using Gutenberg Block' for further options.

Display Ads using Elementor

  • Select WPAdCenter Single Ad widget, it is present under general widgets.

  • Here you can select the ad to be displayed from the dropdown.

  • Also, you can specify the ad alignment and preview changes in real-time.

  • To provide maximum width for an ad, enable the Max Width option and provide a maximum width value.

  • To display ads on specific devices, select the corresponding checkboxes. The changes will take effect on the preview page or live page and not while editing.

  • Click on Publish/Update button.

Please note that the Gutenberg Block for displaying Single Ad will be deprecated soon. Refer to replace the Single Ad Gutenberg block with the Consolidated Ad Gutenberg Block.

Please note that the Elementor Widget for displaying Single Ad will be deprecated soon. Refer to replace the Single Ad Elementor widget with the Consolidated Ad Elementor widget.

https://docs.wpeka.com/wp-adcenter/placing-ads/placing-ad-using-consolidated-block-elementor-widget
https://docs.wpeka.com/wp-adcenter/placing-ads/placing-ad-using-consolidated-block-elementor-widget