Single Ads
Allows you to display a single ad on the frontend.
Last updated
Allows you to display a single ad on the frontend.
Last updated
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.
Please note that the Gutenberg Block for displaying Single Ad will be deprecated soon. Refer https://docs.wpeka.com/wp-adcenter/placing-ads/placing-ad-using-consolidated-block-elementor-widget to replace the Single Ad Gutenberg block with the Consolidated Ad 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.
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.
Please note that the Elementor Widget for displaying Single Ad will be deprecated soon. Refer https://docs.wpeka.com/wp-adcenter/placing-ads/placing-ad-using-consolidated-block-elementor-widget to replace the Single Ad Elementor widget with the Consolidated Ad Elementor widget.
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.