Adgroup Ads
It helps you to display multiple ads together on the frontend.

Displaying Ad Groups

Display Ads using Short Code

  • Copy Short Code from the Manage Ad Groups table.
  • Past copied shortcode in the editor as shown in the image below.
  • Shortcode for reference : [wpadcenter_adgroup adgroup_ids=5 align='none' num_ads=1 num_columns=1 max_width="on" max_width_value=300 devices=mobile,tablet,desktop]
  • Here you can provide the alignment options as "left", "right", "center" or "none".
  • Specify the number of ads to be displayed.
  • Also, you can specify the number of columns.
  • Max width can be set to "on" or "off".
  • Max Width Value is the value in pixels.
  • Click on Publish/Update button.

Display Ads using Widgets.

  • To display ad groups using widgets, select the WPAdCenter Ad Group widget as shown in the image below.
  • From here you can specify a title for the grouped ads.
  • Select the ad groups that you wish to display, you can also select multiple ad groups.
  • Specify the number of ads.
  • Specify the number of columns.
  • Choose an alignment for the ads to be displayed.
  • 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 Elementor

Please note that the Elementor Widget for displaying Grouped Ads will be deprecated soon. Refer https://docs.wpeka.com/wp-adcenter/placing-ads/placing-ad-using-consolidated-block-elementor-widget to replace the Grouped Ads Elementor widget with the Consolidated Ad Elementor widget.
  • Select WPAdCenter Grouped Ads widget, it is present under general widgets.
  • From here you can select the ad groups to be displayed.
  • Select the number of ads.
  • Select number of Columns.
  • Specify the alignment for the ads.
  • 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.

Display Ads using Gutenberg block

Please note that the Gutenberg Block for displaying Grouped Ads will be deprecated soon. Refer https://docs.wpeka.com/wp-adcenter/placing-ads/placing-ad-using-consolidated-block-elementor-widget to replace the Grouped Ads Gutenberg block with the Consolidated Ad Gutenberg Block.
  • To display ad groups using Gutenberg block add WPAdCenter Grouped Ads block to the editor as shown in the image below.
  • From here you can select single/multiple Ad Groups to be displayed.
  • Also, select the alignment for the Ad Groups.
  • Specify the number of Ads to be displayed
  • Specify the number of columns to be displayed in the front-end.
  • 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.
Copy link