Ads

Ads are the actual advertisement images or codes which will be displayed to end user.

To create an ad navigate to WordPress Dashboard > WPAdCenter > Create Ad.

  • Ad Title - Specify the name for the ad.

  • Ad Type - Banner Image, External Image Link, Ad Code.

    • Banner Image - Upload the image which will be used as an ad.

    • External Image Link - Provide a link to the external image which will be rendered as an ad.

    • Ad Code - Add code from a third party as Google AdSense.

  • Image - (Available when Ad Type is Banner Image) Upload the image which will be used as an ad.

  • External Image Link - (Available when Ad Type is External Image Link) Provide a link of the external image which will be rendered as an ad.

  • Link URL - (Available when Ad Type is Banner Image or External Image Link) URL where the visitor will be taken once he/she clicks on this banner.

  • Ad Code - (Available when Ad Type is Ad Code) Input provided Ad Code from a third party like Google AdSense.

  • Open Link in New Tab - (Checkbox, Available when Ad Type is Banner Image or External Image Link) If checked provided link URL will be opened in a new tab.

  • Use Nofollow on Link - (Checkbox, Available when Ad Type is Banner Image or External Image Link) If checked Nofollow attribute is used to links so search engines don't index them.

  • Ad Groups - Select Ad Group for the ad.

  • Ad Expiration Date - click on the Edit link under the publish meta box to expand it, from there "start date" and "end date" can be specified for an ad as shown in the image below.

Once all changes are confirmed click on the Publish button. To view all the ads that are created, navigate to WordPress Dashboard > WPAdCenter > Manage Ads.

  • Ad Title - Name of the ad.

  • Ad Type - Specifies the type of ad.

  • Ad Dimensions - Dimensions of the ad.

  • Ad Group - Name of the ad groups to which ad belongs.

  • Shortcode - Shortcode can be copied by clicking on it and it can then be added inside the editor to display ads.

  • Template Tag - Template tags can be used to display ads dynamically on your website.

  • Stats for Today - Here ad statistics are shown such as clicks and views on the ad.

  • Start Date - Starting date of the ad.

  • End Date - End date on which ad expires.

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 : [wpadcenterad id=215 align='none' max_width='on' maxwidth_value=300]

  • 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.

  • 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 a maximum width for ad, enable Max Width option and provide maximum width value.

  • 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 a maximum width for ad, enable Max Width option and provide maximum width value.

  • Click on the Save button.

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 a maximum width for ad, enable Max Width option and provide maximum width value.

  • Click on Publish/Update button.

‚Äč